[comp.os.minix] Printers, termcap & thanks

hadji@dasys1.UUCP (Toby A David) (10/12/89)

Hello world

Thank you all for your responses and advise. It made my introduction to
the Minix world quite painless. I can't wait for Andy's 1.4 posting.  

Someone posted a question, about Printer out of paper error on an AT clone.
I have had the same problem, and discovered, that in my case, the printer port 
on the Mono card address seemed to be at 0x378 rather then the expected 0x3BC,
possibly because of my particular configuration which includes a second printer
port on the extended memory card. Since I have had major hardware problems 
lately, I am not at all surprised. Anyway, a quick and dirty solution, was to
change the #define in printer.c

#define PR_COLOR_BASE  0x378	/* printer port when color display used */
/*
#define PR_MONO_BASE   0x3BC	printer port when mono display used 
*/
#define PR_MONO_BASE   0x378	/* printer port when confusion prevails  */

It worked, and given the time, I'l check it out with some other machines, and
perhaps add some proper changes to printer.c, since I still have to "reboot"
the printer manually, otherwise I get a "Printer not ready" or whatever.

I also have a request. Does anyone have a vt100 termcap entry? Being new to
Minix, I am not sure whether the usual Unix entrys are compatible, since
I had to modify my SCO Xenix termcap. I would like to be able to use "term"
with vt100 emulation until I can get a Minix version of "Kermit"

Thanks in advance..
Toby

-- 
Toby A David
Big Electric Cat Public UNIX
..!cmcl2!{ccnysci,cucard,hombre}!dasys1!hadji