NAME gr - select PseudoGraphics
terminal type
SYNOPSIS gr
[terminal_name]
[character_set]
DESCRIPTION C-PLOT needs to know
the terminal in use and, when appropriate, the alternative
character set, to draw PseudoGraphics plots and erase the screen.
It normally obtains the terminal name from the environment
exported by the shell, and you won't need to use this command.
However, if the name from the environment is wrong or absent, you
can use gr to set the terminal type from within the
plot program. You also can use the gr command to
select a PseudoGraphics character set independently of the
terminal type.
The terminal_name option determines which
control codes to send to the terminal to erase the screen and
position the cursor for drawing PseudoGraphics. The
character_set option determines which
characters to use for drawing the PseudoGraphics axes and points.
For some of the more common terminal types, the terminal name and
character-set name are the same.
Without an argument, gr lists the names
associated with each of the built-in PseudoGraphics character
sets, prints the current terminal name and character-set name and
prompts you for new names. You can keep the current names by
entering <return>. Entering one name (or one
argument after gr selects a new terminal type. If
the name matches one of the character sets, that set is selected
also. If you enter a second name (or argument), and it is a
valid character-set name, that set is selected. An invalid name
selects the dumb set.
Refer to Appendix A in the C-PLOT manual for
details on PseudoGraphics implementation, including a list of
valid character_set names. Valid terminal names are system
dependent. They are usually in the file /etc/termcap. On
System V installations, look in the subdirectories of
/usr/lib/terminfo.
EXAMPLE gr vt100 plot0
SEE ALSO
v
... Meeting the software needs of scientists since 1985 ...
Last Formatted Jan 24, 2012
Last Updated 09/13/95
Send comments, queries, suggestions to
info@certif.com
© 1995-2000 Certified Scientific Software. All rights reserved
|