Tiny build has more builtin terminals than Normal

15 views
Skip to first unread message

Tony Mechelynck

unread,
Aug 4, 2020, 10:33:38 AM8/4/20
to vim_dev
According to ":h +builtin_terms", there are no builtin terminals in
Tiny or Small (I think this is a documentation error), some in Normal,
and all in Big and Huge. The following, however, is what ":set
term=xxx" gives me in Console mode in each build:

Tiny with no GUI:
builtin_ansi
builtin_xterm
builtin_iris-ansi
builtin_dumb

Small with Motif GUI:
builtin_gui
builtin_ansi
builtin_xterm
builtin_iris-ansi
builtin_dumb

Normal with GTK3 GUI:
builtin_gui
builtin_ansi
builtin_xterm
builtin_iris-ansi
but for some reason not builtin_dumb

Big with GTK3 GUI, compiled with -terminal:
Huge with GTK3 GUI, compiled with +terminal: both say:
builtin_gui
builtin_amiga
builtin_ansi
builtin_pcansi
builtin_win32
builtin_vt320
builtin_vt52
builtin_xterm
builtin_iris-ansi
builtin_debug
Neither here is there builtin_dumb. Trying to set it works however
(and is ugly but that was to be expected).

Best regards,
Tony.

Bram Moolenaar

unread,
Aug 4, 2020, 2:01:09 PM8/4/20
to vim...@googlegroups.com, Tony Mechelynck
Do you perhaps have 'cmdheight' set to 2? These messages are written
with printf(), the following error is written in another way, and
because of the terminal being invalid at the time, the cursor is
repositioned. I can fix that.

--
"A clear conscience is usually the sign of a bad memory."
-- Steven Wright

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

Tony Mechelynck

unread,
Aug 4, 2020, 8:50:57 PM8/4/20
to Bram Moolenaar, vim_dev
Yes indeed, I have 'cmdheight' set to 2, but not in Tiny and Small
because it's in an :if statement (which they treat as nestable
comment), as follows:

if exists('+cmdheight') && (&ch < 2)
set ch=2
endif

Thanks! I had no idea that _that_ was the problem.

Best regards,
Tony.
Reply all
Reply to author
Forward
0 new messages