SUN



next up previous contents
Next: Exercises Up: Configuration Examples Previous: Silicon Graphics

SUN

We will assume the use of OpenWindows.

Commands are automatically started at login time from file .openwin-init in the $HOME directory:

perfmeter -Wp 976 0 -Ws 170 69 &
clock -Wp 497 32 -Ws 210 35 -Wi &
textedit -Wp 479 98 -Ws 673 764 large -Wi &
cmdtool -Wp 0 320 -Ws 673 580 -WP 776 3 -Wi &
cmdtool -Wp 0 0 -Ws 590 477 -WP 1085 81 +Wi -C &
cmdtool -Wp 200 150 -Wh 25 -Ww 100 bin/myprog &

This file would start, in order, a performance monitor, a clock, an editor (iconic), a terminal emulator, another terminal emulator (the console), and another terminal emulator but with program bin/myprog running in it.

To customize the root menu, file .openwin-menu is modified:

"Root Menu" TITLE

"Telnet" MENU
    "Sun"     shelltool -Wp  450 100 -Wh  43  -Ww 90  telnet nrccsb2 
    "SGI"     shelltool -Wp  450 110 -Wh 43 -Ww 90  telnet nrccsb3 
"Telnet" END PIN

"Rlogin" MENU
    "Sun"     shelltool -Wp  450 100 -Wh 43 -Ww 90  rlogin nrccsb2
    "SGI"     shelltool -Wp  450 110 -Wh 43 -Ww 90  rlogin nrccsb3 
"Rlogin" END PIN

"Windows" MENU
    "large..."  exec shelltool -scale large
    "medium..." exec shelltool -scale medium
    "small..."  exec shelltool -scale small
"Windows" END PIN

"Exit..."       EXIT

The PIN keyword indicates that the OpenWindows ``push-pin" be used on the menu.



Super-User
Fri Feb 17 15:55:40 EST 1995