home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / mail / elm / 1966 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.9 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 23:10 MDT
  5. Subject: Re: Suggestion on 'Print'
  6. Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
  7. Message-ID: <1992Jul17.191014.28954@news.yale>
  8. References: <1992Jul17.154551.15101@dsi.com>
  9. Nf-ID: #R:1992Jul17.154551.15101@dsi.com:-841120389:1992Jul17.191014.28954@news.yale:198134677:001:1415
  10. Nf-From: CS.YALE.EDU!shin-jungshik    Jul 17 23:10:00 1992
  11. Lines: 32
  12.  
  13.  
  14.   Above all, thank you for your immediate and kind reply.
  15.  
  16. In article <1992Jul17.154551.15101@DSI.COM> syd@DSI.COM (Syd Weinstein) writes:
  17. >In article <1992Jul17.151837.22943@news.yale.edu> shin-jungshik@CS.YALE.EDU (Jungshik Shin) writes:
  18. >>   My elmrc file has a line 'print = my_script %s'
  19. >>my_script is as following.
  20. >>#!/bin/sh
  21. >>echo -n 'Printer='
  22. >>read printer
  23. >>lpr -P$printer $1
  24. >>
  25. >>  When invoked by ELM, it does not prompt 'Printer='. But, I can designate
  26. >>my printer name without what I type being echoed and output is sent to 
  27. >>the printer whose name I type.  That's fine and I can do what I intended.
  28. >>
  29. >>   But, I think it may be better not to suppress 'output' from print
  30. >>scripts like 'Printer=' in my example.  Of course, this seems not so simple
  31. >>matter and there may be complication resulting from not suppresing this.
  32. >We suppress the output to prevent messages like
  33. >'Request lp-3456 submitted'
  34. >from messing up the display.
  35.   I guessed that's why you suppressed output.  Then, how about clearing
  36. screen before and after print and redrawing it after print?  
  37. I'm not sure this is better alternative. Actually, I received mail 
  38. with prescription to modify source a little to clear and redraw screen 
  39. after print.  If it turns out to be useful after your consideration,
  40. I would like you to bring this change into future version.
  41. Once again, I'm grateful to your reply.
  42.  
  43.    Jungshik Shin
  44.  
  45.