home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / shell / 3960 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.3 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!spool.mu.edu!sol.ctr.columbia.edu!destroyer!ubc-cs!alberta!zhong
  2. From: zhong@cs.UAlberta.CA (John (Zhong)   Li)
  3. Newsgroups: comp.unix.shell
  4. Subject: Help: How to exit from two shells?
  5. Message-ID: <1992Sep15.175330.25203@cs.UAlberta.CA>
  6. Date: 15 Sep 92 17:53:30 GMT
  7. Sender: news@cs.UAlberta.CA (News Administrator)
  8. Organization: University of Alberta
  9. Lines: 21
  10. Nntp-Posting-Host: warspite.cs.ualberta.ca
  11.  
  12.  
  13. Hi,
  14.  
  15. Since some machines cannot support 'tcsh' shell I have to 
  16. set up my default shell into 'csh'. But I like to use 'tcsh'
  17. shell. After login, if possible, my '.login' will set 'tcsh'
  18. automatically. However, since this kind of setting made 
  19. 'tcsh' is not the login shell it is annoying to exit. Every
  20. time when I logout I have to type "exit", then "logout" or
  21. "exit". Can anybody tell me a method to jsut type once by
  22. making either a script or an alias, then I can directly 
  23. exit from both 'tcsh' and 'csh' shells?
  24.  
  25. thanks in advance!
  26.  
  27.  
  28. --
  29. -----------------------------------------------------------------------------
  30. | Li, John              | 492-5094 (office) | I haven't lost my mind,       |
  31. | zhong@cs.ualberta.ca  | 492-2821 (lab)    | I know exactly where I left it|
  32. -----------------------------------------------------------------------------
  33.