Unformatted text preview:

X-term TutorialOutlineWhat is xterm?Starting xtermXterm can be started from a menuXterm can be started through spawningXterm titles and ornamentationMouse Button IssuesXterm controls (Ctrl-left mouse button)Xterm controls (Ctrl-middle mouse button)Useful VT OptionsXterm controls (Ctrl-right mouse button)Cutting and Pasting of text informationSelecting a wordSelecting text by draggingSelecting text by specifying start and stop locationsPasting TextOther issuesDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT11X-term TutorialX-term TutorialDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT22OutlineOutline•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 PastingDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT33What 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 systemsystemDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT44Starting 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 startsDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT55Xterm can be started from a Xterm can be started from a menumenuDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT66Xterm can be started through Xterm can be started through spawningspawningDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT77Xterm titles and ornamentationXterm titles and ornamentationDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT88Mouse 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)Digital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT99Xterm controlsXterm controls(Ctrl-left mouse button)(Ctrl-left mouse button)Digital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1010Xterm controlsXterm controls(Ctrl-middle mouse button)(Ctrl-middle mouse button)Digital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1111Useful 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 aroundaroundDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1212Xterm controlsXterm controls(Ctrl-right mouse button)(Ctrl-right mouse button)Digital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1313Cutting 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 textDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1414Selecting a wordSelecting a word•Left mouse button double clickingLeft mouse button double clicking–Selects a wordSelects a wordDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1515Selecting text by draggingSelecting text by dragging•Left mouse button dragLeft mouse button drag–Selects text in the “drag” areaSelects text in the “drag” areaDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1616Selecting 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 click position followed by a right button mouse click at ending text positionat ending text position–Selects text region between starting and ending text Selects text region between starting and ending text pointspointsDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1717Pasting TextPasting Text•Middle mouse button clickMiddle mouse button click–Pastes text at cursor locationPastes text at cursor locationDigital Imaging and Remote Sensing LaboratoryRR..II..TTRR..II..TT1818Other 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


View Full Document

RIT SIMG 726 - X­term Tutorial

Download X­term Tutorial
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view X­term Tutorial and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view X­term Tutorial 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?