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

X-term Tutorial

  • Upload
    tola

  • View
    33

  • Download
    0

Embed Size (px)

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

Page 1: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

11

X-term TutorialX-term Tutorial

Page 2: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

22

OutlineOutline

• What is xterm?What is xterm?• Why do we need to be familiar with xterm?Why do we need to be familiar with xterm?• Starting xtermStarting xterm• Mouse Button IssuesMouse Button Issues• Cutting and PastingCutting and Pasting

Page 3: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

33

What is xterm?What is xterm?

• Xterm is an X-client program working under Xterm is an X-client program working under the X-windows systemthe X-windows system– An X-windows client is any program running under An X-windows client is any program running under

the X-window graphical user interface systemthe X-window graphical user interface system• xterm provides a command line interface into xterm provides a command line interface into

a UNIX systema UNIX system• Xterm is the preferred command line interface Xterm is the preferred command line interface

because it is distributed with all X-windows because it is distributed with all X-windows systemsystem

Page 4: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

44

Starting xtermStarting xterm

• Xterm is usually one of the first X-clients Xterm is usually one of the first X-clients started when your X-window manager startsstarted when your X-window manager starts

Page 5: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

55

Xterm can be started from a Xterm can be started from a menumenu

Page 6: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

66

Xterm can be started through Xterm can be started through spawningspawning

Page 7: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

77

Xterm titles and ornamentationXterm titles and ornamentation

Page 8: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

88

Mouse Button IssuesMouse Button Issues

• X-window system assume a 3-button mouse X-window system assume a 3-button mouse systemsystem

• Behavior of each of the buttons can be Behavior of each of the buttons can be reconfigured by the userreconfigured by the user– In general, we will use the defaultsIn general, we will use the defaults

• In emulating systems that have less than 3 In emulating systems that have less than 3 buttonsbuttons– 33rdrd button may be simulated by clicking two buttons button may be simulated by clicking two buttons

simultaneously (2-button system)simultaneously (2-button system)– Two other buttons may be simulated by clicking Two other buttons may be simulated by clicking

button while holding different keys down (1-button button while holding different keys down (1-button system)system)

Page 9: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

99

Xterm controlsXterm controls(Ctrl-left mouse button)(Ctrl-left mouse button)

Page 10: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1010

Xterm controlsXterm controls(Ctrl-middle mouse button)(Ctrl-middle mouse button)

Page 11: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1111

Useful VT OptionsUseful VT Options

• Enable Scroll BarEnable Scroll Bar– Allows you to scroll back to look at saved text Allows you to scroll back to look at saved text

informationinformation– Useful for cutting and pasting information that has Useful for cutting and pasting information that has

scrolled off the screenscrolled off the screen• Enable Reverse WraparoundEnable Reverse Wraparound– Allows the proper positioning of cursor when Allows the proper positioning of cursor when

deleting text on command line that has wrapped deleting text on command line that has wrapped aroundaround

Page 12: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1212

Xterm controlsXterm controls(Ctrl-right mouse button)(Ctrl-right mouse button)

Page 13: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1313

Cutting and Pasting of text Cutting and Pasting of text informationinformation

• Selecting textSelecting text–WordWord–Whole or partial linesWhole or partial lines–Multiple linesMultiple lines

• Pasting textPasting text

Page 14: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1414

Selecting a wordSelecting a word

• Left mouse button double clickingLeft mouse button double clicking– Selects a wordSelects a word

Page 15: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1515

Selecting text by draggingSelecting text by dragging

• Left mouse button dragLeft mouse button drag– Selects text in the “drag” areaSelects text in the “drag” area

Page 16: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1616

Selecting text by specifying start Selecting text by specifying start and stop locationsand stop locations

• Left mouse button click at starting text Left mouse button click at starting text position followed by a right button mouse position followed by a right button mouse click at ending text positionclick at ending text position– Selects text region between starting and ending Selects text region between starting and ending

text pointstext points

Page 17: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1717

Pasting TextPasting Text

• Middle mouse button clickMiddle mouse button click– Pastes text at cursor locationPastes text at cursor location

Page 18: X-term Tutorial

Digital Imaging and Remote Sensing LaboratoryRR..II..TT

1818

Other issues Other issues

• These actions of cutting and pasting works for These actions of cutting and pasting works for most X-client programs under UNIXmost X-client programs under UNIX

• Stick to xterm as your main port into UNIX and Stick to xterm as your main port into UNIX and you will have little problems migrating from you will have little problems migrating from one UNIX platform to anotherone UNIX platform to another