CURSE
Section: User Commands (1)
Updated: 14 November 1986
Index
Return to Main Contents
NAME
kurses - screen functions
SYNOPSIS
kurses
[ options ] [ text ] ...
DESCRIPTION
This command gives the user a method of updating the screen from a shell.
The options are two letter variable names from (the Berkeley version of)
curses.h
as detailed in Appendix A of
Screen Updating and Cursor Movement Optimization: A Library Package.
All the
char*
type variables are included. In addition, two numeric options
(-li and -co) are recognized, so you can adapt your work to any
screen shape size.
Some commonly used options are:
- -cd
-
Clear to end of Display.
- -ce
-
Clear to End of line.
- -cl
-
CLear screen.
This is exactly like the
clear
command.
- -cm
-
Cursor Motion.
This takes the next two numerical arguments on the command line to be the
x
and
y
coordinates of the desired position of the cursor from the
home
position
(0,0)
at the top lefthand corner of the screen.
- -ho
-
HOme cursor.
This moves the cursor to the top lefthand corner of the screen.
This is equivalent to
-cm 0 0.
- -ll
-
Last Line.
This moves the cursor to the bottom lefthand corner of the screen.
This is equivalent to
-cm 0 23
on a standard 24 line screen.
- -se
-
Standout End (may leave space).
- -so
-
Stand Out begin (may leave space).
This normally produces reverse video but depends on the terminal's
capabilities.
- -ue
-
Underline Ending sequence.
- -us
-
Underline Starting sequence.
- -xx
-
Prints all allowable options.
The options may be given in upper or lower case.
Letters after the first two characters are ignored
(e.g.
-clear
may be used instead of
-cl
).
Any arguments not starting with a `-' are treated as text and are
printed at the current cursor position in the current style
(e.g. standout mode).
For example, to print a message in standout mode at the center of a
standard 80 by 24 character screen and leave the cursor at the bottom
of the screen, the following sequence could be used:
kurses -cl -cm 34 11 -so 'Long Live UNIX' -se -ll
SEE ALSO
Screen Updating and Cursor Movement Optimization: A Library Package,
Ken Arnold,
clear(1) or tput(1),
curses(3x),
termcap(5) or terminfo(5)
AUTHORS
Jonathan Bowen, PRG, Oxford, England
Marc Ries, TRW, California
BUGS
Some options will only work if the corresponding
termcap
(if compiled for curses) or
terminfo
(if compiled for terminfo)
entry has been set for the terminal in use (e.g. standout mode).
Cursor motion may not work on some terminals.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- AUTHORS
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 06:29:06 GMT, December 12, 2024