🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99067

terminfo handling and ``xt'' termcap capability

#99067
From: Kayvan Sylvan
Date: Sun, 09 Dec 1990 09:45
34 lines
1795 bytes
In GNU Emacs 18.55.32 of Sun Dec  9 1990 on satyr (usg-unix-v)

My usg-unix-v is ESIX 5.3.2 D.

The Emacs code for term.c says:

      MagicWrap = tgetflag ("xn");
      TF_xs = tgetflag ("xs");
      TF_teleray = tgetflag ("xt");

    /* ... */

      if (TF_teleray)
	{
	  Wcm.cm_tab = 0;
	  /* Teleray: most programs want a space in front of TS_standout_mode,
	       but Emacs can do without it (and give one extra column).  */
	  TS_standout_mode = "\033RD";

    /* ... */

Basically, if the ``xt'' capability exists, we have a hardcoded
TS_standout_mode string "\033RD" that works on a teleray(!?). The
TERMINFO description of the ``xt'' boolean is:

There are some terminals in my TERMINFO database that have the ``xt''
flag set and for whom "\033RD" does not do the begin-standout-mode
sequence. Is this a bug in Emacs or my Terminal description file?

			---Kayvan

| Kayvan Sylvan       Unix/C, GNU tools   879 Lewiston Drive   408-978-1407  |
| Sylvan Associates   GUIs, Databases     San Jose, CA 95136   I Love Tigger |
|                     Networking          apple!satyr!kayvan   I Love Kathy  |
Technical Details
Message-ID: <m0iiNba-00083GC@satyr.uucp>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!EDDIE.MIT.EDU!think!satyr!kayvan

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,b4ff585f1120fe79,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-12-09 01:45:00 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!EDDIE.MIT.EDU!think!satyr!kayvan
From: think!satyr!kayvan@EDDIE.MIT.EDU (Kayvan Sylvan)
Newsgroups: gnu.emacs.bug
Subject: terminfo handling and ``xt'' termcap capability
Message-ID: <m0iiNba-00083GC@satyr.uucp>
Date: 9 Dec 90 09:45:00 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 34
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Sun Dec  9 10:45:00 1990