craig@unicus.UUCP (Craig D. Hubley) (06/24/87)
>>>8) There should be an unettended mode, where all requestors automatically >>>return failure. This would allow the machine to reliably run a BBS or operate >>>as a SCADA master-station. >> >> Setting the pr_Window field in a process's process structure causes >>DOS to return an error immediately without asking for user assistance. > > >False. The printer driver will still put up "Printer problems", >the disk device will still put up "I/o error", the disk validator will >still put up "Use disk doctor", etc. > >The point is, that only stops YNUR task's messages, not messages from tasks >that you call. I think you missed the point, guys. The fact that it is POSSIBLE to enter a MODE whereby errors will be ignored in YOUR program is somewhat orthogonal to the issue of: what if I want to leave my machine alone, with all of its programs, alone for a while? I think what's being asked for is a way, from CLI or workbench, to set this "pr_Window" field in the process structure for ALL PROCESSES when you walk away from the machine, and then reset them all when you return. This, or something equivalent, would let you leave the machine alone and chug away on many many tasks while you ate dinner or something. This could happen at several stages of a given program, and so asking the DOS to support it, rather than ALL PROGRAMMERS IN ALL PRODUCTS IN ALL PLACES where it might be needed is not quite there. I would suggest a "I'm going away" and "I've come back" menu item somewhere, that toggles. Maybe in Project. Craig Hubley, Unicus Corporation, Toronto, Ont. craig@Unicus.COM (Internet) {seismo!mnetor, utzoo!utcsri}!unicus!craig (dumb uucp) mnetor!unicus!craig@seismo.css.gov (dumb arpa)
bryce@COGSCI.BERKELEY.EDU (Bryce Nesbitt) (07/28/87)
In article <> ?peter@sugar? typed: >>> >>>8) There should be an unettended mode, where all requestors automatically >>>return failure. This would allow the machine to reliably run a BBS or operate >>>as a SCADA master-station. >> > I would suggest a "I'm going away" and "I've come back" menu item somewhere, > that toggles. Maybe in Project. How about an icon?? If that will do, here's a program to do what you want. But please answer this someone, what's a SCADA master-station?? Cancel! may be run from the CLI or the Workbench. When you go away, fire it up and all requesters that may be generated by disk full, printer problems, or whatever will be Cancel!'ed. This prevents the system from waiting for user input that may never come. If you ever return, you may deactivate Cancel! Icon for this program was modified from "nofastmem". Source code, comming soon to a comp.sources.amiga group near you... ------------- Cancel! V1.0 --------------- begin 644 Cancel! M```#\P`````````!``````````````"W```#Z0```+<H`"QX``0J;@$4<``B@ M+0"L9@A![0!<3J[^@"\`?A1#^@)Y3J[^:"H`9P``H$/Z`EE.KOYH+`!G``",P M2I=G1%(N`2=A``%8+P!.KO]V80`!$G``<@`D/````4!V1)'(E<I'^@&X2I=FX M!D/Z`6!@!$/Z`8(L1DZN_J0L>``$(!]F!F<84X1G%&$``-A*EV8N0?H!V'8<0 M80``1F`B80``9F<.2I=F&$'Z`:5V'6$P9@XB;@$4<&<C0`"4?A1@`GX`(D9.8 MKOYB(D5.KOYB)!]G"E(N`2<B0DZN_H8@!TYU+PXL120(3J[_Q"(`+P%.KO_0Q M0?H!M2(?)`AV`4ZN_]`L7[:`3G5A``"89P``5"`\````-"(\``$``4ZN_SI*' M@&8"3G4O"B)`0?H!@G(,(MA1R?_\)$!!Z@``(`@P?/ZD(D9.KOY<)4``!$'JH M`!@@"#!\_I@B1DZN_EPE0``<)%]P_TYU4BX!)S!\_I@B1F$``#9F!$ZN_EPP/ M?/ZD(D9A```F9A@O`4ZN_EQ.KO]V(E\@/````#1.[O\N3G5.[O]V,'S^I")&F M2.<@P"!Q@`(B"%B((!A0B$/Z`01T![,(5LK__&<$<`!R_TS?`P1.=0`!`0``2 M%``&`````````BX```'>``$!```4`!$````````"2P```````0$``!0`!@``Y M``````(N```"!@`!`0``%``1`````````F@```````$!```&``,````````"6 MA`````!#86YC96PA+""I,3DX-R!"<GEC92!.97-B:71T`%)E<75E<W1E<G,@: M=VEL;"!B92!#86YC96QE9"$`4F5Q=65S=&5R<R!A<F4@;F]W(&5N86)L960N' M`$]K`&EN='5I=&EO;BYL:6)R87)Y`&1O<RYL:6)R87)Y``H``&`N2OP`````' M``````````%#86YC96PA`&`62OP```````````````%#86YC96PA`'``3G4`_ M``/L````!P````````(F```"$@```@(```'^```!Z@```=H```'6````````2 "`_+LA `` end size 812 begin 644 Cancel!.info MXQ```0```````````#,`%0`%``,``0#`5L@`````````````````````````C M`````[P``````````````-8````>```````````````````````S`!4``@#!^ MO2@#````````````````````?__```````_@`/X`````?``!X\````'```/`W M,```!W555XA\```,:JJO"&8``!AU55X(80``,&``/`!A@``P9D1X8&&``#!C5 MX/0\88``,&`!X`!A@``P9_O`_F&``!AG]X#^80``#&`/``!F```'?]Y___P`( M``'`/```<````'AX``'`````#_``/@``````?__``````````````````/__7 MX``````/___^`````'_@`?_````!_``#\_````?```?@/```'P``#_>?```\7 M```?]X>``'@``#_W@<``\```?@`!X`#P``#\``'@`/```?@``>``\``#\``!6 MX`#P!__@_@'@`'@'_\#^`<``/``?@``'@``?`#\``!\```?`?@``?````?C\G =``'P````?_@`/\`````/___^``````#__^``````0 `` end size 434 |\ /| . Ack! (NAK, EOT, SOH) {o O} . ( " ) bryce@cogsci.berkeley.EDU -or- ucbvax!cogsci!bryce U "The difference between genius and stupidity it that genius has its limits" -unknown