home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / 18639 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  2.3 KB

  1. Path: sparky!uunet!olivea!sgigate!odin!fido!fudge.asd.sgi.com!karlton
  2. From: karlton@fudge.asd.sgi.com (Phil Karlton)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Help: problems with remote mailbox
  5. Message-ID: <1ilmtjINNpqc@fido.asd.sgi.com>
  6. Date: 9 Jan 93 05:13:23 GMT
  7. References: <1993Jan9.015630.10432@spartan.ac.BrockU.CA>
  8. Organization: Silicon Graphics, Inc., Mountain View, CA
  9. Lines: 50
  10. NNTP-Posting-Host: fudge.asd.sgi.com
  11.  
  12. In article <1993Jan9.015630.10432@spartan.ac.BrockU.CA> edik@spartan.ac.BrockU.CA (Ed Sternin) writes:
  13. >Folks, I cannot make it work, please help!
  14. >
  15. >On machine A.A I want to open a mailbox that will 
  16. >  - raise its flag when /usr/mail/myself on machine B.B receives mail
  17. >  - execute a mail program on B.B and send the output to A.A when I
  18. >    click on the mailbox icon on A.A
  19. >
  20. >This is what I thought would work:
  21. >
  22. >  /usr/sbin/mailbox -f B.B:/usr/mail/myself \
  23. >    -m '/usr/bsd/rsh B.B /usr/sbin/xwsh \
  24. >    -fg 7 -bg 97 -bold 230 -cursorfg 95 -geom 80x40 -display A.A:0
  25. >    -e /usr/sbin/Mail' &
  26. >
  27. >Well, the mailbox icon pops up, the part in quotes works if I it by
  28. >itself,  but the mail received on B.B is never detected.   Why is
  29. >that?
  30.  
  31. mailbox does not understnad the syntax "B.B:/usr/mail/myself". It
  32. only works on the local file system.
  33.  
  34. >Also, a small problem: I have not been able to make mailbox deposit
  35. >itself some place on the screen, as -geometry does not seem to be
  36. >recognized.  Any way around that?
  37.  
  38. mailbox is not an X program, but rather a straight GIrisGL program.
  39. Check out the 'env' and 'GLResources' man pages. I haven't tested it
  40. but something like
  41.  
  42.     env DISPLAY=A.A GLRES="*geometry: 70x70+50+50" mailbox 
  43.  
  44. executed on machine B.B should do something close to what you want.
  45. You may still wish to play with the "-m" switch to mailbox, but
  46. you could bury much of that command line in the .Xresources file
  47. on A.A if you use the "-name" switch when you invoke xwsh. (Check
  48. out its man page.)
  49.  
  50. PK
  51. --
  52. Phil Karlton                            Silicon Graphics Computer Systems
  53. The Curmudgeon                          2011 N. Shoreline Blvd.
  54.                     Mountain View, CA  94039-7311
  55. karlton@.sgi.com                        415-390-1557
  56.  
  57. -- 
  58. Phil Karlton                Silicon Graphics Computer Systems
  59. The Curmudgeon                2011 N. Shoreline Blvd.
  60.                     Mountain View, CA  94039-7311
  61. karlton@.sgi.com            415-390-1557
  62.