home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.elm
- Path: sparky!uunet!ukma!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!chinacat!chip
- From: chip@chinacat.unicom.com (Chip Rosenthal)
- Subject: Re: Piping to command doesn't work (2.4 PL6) on AIX3.2
- Organization: Unicom Systems Development, Austin, TX
- Date: Fri, 06 Nov 1992 03:59:00 GMT
- Message-ID: <1992Nov06.035900.29920@chinacat.unicom.com>
- References: <1dbnuhINNqjq@gap.caltech.edu>
- Lines: 39
-
- In article <1dbnuhINNqjq@gap.caltech.edu>
- walter@cithe501.cithep.caltech.edu (Chris Walter) writes:
- >Command: |
- >Pipe to: more
- >
- >Usage: readmsg [-anhp] [-f Folder] {MessageNum ... | pattern | *}
- >M-^?
- >
- >The same thing happens If I run readmsg from within emacs while
- >composing or replying to a message. On the other hand shell escaping
- >readmsg works just find and returns the current message.
- >
- >Anyone know what's going on?
-
- The "readmsg" diagnostic message is a distraction from the real problem.
- It happens because Elm is trying to run a "readmsg|more" pipeline,
- and the end of the pipeline is dying before "readmsg" can run.
-
- (Boring details - Elm creates a state file with information for readmsg,
- e.g. the message number to extract from your folder. Since the pipeline
- dies prematurely, Elm removes that state file before readmsg can run.
- Readmsg is complaining because it doesn't know what to do -- the state
- file is missing and no message numbers were specified on the command
- line. Thus it gives a usage diagnostic.)
-
- There really is a problem -- but if you are suspecting readmsg then
- you are looking on the wrong side of the "|". There is something
- wrong with "more". You should see if you can run some other command
- OK, e.g. can you pipe into "cat"? And what is this "M-^?"? That is
- almost certainly not being produced by readmsg or Elm.
-
- I'll try to get a fix into the next Elm patch to get rid of this
- spurious readmsg complaint. But anybody having trouble printing or
- piping should treat the readmsg usage diagnostic as exactly that --
- spurious. The real problem is elsewhere.
- --
- Chip Rosenthal 512-482-8260 | I got the blues so bad one time
- Unicom Systems Development | it put my face in a permanent frown.
- <chip@chinacat.Unicom.COM> | - Taj Mahal
-