[net.unix-wizards] Remote operation of a PC from a UNI

brian@prism.UUCP (10/16/86)

To get files onto a disk in your pc system using no editors,
try 

copy con filename
then type your text, ending it with a control-z return
( good way to write config.sys files if you can type reliably)
 
As far as making sure that you can abort any application, you might
try (if you can do modem control to the port) writing
a program to enable interrupts from COM1 or 2 (whichever you are using)
and programming the 8250 to interrupt when the carrier line drops (if 
you have such control from your unix box).  Have the 8250 interrupt
handler call the DOS terminate interrupt (I think it's 23 or 24). Of course,
you may have to fix up the stack or other nastiness.

The interrupt trick should work with most applications that don't let you 
interrupt with control-c (or break). Forget about obnoxious apps that
look for things like this.  In that case, hardwire the interrupt line to the
reset line (and hope that your disk isn't being written to when that line
gets pulled low)
 
----
Brian K. Moran  brian@mirror.TMC.COM	
               {mit-eddie, ihnp4!inmet, wjh12, cca, datacube}!mirror!brian
Mirror Systems	2067 Massachusetts Avenue  Cambridge, MA, 02140
Telephone:	617-661-0777 extension 141
(((((((( * ))))))))
---

plocher@puff.wisc.edu (John Plocher) (10/23/86)

>As far as making sure that you can abort any application, you might
>try (if you can do modem control to the port) writing
>a program ...
>                            In that case, hardwire the interrupt line to the
>reset line (and hope that your disk isn't being written to when that line
>gets pulled low)

  There is a PUBLIC DOMAIN program on most Fido BBS's called watchdog
which latches on to the clock interrupt and lookes at the carrier
detect signal from the com port.  if it ever goes away, watchdog forces
a reboot. Watchdog can be turned off/on in a batch file (autoexec...).

  Sorry about posting this to net.wizards, it really should go in
net.micro.pc...
-- 
"Never trust an idea you get sitting down" - Nietzche
------------	{harvard,seismo}!uwvax!uwmacc!uwhsms!plocher        (work)
John Plocher    {harvard,seismo}!uwvax!puff!plocher                 (school)
------------	decvax!encore!vaxine!spark!121!0!John_Plocher       (FidoNet)