X-term Tutorial
Setting the Terminal Icon to xterm
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
Xterm can be started from a menu
Xterm can be started through spawning
Xterm titles and ornamentation
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)
Xterm controls (Ctrl-left mouse button)
Xterm controls (Ctrl-middle mouse button)
Useful VT Options Enable Scroll Bar Enable Reverse Wraparound 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
Xterm controls (Ctrl-right mouse button)
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