home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!fido!fudge.asd.sgi.com!karlton
- From: karlton@fudge.asd.sgi.com (Phil Karlton)
- Newsgroups: comp.sys.sgi
- Subject: Re: Help: problems with remote mailbox
- Message-ID: <1ilmtjINNpqc@fido.asd.sgi.com>
- Date: 9 Jan 93 05:13:23 GMT
- References: <1993Jan9.015630.10432@spartan.ac.BrockU.CA>
- Organization: Silicon Graphics, Inc., Mountain View, CA
- Lines: 50
- NNTP-Posting-Host: fudge.asd.sgi.com
-
- In article <1993Jan9.015630.10432@spartan.ac.BrockU.CA> edik@spartan.ac.BrockU.CA (Ed Sternin) writes:
- >Folks, I cannot make it work, please help!
- >
- >On machine A.A I want to open a mailbox that will
- > - raise its flag when /usr/mail/myself on machine B.B receives mail
- > - execute a mail program on B.B and send the output to A.A when I
- > click on the mailbox icon on A.A
- >
- >This is what I thought would work:
- >
- > /usr/sbin/mailbox -f B.B:/usr/mail/myself \
- > -m '/usr/bsd/rsh B.B /usr/sbin/xwsh \
- > -fg 7 -bg 97 -bold 230 -cursorfg 95 -geom 80x40 -display A.A:0
- > -e /usr/sbin/Mail' &
- >
- >Well, the mailbox icon pops up, the part in quotes works if I it by
- >itself, but the mail received on B.B is never detected. Why is
- >that?
-
- mailbox does not understnad the syntax "B.B:/usr/mail/myself". It
- only works on the local file system.
-
- >Also, a small problem: I have not been able to make mailbox deposit
- >itself some place on the screen, as -geometry does not seem to be
- >recognized. Any way around that?
-
- mailbox is not an X program, but rather a straight GIrisGL program.
- Check out the 'env' and 'GLResources' man pages. I haven't tested it
- but something like
-
- env DISPLAY=A.A GLRES="*geometry: 70x70+50+50" mailbox
-
- executed on machine B.B should do something close to what you want.
- You may still wish to play with the "-m" switch to mailbox, but
- you could bury much of that command line in the .Xresources file
- on A.A if you use the "-name" switch when you invoke xwsh. (Check
- out its man page.)
-
- PK
- --
- Phil Karlton Silicon Graphics Computer Systems
- The Curmudgeon 2011 N. Shoreline Blvd.
- Mountain View, CA 94039-7311
- karlton@.sgi.com 415-390-1557
-
- --
- Phil Karlton Silicon Graphics Computer Systems
- The Curmudgeon 2011 N. Shoreline Blvd.
- Mountain View, CA 94039-7311
- karlton@.sgi.com 415-390-1557
-