home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / misc / 4063 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.4 KB

  1. Path: sparky!uunet!ki.com!dwatts
  2. From: dwatts@ki.com (Dan Watts)
  3. Newsgroups: comp.sys.sun.misc
  4. Subject: tcsh 6.02 and Solaris 2.0 detaches from tty.  Why??
  5. Message-ID: <1245@ki.com>
  6. Date: 3 Sep 92 14:32:55 GMT
  7. Organization: ki Research, Inc. Derry NH
  8. Lines: 28
  9.  
  10.  
  11. I built tcsh 6.02 on our Solaris 2.0 system and we just noticed something
  12. odd.  Every child process that gets run from tcsh has no tty!  This
  13. can cause some definite problems.  Here's an example froma ps display:
  14.  
  15.    10:23am dwatts@sparky % ps -ef | grep dwatts
  16.      dwatts 22975 22973 80 10:23:17 pts/1    0:04 -tcsh
  17.      dwatts 22989 22975 23 10:23:40 ?        0:00 grep dwatts
  18.      dwatts 22990 22975 80 10:23:40 ?        0:01 ps -ef
  19.  
  20. Note that the grep and ps both have no tty associated.  We do not see this
  21. with sh or csh as shown below from an sh shell:
  22.  
  23.    $ ps -ef | grep dwatts
  24.      dwatts 22975 22973217 10:23:17 pts/1    0:04 sh
  25.      dwatts 23080 23078 80 10:25:37 pts/1    0:01 ps -ef
  26.      dwatts 23078 22975 17 10:25:37 pts/1    0:00 grep dwatts
  27.  
  28. Does anyone know how to get tcsh to work correctly?  From uname -a on
  29. our Sun:
  30.  
  31.    SunOS sparky 5.0 Beta sun4c sparc
  32.  
  33. -- 
  34. ######################## Have A Nice Nude Day #########################
  35. # CompuServe: >INTERNET:uunet.UU.NET!ki.com!dwatts  Dan Watts         #
  36. # UUCP      : ...!uunet!ki.com!dwatts               ki Research, Inc. #
  37. # The Bill Of Rights: Void Where Prohibited by Law. Vote Libertarian ##
  38.