Path: utzoo!attcan!uunet!lll-winken!vette!brooks From: brooks@vette.llnl.gov (Eugene Brooks) Newsgroups: comp.windows.x Subject: Re: R3 xterm and controlling tty's and awm Message-ID: <14517@lll-winken.llnl.gov> Date: 9 Dec 88 18:20:23 GMT References: <8812091324.AA02733@work8.icase.edu> Sender: usenet@lll-winken.llnl.gov Reply-To: brooks@vette.UUCP (Eugene Brooks) Organization: Lawrence Livermore National Laboratory Lines: 38 In article <8812091324.AA02733@work8.icase.edu> tom@WORK8.ICASE.EDU (Tom Crockett) writes: > > xinit awm -e $HOME/.xinitrc > >Awm -e always seems to crash in this situation. Has anyone else seen this >behavior? Any thoughts on what might be causing it? We are running R3 + >fixes1-2 + Purdue-speedups under SunOS 3.5 on Sun 3/50s. I had a lot of arcanity in trying to use xinit nicely under X11R3, we just switched from X10R4 where xinit was the way to fly. After much twiddling I finally got xdm to work for our installation and as the manual says, it is the way to fly. You should use xdm as it presents a much more convenient interface for X, if you don't want to be switching between window systems. You exit X using the f.exit function of awm. As examples, here are my configuration files $HOME/.xsession: #!/bin/sh /usr/local/bin/X11/xrdb -load $HOME/.Xdefaults rm $HOME/.sh_history xset m 10 5 xset s 600 exec /usr/local/bin/X11/awm -e $HOME/.awmexec $HOME/.awmexec: xclock -geometry 100x100+1050+20 & xbiff -geometry 100x100+950+20 & /usr/local/bin/X11/xterm -sb -sl 512 -sk -ls -geometry 120x40+20+200 -n VETTE -fn 9x15 & # My .kshrc catches TERM=vs100, changes it to xterm, and turns on msgs or biff. /usr/local/bin/X11/xterm -C -sb -sl 512 -sk -ls -tn vs100 -geometry 80x10+1+20 -title "Console $USER" & You have to install the system xdm configration files in LIBDIR/xdm by hand, see the subdirectory of the xdm source directory for examples. And for the last trick, add the following line /usr/local/bin/X11/xdm -server ":0 local /usr/bin/X11/Xsun :0" to the end of your /etc/rc file just before exit 0. You will find that using xdm and the -e option of awm to be real convenient.