[gnu.emacs] termcap

CARL%SCU.BITNET@MITVMA.MIT.EDU (CARL FUSSELL) (12/07/89)

Has anyone done a VT300 series terminal entry for termcap.dat?  I tried
putting one into termcap.dat, but I keep getting a message about
my terminal not being recognized when emacs starts up.  I put a VT102
entry into it some time ago and that worked so I tho't I understood what
was involved.  I am running version 18.53 on a VMS 5.2 system if that
matters.   Any pointers or suggestions would be greatly appreciated.

Carl Fussell
Santa Clara Univ
CARL@SCU.BITNET

ps.  I do know about defining the logical emacs_term and tried that.  But
     it still didn't recognize the terminal.  I even tried defining the
     logical to vt102 just to see if it would recognize *something*, but
     to no avail.   Yet if I set my terminal type in VMS to /dev=vt102,
     emacs recognizes me just fine.   I would prefer not having to switch
     back and forth if I can avoid it.   Thanks again.

jym@APPLE.COM (12/07/89)

Get on a VT300_Series terminal and run the following program:

main()
{
  printf("%s\n",getenv("TERM"));
}

The output will be "undefined."  Since Emacs calls getenv("TERM"),
 it looks for a termcap entry named "undefined."  The solution is
  to put "undefined" in as one of the terminal names in the the
   termcap capability entry in TERMCAP.DAT.  Kludge city.

The problem is that the VAXCRTL isn't up-to-date with the rest of
 the system.  It's also generally incompatible with DEC/Shell,
  which determines the TERM variable a different way . . . usually
   dumber (i.e., "vt100" rather than "vt100-80") but in this case
    smarter (i.e., "vt300").

CAVEAT:  This is true for VMS V5.1, but I'm not running VMS V5.2
 yet.  However, the release notes for V5.2 don't mention any fixes
  to this part of the VAXCRTL.
::::.-----.:::::<_Jym_>:::::::::::::::::::::::::::::::::::::::::::
:::/   |   \::::.-----.:::::::::::::::: Jym Dyer :::::::::::::::::
::/    |    \::/  o o  \::::::::::::: jym@nli.com ::::::::::::::::
::\   /|\   /::\ \___/ /:::::::::: Natural Language Inc. :::::::::
:::\ / | \ /::::`-----':::::::::: Berserkeley, California ::::::::
::::`-----':::::::::::::::::::::::::::::::::::::::::::::::::::::::