l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Dec 09 20:56

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Xterm and terminal types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Xterm and terminal types

Looks like you won't have any issue.  My distribution, and probably the
one you'll be isntalling on your sister's systems, already has "scoansi"
terminfo at the following location:


To use this terminfo, simply set the environment variable TERM (in Bourne
Shell, or "term" in CSH) to "scoansi".

FYI, both termcap and terminfo describes the sequence of characters a
program sends to stdout to control various behaviors of the terminal.
There are character sequences (usually beginning with <esc>) for clearing
the screen, moving the cursor, bolding the text, etc.  UNIX, since it's so
flexible, can handle multiple types, as long as you tell it what terminal
type is in use.

Termcap is the old way of doing things, and all the termal character
sequence information was all stored in /etc/termcap in plain ASCII.
Terminfo is the new way of doing things, and the binary file describing
each terminal character sequence is stored in one file per terminal type
in /usr/share/terminfo (or /etc/terminfo, and other places the system has
designated.)  Linux will work with either (I suppose preferring terminfo,
then falling back on termcap if terminfo for the specified terminal isn't

Printer filter data files look very much like the old /etc/termcap file,
since the principle of bolding text and things like that is same.  I
imagine the newer printer filter data files look more like the new
terminfo file format.

There is a pair of programs for converting data from terminfo to termcap
format and vice-versa.  Look at man pages for `captoinfo` and `infotocap`.


On Thu, 9 Dec 2004, Rod Roark wrote:

> So, the good news is that my sister, an MD in Tennessee,
> wants me to switch most of the computers in her clinic from
> Windows to Linux.
> They have a practice management system running on an SCO
> server (yeah, I know...) and it seems the clients currently
> connect to it via telnet with a Windows terminal emulation
> program.  I'm told by the vendor that the terminal program
> needs to support "SCO ANSI" as the terminal type.
> The upgraded clients will run KDE, so the obvious terminal
> program is Konsole; I think it works a lot like xterm and
> may even be based on it.
> Anyway, I don't really understand all the nuances of termcap,
> terminfo, setterm, stty, etc. and what, if anything I might
> need to do to make the terminal emulation work properly.
> I did some googling but it was not very helpful.
> Does anyone understand this stuff enough to enlighten me?
> Thanks,
> -- Rod
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.php?uid=13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E  5167 6822 94F0 F298 5DCE
PGP key available on the homepage
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.