Prev | Current Page 187 | Next

Chris Tyler

"X Power Tools"

64, the value vt102
or ansi is sometimes used).
In addition to the ASCII-based terminal emulators discussed here,
most X installations also include x3270, which is an IBM EBCDICbased
terminal emulator that is used with mainframes. Another common
emulation is IBM 5250, which is also EBCDIC-based and is used
with IBM i-Series systems (formerly AS/400s).
As shown in Table 7-1, xterm, konsole, and gnome-terminal have similar commandline
options to set the terminal window name, the TERM variable value, and the program
to be executed on the terminal-interface side (the default is the $SHELL). These
programs may be extensively customized using resources (in the case of xterm) or
named settings profiles (in the case of gnome-terminal and konsole).
Table 7-1. Basic command-line options for common terminal emulators
Description xterm gnome-terminal konsole
Program to be executed -e -e -e
Window title -T -t -T
TERM environment variable value -tn value (TERM value is
always xterm)
--tn value
7.4
7.4 Split Personality: Running Nongraphical Applications 117
These three commands all run vi in a terminal window with the title set to Vi Editor:
$ xterm -T "Vi Editor" -e vi
$ gnome-terminal -t "Vi Editor" -e vi
$ konsole -T "Vi Editor" -e vi
Note that the window title can be changed by emitting a control code sequence.


Pages:
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
Dyskusja Nr1 imprezy integracyjne dla firm Everest Poker zarządzanie produkcją Projekty domów