Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!vsi1!wyse!mips!sultra!dtynan From: dtynan@sultra.UUCP (Dermot Tynan) Newsgroups: comp.os.minix Subject: signal handling and printer driver Keywords: SIGINT, no tabs. Message-ID: <2410@sultra.UUCP> Date: 20 Sep 88 19:05:53 GMT Organization: Ultrasystems DSI, Sunnyvale, CA Lines: 38 I got Barry's printer driver (running 1.2) to run. I am late in sending out invoices, and invoices == money, so there was a major effort underway early this morning, to get everything up and running. It worked just fine, except for a couple of things; tabs were all over the place. I haven't had a chance to look at the driver yet, so it might even be my printer. I fixed the problem by quickly editing the invoices and replacing all tabs with spaces. In the future I will probably write a QnD (quick and dirty) program to convert them, if one doesn't exist. When I reprinted the files, I could see no traces of missing characters, or anything, so it is looking good! One other problem I did find, however, is that if I turn off the printer, the system hangs until I turn it back on. Again, I'll take a closer look tonight. All-in-all, it seemed to perform just fine. I hope to have gathered all the 1.3 diffs by the end of the week, and will implement them this weekend. So, Barry, I'll see if there is anything obvious about why it won't work with 1.3. Thanks for the new code -- I can now print decent invoices, etc. When running ''make'' in the background, I noticed a strange phenomenon. If, say, I run 'make &', and then type a file; if I hit ^C (or whatever the SIG_INT character is), make aborts. A quick look at the code showed a call to cause_sig() (if memory serves). This signals the process referenced by LOW_USER + line + 1 (again if mem serves), which seems to affect make running in the background. Has anyone come across this before? If so, what did they do to fix it? And finally, is it also present in 1.3? Please respond by email - I'll summarize. - Der BTW; I finally managed to pull something out of Vincent Broman's archive, thanks for the help Vincent. Anyway, I kinda feel guilty about transmitting a ton and a half of 1.3 diff files through the net, and seeing as I had some requests from people to let them know where the diffs are, if you are in the Bay Area, and want the stuff, let me know, and I'll send them to you. That way, the ''cost'' is distributed. -- Reply: dtynan@sultra.UUCP (Dermot Tynan @ Tynan Computers) {mips,pyramid}!sultra!dtynan Cast a cold eye on life, on death. Horseman, pass by... [WBY]