Michael Lossin on Thu, 25 May 2000 12:30:06 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Problem reading input in SETUP script.


Kenneth A. Rogers wrote:
> work fine.  At the main menu, pressing '1' and 'Enter' just slaps a 1 up
> on the screen and then scrolls one line.  Any clues?  I'm no shell
> script expert, but it looks like you're doing the same kind of read
> there as everywhere else.

No apsfilter version number... let's assume 5.4.2.

I suppose the read command is not the problem. The first thing
the function do_choose_driver does is to grep through the list
for either gs 6.x or gs 5.5x (variable PRINTER_LIST).
Actually, this variable is only set for 6.x and 5.5x releases
of gs, so yours seemed to slip through :-(
Then the grep command scans stdin instead of the file, and that's
what you were looking at :)

Try to set PRINTER_LIST manually in SETUP.

HTH
Michael