home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / elm / 3193 < prev    next >
Encoding:
Text File  |  1992-11-06  |  2.2 KB  |  50 lines

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