Xterm Tutorial 1 R I T Digital Imaging

  • Slides: 18
Download presentation
X-term Tutorial 1 R. I. T Digital Imaging and Remote Sensing Laboratory

X-term Tutorial 1 R. I. T Digital Imaging and Remote Sensing Laboratory

Outline • • • What is xterm? Why do we need to be familiar

Outline • • • What is xterm? Why do we need to be familiar with xterm? Starting xterm Mouse Button Issues Cutting and Pasting 2 R. I. T Digital Imaging and Remote Sensing Laboratory

What is xterm? • Xterm is an X-client program working under the X-windows system

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 3 R. I. T Digital Imaging and Remote Sensing Laboratory

Starting xterm • Xterm is usually one of the first X-clients started when your

Starting xterm • Xterm is usually one of the first X-clients started when your X-window manager starts 4 R. I. T Digital Imaging and Remote Sensing Laboratory

Xterm can be started from a menu 5 R. I. T Digital Imaging and

Xterm can be started from a menu 5 R. I. T Digital Imaging and Remote Sensing Laboratory

Xterm can be started through spawning 6 R. I. T Digital Imaging and Remote

Xterm can be started through spawning 6 R. I. T Digital Imaging and Remote Sensing Laboratory

Xterm titles and ornamentation 7 R. I. T Digital Imaging and Remote Sensing Laboratory

Xterm titles and ornamentation 7 R. I. T Digital Imaging and Remote Sensing Laboratory

Mouse Button Issues • X-window system assume a 3 -button mouse system • Behavior

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 8 – 3 rd 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) R. I. T Digital Imaging and Remote Sensing Laboratory

Xterm controls (Ctrl-left mouse button) 9 R. I. T Digital Imaging and Remote Sensing

Xterm controls (Ctrl-left mouse button) 9 R. I. T Digital Imaging and Remote Sensing Laboratory

Xterm controls (Ctrl-middle mouse button) 10 R. I. T Digital Imaging and Remote Sensing

Xterm controls (Ctrl-middle mouse button) 10 R. I. T Digital Imaging and Remote Sensing Laboratory

Useful VT Options • Enable Scroll Bar – Allows you to scroll back to

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 11 R. I. T Digital Imaging and Remote Sensing Laboratory

Xterm controls (Ctrl-right mouse button) 12 R. I. T Digital Imaging and Remote Sensing

Xterm controls (Ctrl-right mouse button) 12 R. I. T Digital Imaging and Remote Sensing Laboratory

Cutting and Pasting of text information • Selecting text – Word – Whole or

Cutting and Pasting of text information • Selecting text – Word – Whole or partial lines – Multiple lines • Pasting text 13 R. I. T Digital Imaging and Remote Sensing Laboratory

Selecting a word • Left mouse button double clicking – Selects a word 14

Selecting a word • Left mouse button double clicking – Selects a word 14 R. I. T Digital Imaging and Remote Sensing Laboratory

Selecting text by dragging • Left mouse button drag – Selects text in the

Selecting text by dragging • Left mouse button drag – Selects text in the “drag” area 15 R. I. T Digital Imaging and Remote Sensing Laboratory

Selecting text by specifying start and stop locations • Left mouse button click at

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 16 R. I. T Digital Imaging and Remote Sensing Laboratory

Pasting Text • Middle mouse button click – Pastes text at cursor location 17

Pasting Text • Middle mouse button click – Pastes text at cursor location 17 R. I. T Digital Imaging and Remote Sensing Laboratory

Other issues • These actions of cutting and pasting works for most X-client programs

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 18 R. I. T Digital Imaging and Remote Sensing Laboratory