home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / next / misc / 19643 < prev    next >
Encoding:
Text File  |  1992-09-15  |  2.6 KB  |  60 lines

  1. Newsgroups: comp.sys.next.misc
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!sol.ctr.columbia.edu!sal.wisc.edu!rat!zeus!root
  3. From: Alex Raftis
  4. Subject: Re: Dammit, I'm dumb. Why doesn't talk work?
  5. Message-ID: <1992Sep15.184414.108626@zeus.calpoly.edu>
  6. Sender: news@zeus.calpoly.edu
  7. Reply-To: alex@cosmos.acs.calpoly.edu
  8. Organization: Cal Poly State University, San Luis Obispo
  9. References: <lb9s1hINNfm4@jethro.Corp.Sun.COM>
  10. Date: Tue, 15 Sep 1992 18:44:14 GMT
  11. Lines: 47
  12.  
  13. Daniel M. Rosenberg writes
  14. > I *know* this was just posted; you are perfectly justified in
  15. > flaming me along with your answer, but the post swished by me
  16. > and I cannot find the answer in a FAQ.
  17. > On some NeXT's, you type "talk," and it says,
  18. > "Go away. You don't exist."
  19. > I tried copying a binary from a working on to a non-working one, no
  20. > avail. What's the deal, and how does on fix it?
  21. > Thanks for any hints. Please ignore my affiliation.
  22.  
  23. I've occaissionally had this problem and the only thing I can find is that
  24. talk doesn't like to work with Stewart, and I'm not sure why, since I can
  25. execute the call that has problems in other code under Stewart. I blame
  26. Stuart, because I can start up X and an xterm and talk will work fine. This
  27. problem may hold true for Terminal, since it's based on Stuart. 
  28.  
  29. My only guess for the reason is that Stuart handles the tty's kind of 
  30. strangly. To see the effect, do a "w -d" while a bunch of Stuart windows are
  31. open, and none of the tty's will be reported, just one process being used
  32. by Stuart. (BTW, the -d flag is an undocumented, but highly useful flag to w).
  33. Here's a sample output...
  34.  
  35. 11:26am data:/home/data/u2/alex> w -d
  36.  11:39am  up 39 days,  3:25,  2 users,  load average: 1.24, 1.87, 1.70
  37. User     tty       login@  idle   JCPU   PCPU  what
  38.                 10285   /LocalApps/Stuart.app/Stuart -NXA & 2 0
  39. alex     console   8Sep9291days   2:11   2:06  /LocalApps/Stuart.app/Stuart -NX
  40.  
  41. If you had started up an xterm, you'd see an addional login under your name,
  42. a tty associated with it, and a process running the xterm. With Stuart, you'll
  43. only ever see the console tty, despite addionally open windows. 
  44.  
  45. I think the has the effect of confusing talk, which doesn't manage to associate
  46. you talk request with a name and a tty. I've tried playing with the code a
  47. little, but like I said, the calls work individually from other code fragments,
  48. so until I have more time, I remain stumped.
  49.  
  50. Alex
  51. --
  52. ______________________________________________________
  53.     Internet: alex@data.acs.calpoly.edu (NeXT mail)
  54.               alex@cosmos.acs.calpoly.edu
  55.