14.06.2014 Views

Unix Power Tools

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.17<br />

When you display an xterm menu, the pointer becomes the arrow pointer and<br />

initially appears in the menu’s title. Once the menu appears, you can release any<br />

keyboard key. The menu will remain visible as long as you continue to hold<br />

down the appropriate pointer button. (You can move the pointer off the menu<br />

without it disappearing.) To toggle a mode or activate a command, drag the<br />

pointer down the menu and release the pointer button on the item you want.<br />

If you decide not to select a menu item after the menu has appeared, move the<br />

pointer off the menu and release the button. The menu disappears and no action<br />

is taken.<br />

You probably won’t use the xterm menus too often. You can set most mode<br />

entries by using command-line options when invoking xterm or by using entries<br />

in a resource file (6.5). See the xterm manpage for a complete list of options and<br />

resource variables.<br />

The various modes on the menus are very helpful if you’ve set (or failed to set) a<br />

particular mode on the command line and then decide you want the opposite<br />

characteristic. For instance, say you’ve run xterm without a scrollbar and then<br />

decide you want one. You can toggle the scrollbar from the VT Options menu.<br />

The sections below the modes portion of each menu contain various commands.<br />

Selecting one of these commands performs the indicated function. Many<br />

of these functions can be invoked only from the xterm menus. However, some<br />

functions can be invoked in other ways, which are often more convenient. For<br />

example, you can remove the xterm window using several of the items on the<br />

Main Options menu, but it’s probably simpler to type exit or logout, or use a<br />

window manager menu or button. Of course, the xterm menus can be very helpful<br />

when other methods fail to invoke a function. And some functions (such as<br />

Secure Keyboard) are not available in any other way—unless you do a little<br />

customizing.<br />

Most people tend to use the mode toggles on the VT Options menu (which<br />

allow you to turn features like the scrollbar on and off) and the items on the VT<br />

Fonts menu (which allow you to change the display font once the client is<br />

running). If you’re concerned about security, you may want to invoke secure<br />

keyboard mode from the Main Options menu before typing passwords or other<br />

sensitive information.<br />

Note that a Release 5 patch (20.9) has eliminated xterm’s logging capability for<br />

security reasons. If this patch has been applied, your Main Options menu will<br />

not offer the Log to File option.<br />

—VQ and SJC<br />

114 Part II: Customizing Your Environment<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2009 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!