Path: utzoo!attcan!uunet!lll-winken!ames!oliveb!apple!bloom-beacon!EXPO.LCS.MIT.EDU!keith From: keith@EXPO.LCS.MIT.EDU (Keith Packard) Newsgroups: comp.windows.x Subject: Re: xdm questions Message-ID: <8904131746.AA01178@expo.lcs.mit.edu> Date: 13 Apr 89 17:46:41 GMT References: <280@eplrx7.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 37 Some answers to some questions. 1) Is there a way for xterms to inherit the environment from the 1st xterm? Using the old /etc/ttys way of starting up xwindows the login xterm would source .login. Subsequent xterms seem to inherit the To get a session launched from xdm to load your .login file, you can use the creative hack for your .xsession file: ----- .xsession ------ #!/bin/csh -f source ~/.cshrc source ~/.login ... This way you get your .login file read into your base environment. Be careful to avoid using terminal-setup programs in .login though, as this starting session will have no terminal. 2) Is there a way to catch console output....a la ultrix's xcons. Just cat /dev/xcons > console_log_file if you're running ultrix 3.0. For older versions, run xterm -C as one of the terminals. For output which messes up the screen before you login, you lose for now. I wrote a trivial program which cats /dev/xcons until the session is over and then exits. 3) twm seems much slowerrrr.... Twms menus are pretty bad. I hope they get replaced. Fortunately, my DECStation 3100 makes them bearable. Keith Packard MIT X Consortium (617) 253-1428 keith@expo.lcs.mit.edu