Remote operation of a PC from a UNI

brian at prism.UUCP brian at prism.UUCP
Thu Oct 16 07:51:00 AEST 1986


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 at 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
(((((((( * ))))))))
---



More information about the Comp.unix.wizards mailing list