On Wed, 20 Oct 1999, Mel wrote:
> To follow on, where is there a full list of terminal escape sequences?
> Things like clear screen, delete current line and put cursor to start etc
>Depends on the terminal. Is it a vt100, a Wyse50, an Altos II a vt52,
an adm3a, etc. etc.?
One way of finding out the sequences for different kinds of terminal is to
consult the terminfo(5) or termcap(5) databases. If you want to do things like
clear the screen or address the cursor in a script, use tput(1), which uses
terminfo(5) capability nomenclature. For C programs use curses(3).
--
-- Harry Moreau -------------
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!