screen-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[screen-devel] [bug #54556] screen is producing invalid TERMCAPs


From: Scott Shambarger
Subject: [screen-devel] [bug #54556] screen is producing invalid TERMCAPs
Date: Tue, 22 Jan 2019 12:58:28 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #4, bug #54556 (project screen):

I don't think this affects ncurses6... 

If I use the "too-long" TERMCAP below, and edit the terminal-name to something
that doesn't have a terminfo entry (say, "yterm"), set TERM=yterm, and then
run some apps...

ncurses6 emacs:

emacs: Terminal type yterm is not defined.
If that is not the actual type of terminal you have,
use the Bourne shell command 'TERM=...; export TERM' (C-shell:
'setenv TERM ...') to specify the correct type.  It may be necessary
to do 'unset TERMINFO' (C-shell: 'unsetenv TERMINFO') as well.

ncurses5.4 emacs (/usr/bin/emacs shipped with OSX 10.13):

"TERMCAP", line 1, col 1, terminal 'SC': Missing separator

I'm guessing ncurses6 typically doesn't have a fallback to TERMCAP, but older
versions (at least as configured on OSX), do.

If you have a terminfo entry for TERM, then that is used in both cases, and
TERMCAP is ignored - and so you won't see an error (screen.xterm-256color
isn't in the ncurses5 terminfo database on OSX though...)



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?54556>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]