Set_termcap
Section: Misc. Reference Manual Pages (1L)
Updated: April 30, 1985
Index
Return to Main Contents
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
csh(1)
mgr(1L)
sh(1)
AUTHOR
S. A. Uhler
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- BUGS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 09:00:50 GMT, February 14, 2025