# .cshrc file from Frame Demo Account.
# $Id: cshrc,v 1.1 1992/10/08 23:46:33 eeg Exp $
#


#### Sun, HP, Dec, etc. flavor of X11 startup alias. ####

# Alias to start X11 and your default clients.
alias x11 '\\
 (setenv DISPLAY unix:0.0; xinit xterm -geometry 80x20-0+0 \\
 -C -sb -n X-Console -e ~/.X11setup)'

# Alias to start your default X clients when the X server is already running.
# I.e. When you logged in from XDM.
alias xsetup '\\
 (xterm -geometry 80x20-0+0 -rv -sb -n X-Console -e ~/.X11setup )&'



#### Apollo specific aliases from here to the end of the file ####

# Alias to start your default X clients when the Xapollo is already running.
# This one uses the "X owns the root" mode.
alias xsetupx '/com/xdmc wmgr -off; \\
 xterm -geometry 80x20-0+0 -rv -sb -n X-Console -e ~/.X11setup &; \\
 /usr/bin/X11/xownroot -on'

# Alias to start your default X clients when the Xapollo is already running.
# This one uses the DM owns the root mode.
alias xsetupdm '\\
 xterm -geometry 80x20-0+0 -rv -sb -n Console -e ~/.X11setup -wm &; \\
 /usr/bin/X11/xownroot -off; /com/xdmc wmgr -on'


# Alias to start X11 in share mode with X owning the root.
# Use this alias to start X11 when Xapollo is not yet running.
alias x11x '\\
 (setenv DISPLAY localhost:0.0; /com/xdmc wmgr -off; \\
 xinit xterm -geometry 80x20-0+0 -sb -n X-Console -e ~/.X11setup \\
 -- X -K ~/.Xkbconfig -D1 S+r+); \\
 /com/xdmc wmgr -on &'

# Alias to start X11 in share mode with DM owning the root.
# Use this alias to start X11 when Xapollo is not yet running.
alias x11dm '\\
 (setenv DISPLAY localhost:0.0; \\
 xinit xterm -geometry 80x20-0+0 -sb -n X-Console -e ~/.X11setup -wm \\
 -- X -D1 -K ~/.Xkbconfig S+r-) &'

# Alias to start X11 in borrow mode.  (No DM.)
# Use this alias to start X11 when Xapollo is not yet running.
alias x11b '\\
 (setenv DISPLAY localhost:0.0; xinit xterm -geometry 80x20-0+0 \\
 -rv -sb -n X-Console -e ~/.X11setup -- X -D1 s-r+); &'
