/[TIS-4000 Rel T60]/sun2.4/libtis/.login
ViewVC logotype

Annotation of /sun2.4/libtis/.login

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations)
Wed Aug 25 17:29:28 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
CVS Tags: LMC_baseline, t55baseline, Duluth_baseline, HEAD
initial version

1 tis4000 1.1
2     # @(#)Login 1.14 90/11/01 SMI
3     ##################################################################
4     #
5     # .login file
6     #
7     # Read in after the .cshrc file when you log in.
8     # Not read in for subsequent shells. For setting up
9     # terminal and global environment characteristics.
10     #
11     ##################################################################
12    
13    
14     # terminal characteristics for remote terminals:
15    
16     # Leave lines for all but your remote terminal commented
17     # out (or add a new line if your terminal does not appear).
18    
19     if ($TERM != "sun") then
20     #eval `tset -sQ -m dialup:?925 -m switch:?925 -m dumb:?925 $TERM`
21     #eval `tset -sQ -m dialup:?h19 -m switch:?h19 -m dumb:?h19 $TERM`
22     #eval `tset -sQ -m dialup:?mac -m switch:?mac -m dumb:?mac $TERM`
23     #eval `tset -sQ -m dialup:?vt100 -m switch:?vt100 -m dumb:?vt100 $TERM`
24     #eval `tset -sQ -m dialup:?wyse-nk -m switch:?wyse-nk -m dumb:?wyse-nk $TERM`
25     #eval `tset -sQ -m dialup:?wyse-vp -m switch:?wyse-vp -m dumb:?wyse-vp $TERM`
26     endif
27    
28     # general terminal characteristics
29    
30     #stty -crterase
31     #stty -tabs
32     #stty crt
33     #stty erase '^h'
34     #stty werase '^?'
35     #stty kill '^['
36     #stty new
37    
38     # environment variables
39    
40     #setenv EXINIT 'set sh=/bin/csh sw=4 ai report=2'
41     #setenv MORE '-c'
42     #setenv PRINTER lw
43    
44     # commands to perform at login
45    
46     #w # see who is logged in
47    
48     #
49     # If possible, start the windows system. Give user a chance to bail out
50     #
51     if ( `tty` != "/dev/console" || $TERM != "sun" ) then
52     exit # leave user at regular C shell prompt
53     endif
54    
55     if ( ${?OPENWINHOME} == 0 ) then
56     setenv OPENWINHOME /usr/openwin
57     endif
58    
59     if ( ! -e $OPENWINHOME/bin/openwin ) then
60     set mychoice=sunview
61     endif
62    
63     echo ""
64     #click -n # click -n turns off key click
65    
66     echo ""
67     switch( $mychoice )
68     case openwin:
69     unset mychoice
70     echo -n "Starting OpenWindows (type Control-C to interrupt)"
71     sleep 5
72    
73     $OPENWINHOME/bin/openwin -dev /dev/cgsix0
74     #zack## $OPENWINHOME/bin/openwin -dev /dev/cgsix0 -dev /dev/cgsix1
75     # $OPENWINHOME/bin/openwin -dev /dev/ffb0
76     # clear_colormap # get rid of annoying colourmap bug
77     clear # get rid of annoying cursor rectangle
78     echo -n "Automatically logging out (type Control-C to interrupt)"
79     sleep 5
80     #
81     logout # logout after leaving windows system
82     breaksw
83     #
84     case sunview:
85     unset mychoice
86     echo -n "Starting SunView (type Control-C to interrupt)"
87     sleep 5
88     # default sunview background looks best with pastels
89     sunview
90     clear # get rid of annoying cursor rectangle
91     echo -n "Automatically logging out (type Control-C to interrupt)"
92     sleep 5
93     logout # logout after leaving windows system
94     breaksw
95     #
96     endsw
97     #

  ViewVC Help
Powered by ViewVC 1.1.30