home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!fuug!demos!kiae!glas!demos!news.yale!CS.YALE.EDU!shin-jungshik
- From: shin-jungshik@CS.YALE.EDU
- Newsgroups: comp.mail.elm
- Date: 17 Jul 92 23:10 MDT
- Subject: Re: Suggestion on 'Print'
- Sender: Notesfile to Usenet Gateway <notes@glas.apc.org>
- Message-ID: <1992Jul17.191014.28954@news.yale>
- References: <1992Jul17.154551.15101@dsi.com>
- Nf-ID: #R:1992Jul17.154551.15101@dsi.com:-841120389:1992Jul17.191014.28954@news.yale:198134677:001:1415
- Nf-From: CS.YALE.EDU!shin-jungshik Jul 17 23:10:00 1992
- Lines: 32
-
-
- Above all, thank you for your immediate and kind reply.
-
- In article <1992Jul17.154551.15101@DSI.COM> syd@DSI.COM (Syd Weinstein) writes:
- >In article <1992Jul17.151837.22943@news.yale.edu> shin-jungshik@CS.YALE.EDU (Jungshik Shin) writes:
- >> My elmrc file has a line 'print = my_script %s'
- >>my_script is as following.
- >>#!/bin/sh
- >>echo -n 'Printer='
- >>read printer
- >>lpr -P$printer $1
- >>
- >> When invoked by ELM, it does not prompt 'Printer='. But, I can designate
- >>my printer name without what I type being echoed and output is sent to
- >>the printer whose name I type. That's fine and I can do what I intended.
- >>
- >> But, I think it may be better not to suppress 'output' from print
- >>scripts like 'Printer=' in my example. Of course, this seems not so simple
- >>matter and there may be complication resulting from not suppresing this.
- >We suppress the output to prevent messages like
- >'Request lp-3456 submitted'
- >from messing up the display.
- I guessed that's why you suppressed output. Then, how about clearing
- screen before and after print and redrawing it after print?
- I'm not sure this is better alternative. Actually, I received mail
- with prescription to modify source a little to clear and redraw screen
- after print. If it turns out to be useful after your consideration,
- I would like you to bring this change into future version.
- Once again, I'm grateful to your reply.
-
- Jungshik Shin
-
-