Transcript
X-term Tutorial
1
R.I.T
Digital Imaging and Remote Sensing Laboratory
Setting the Terminal Icon to xterm
2
R.I.T
Digital Imaging and Remote Sensing Laboratory
Outline • • • • •
What is xterm? Why do we need to be familiar with xterm? Starting xterm Mouse Button Issues Cutting and Pasting
3
R.I.T
Digital Imaging and Remote Sensing Laboratory
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 4
R.I.T
Digital Imaging and Remote Sensing Laboratory
Starting xterm • Xterm is usually one of the first X-clients started when your X-window manager starts
5
R.I.T
Digital Imaging and Remote Sensing Laboratory
Xterm can be started from a menu
6
R.I.T
Digital Imaging and Remote Sensing Laboratory
Xterm can be started through spawning
7
R.I.T
Digital Imaging and Remote Sensing Laboratory
Xterm titles and ornamentation
8
R.I.T
Digital Imaging and Remote Sensing Laboratory
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)
9
R.I.T
Digital Imaging and Remote Sensing Laboratory
Xterm controls (Ctrl-left mouse button)
10
R.I.T
Digital Imaging and Remote Sensing Laboratory
Xterm controls (Ctrl-middle mouse button)
11
R.I.T
Digital Imaging and Remote Sensing Laboratory
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
12
R.I.T
Digital Imaging and Remote Sensing Laboratory
Xterm controls (Ctrl-right mouse button)
13
R.I.T
Digital Imaging and Remote Sensing Laboratory
Cutting and Pasting of text information • Selecting text – Word – Whole or partial lines – Multiple lines
• Pasting text
14
R.I.T
Digital Imaging and Remote Sensing Laboratory
Selecting a word • Left mouse button double clicking – Selects a word
15
R.I.T
Digital Imaging and Remote Sensing Laboratory
Selecting text by dragging • Left mouse button drag – Selects text in the “drag” area
16
R.I.T
Digital Imaging and Remote Sensing Laboratory
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
17
R.I.T
Digital Imaging and Remote Sensing Laboratory
Pasting Text • Middle mouse button click – Pastes text at cursor location
18
R.I.T
Digital Imaging and Remote Sensing Laboratory
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
19
R.I.T
Digital Imaging and Remote Sensing Laboratory