home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / elm / 1965 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.5 KB

  1. Path: sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!news.yale!CS.YALE.EDU!shin-jungshik
  2. From: shin-jungshik@CS.YALE.EDU
  3. Newsgroups: comp.mail.elm
  4. Date: 17 Jul 92 19:18 MDT
  5. Subject: Re: More than one name in Alias line ?
  6. Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
  7. Message-ID: <1992Jul17.151837.22943@news.yale>
  8. References: <1992Jul17.150429.22485@news.yale>
  9. Nf-ID: #R:1992Jul17.150429.22485@news.yale:-110118737:1992Jul17.151837.22943@news.yale:553787948:001:954
  10. Nf-From: CS.YALE.EDU!shin-jungshik    Jul 17 19:18:00 1992
  11. Lines: 28
  12.  
  13.  
  14.   I'm using a 'Unix' host with several printers linked. The printer I use is
  15. not fixed as I access to my host in many places.  Hence, I made a small
  16. script for mail printing in ELM(2.3 PL 11) and put it in 'Print' Option.
  17.  
  18.    My elmrc file has a line 'print = my_script %s'
  19. my_script is as following.
  20.  
  21. #!/bin/sh
  22. echo -n 'Printer='
  23. read printer
  24. lpr -P$printer $1
  25.  
  26.   When invoked by ELM, it does not prompt 'Printer='. But, I can designate
  27. my printer name without what I type being echoed and output is sent to 
  28. the printer whose name I type.  That's fine and I can do what I intended.
  29.  
  30.    But, I think it may be better not to suppress 'output' from print
  31. scripts like 'Printer=' in my example.  Of course, this seems not so simple
  32. matter and there may be complication resulting from not suppresing this.
  33. Anyway, I sincerely hope you would pay a little attention to this problem 
  34. in developing future version of ELM.   
  35.  
  36.  
  37.    Jungshik Shin, novice of ELM
  38.  
  39.  
  40.  
  41.