Other interesting Clients

xterm

Important Resources

        title: Title to display in title bar.
        autoWrap: Specifies whether or not auto-wraparound should be enabled.

The following resources are part of the vt100 (class VT100) widget:

        foreground: The color to use to display foreground text.
        background: The background color to use.
        font: The default font to use.
        font1: The font to use as "font1" in the vtMenu.
        font2: The font to use as "font1" in the vtMenu.
        ...
        font6: The font to use as "font1" in the vtMenu.
        loginShell: Specifies whether the xterm shell should be a login shell.
        saveLines: The number of scrolled lines to save.
        scrollBar: Turns on/off the scrollbar to get back to saved lines.
        Translations: Allows you to bind key and button events to xterm actions.
 

The xterm menus

Xterm has four menus, named mainMenu, vtMenu, fontMenu, and tekMenu.  When xterm is in "vt100" mode, the following key/mouse button combinations will
pop up the menus:

        Ctrl<Btn1Down> = mainMenu
        Ctrl<Btn2Down> = vtMenu
        Ctrl<Btn3Down> = fontMenu

In Tektronix mode, "tekMenu" replaces "vtMenu" above.  The menus are shown in the following pages.

Translations

The translation mechanism provided in xterm can be used to map a key or button to an xterm action.  The following examples illustrate some common
uses of this:

        *VT100.Translations:#override   <Key>F2: string("string")string(0x0d)
        (To change Function key F2 to "string"<return>)

        *VT100.Translations:#override   !Alt<Btn1Down> bell(0)
        (Sound the bell when <Alt> and mouse button 1 are pressed)

oclock

Oclock is an interesting client because it uses the "Shape" extension  available in some R4 and R5 X servers.  Normally, client windows will be rectangular in shape.  Oclock creates a round clock face on servers that support the Shape extension (R4 Towerviews and the R5 X server, for example).
 

Some Other Clients

 
Client Name    Description
xhost  To allow another machine to display a window on your X server, invoke the command "xhost +".  To disallow connections, use "xhost -".  This utility can also be used to only allow certain users or certain host machines access to your local X server.
xkill  To kill an X client.
xwd/
xwud/ 
xpr
A window can be dumped to a file using xwd, then displayed on an X   server using xwud, or printed using xpr.
xtroff/ 
xditview
Allows you to view "troff" files in an X window.  xtroff is actually a shell script, which invokes "troff" with any arguments you give it on the command line (like -man, -mm), and pipes its standard output to xditview.  To view more complicated troff documents, such as those containing tbl, pic, or eqn sections, you should invoke xditview directly.
xman    An X-based interface to man pages.  Allows the user to easily choose man pages to read, and to scroll through the man page text.
xrn     An X-based interface to the Usenet "News" system.  Replaces cumbersome keystroke sequences with push buttons, and allows the user to scroll through text easily using scrollbars.
xbiff Displays a small window with the bitmap of a mailbox, which changes appearance when the user receives mail.
xclock  Displays an analog or digital clock.
xpostit  Creates small window(s) in which you can write "Post-It"-like notes. Also creates a "control" window from which you can create more notes, lower all notes to the background, raise all notes to the foreground, save notes to disk for later, invocations of xpostit, etc.
xshowcmap  Displays the current color map.
xcalc/ 
hexcalc 
X Calculators.  Hexcalc allows binary, octal, and hexidecimal operations, along with decimal.
xfig/ 
fig2dev 
A program to draw figures in X.  The output of xfig is a ".fig" file, which can be converted to another format (PostScript, .pic) using the fig2dev utility.
xv  View .gif and .jpg files
xcalendar  Allows the user to enter appointments into a "datebook", and reminds the user of these appointments by highlighting days which have appointments entered.