TIP: Click on subject to list as thread! ANSI
echo: cis.languages
to: Ken Drexler 75126,3427
from: Pete Lyall 76703,4230
date: 1991-03-18 11:23:49
subject: #9837-termcap.l docs?

#: 9855 S3/Languages
    18-Mar-91  11:23:49
Sb: #9837-termcap.l docs?
Fm: Pete Lyall 76703,4230
To: Ken Drexler 75126,3427

Ken -

As far as the termcap.l stuff, the biggest thing that changes is that if you
don't allocate a buffer for the tgetent() function, you may use a NULL and a
buffer will be auto-allocated for you. I used it this way for convenience, but
there may be some memory allocation bugs. Simmy Turner took to just allocating
the buffers manually.

As far as the ttytype file, see the 'update' command, if it's here. My 6809
stuff is offline, but I could get to it if you have no other paths.
Essentially, the ttytype file looks like this:

  [+|-|@]devname crttype

There may be multiple lines, one per device. The syntax is:

  + = enabled local terminal
  @ = enabled modem based terminal
  - = disabled terminal

..WHOOPS! I just realized I'm combining two descriptions here! One is the
'ttylist' file associated with Mtsmon, and the other is ttytype.. sorry! The
layout is just:

 /devname  crt_type
 /t2 vt100
 /w1 coco3
 /t3 wyse50

etc.

The file may be in /dd/sys or /r0/sys (latter is faster), and is manipulated
with a utility I called 'ttyset', which should be in DL9.

Sorry about the confusion, and toggle me if you need to be further confused!

Pete

SOURCE: compuserve via textfiles.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.