DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Changing cursor appearance

Example 2: Changing scoterm cursor appearance

Let's assume you are an administrator for a system whose X server and clients are accessed by several users. Your company just completed a deal with a major boat manufacturer and, to celebrate, the president of your firm has requested that the pointer cursor in the scoterm window be changed to a boat-shape.

The following steps result in a system-wide boat shaped pointer cursor for the scoterm client.

  1. Log into the system as root.

  2. Change directories to /usr/lib/X11/app-defaults and locate the file named ScoTerm. This is the default resource file that you need to edit to make your pointer cursor resource change.

  3. Open the ScoTerm file for editing and search for the following line:
       ScoTerm*pointerShape:
    
    This is the resource that controls the font that is used to display the pointer cursor in the scoterm window.

    If this resource does not exist, skip to Step 5.

  4. If this resource exists, comment out the line containing the font value for this resource so that it looks like this:
       !ScoTerm*pointerShape: cursorname
    
    By commenting out the default resource setting, instead of simply deleting the line, you leave yourself a safeguard. You can always return to this default if you make a mistake when setting a new font value.

  5. Now open a line immediately below the resource you just commented out (or if a resource was not previously set, open a line anywhere in the file) and enter your new resource designation:
       ScoTerm*pointerShape:  boat
    

  6. Save and exit the ScoTerm file.

  7. As a final test, invoke scoterm. (If you are currently running a Graphical Environment session, exit scoterm, then invoke it again.) The pointer cursor that displays in the scoterm window should now look like a boat.

Previous topic: Example 1: Changing Desktop cursor appearance

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003