Set_termcap(1L) — UNKNOWN SECTION OF THE MANUAL
NAME
set_termcap, set_emacs − set an appropriate TERMCAP entry for MGR.
SYNOPSIS
eval ‘set_termcap [ -b ]‘
DESCRIPTION
Set_termcap Prints on stdout the shell commands required to set the TERMCAP environment variable appropriately for the current window size on a mgr terminal. Set_termcap looks at the SHELL environment variable to decide what shell commands are appropriate. the command eval ‘set_termcap‘ sets the TERM and TERMCAP environment variables appropriately.
Set_emacs optimizes the termcap entry for GNU-emacs, which knows how to deal with scrolling regions and multiple line inserts and deletes, whereas set_termcap keeps vi happy.
BUGS
csh usrs need to use: set noglob; eval ‘set_termcap‘ to keep the shell from getting confused.
SEE ALSO
AUTHOR
S. A. Uhler
Sun Release 3.5 — Last change: April 30, 1985