180 likes | 237 Views
X-term Tutorial. Outline. What is xterm? Why do we need to be familiar with xterm? Starting xterm Mouse Button Issues Cutting and Pasting. What is xterm?. Xterm is an X-client program working under the X-windows system
E N D
Outline • What is xterm? • Why do we need to be familiar with xterm? • Starting xterm • Mouse Button Issues • Cutting and Pasting
What is xterm? • Xterm is an X-client program working under the X-windows system • An X-windows client is any program running under the X-window graphical user interface system • xterm provides a command line interface into a UNIX system • Xterm is the preferred command line interface because it is distributed with all X-windows system
Starting xterm • Xterm is usually one of the first X-clients started when your X-window manager starts
Mouse Button Issues • X-window system assume a 3-button mouse system • Behavior of each of the buttons can be reconfigured by the user • In general, we will use the defaults • In emulating systems that have less than 3 buttons • 3rd button may be simulated by clicking two buttons simultaneously (2-button system) • Two other buttons may be simulated by clicking button while holding different keys down (1-button system)
Useful VT Options • Enable Scroll Bar • Allows you to scroll back to look at saved text information • Useful for cutting and pasting information that has scrolled off the screen • Enable Reverse Wraparound • Allows the proper positioning of cursor when deleting text on command line that has wrapped around
Cutting and Pasting of text information • Selecting text • Word • Whole or partial lines • Multiple lines • Pasting text
Selecting a word • Left mouse button double clicking • Selects a word
Selecting text by dragging • Left mouse button drag • Selects text in the “drag” area
Selecting text by specifying start and stop locations • Left mouse button click at starting text position followed by a right button mouse click at ending text position • Selects text region between starting and ending text points
Pasting Text • Middle mouse button click • Pastes text at cursor location
Other issues • These actions of cutting and pasting works for most X-client programs under UNIX • Stick to xterm as your main port into UNIX and you will have little problems migrating from one UNIX platform to another