Prev | Current Page 184 | Next

Chris Tyler

"X Power Tools"


These commands all open up a 25-line, 80-character-wide terminal window, located
100 pixels below the top of the screen and 50 pixels to the right of the left edge of the
screen:
$ gnome-terminal --geometry 80x25+50+100 # GTK+
$ konsole -geometry 660x475+50+100 # Qt
$ xterm -geometry 80x25+50+100 # Xt
Notice that the konsole size is specified in pixels, which the xterm and gnometerminal
sizes are specified in characters.
7.4 Split Personality: Running Nongraphical
Applications
From before X was released up to a few years ago, character terminals were in widespread
use. These devices had a character-only display, typically 80 columns wide by
24 or 25 rows high, and a keyboard. Each model of terminal varied in its display
capabilities??”some had color, some offered varying font sizes for 132- and 40-
column display modes, and some could draw underlined and bold text??”and in its
keyboard layout. These terminals were typically connected to the host computer
through a serial cable, which required as little as 3 wires and could be over 100
meters long (300 foot). Modems, designed to work with serial interfaces, could be
used to extend this distance over the dial-up telephone network.


Pages:
172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
Smak słów projektanci wnętrz serwery Live 99 wentylatory