home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
646a.lha
/
Remote
/
remote.doc.pp
/
remote.doc
Wrap
Text File
|
1992-06-25
|
8KB
|
191 lines
REMOTE AUX: Support Steve Drew
-------------------
Here are some utilities I wrote to enchance and support,
remote AUX: logins. Including Zmodem transfers, editing
files, and my enchanced AUX: handler. When combined with Getty
(from UUCP package by Matt Dillon) and csh a nice aux: enviroment
is only a phone call away.
I Files included
~~~~~~~~~~~~~~
Remote-Startup
Mounts sd-aux-handler, dismounts the cmd one if
already mounted (dismount only works on 2.0) It
relies on the assigned name Rem: to be the directory
for these files.
guruhandler
This program patches the DisplayAlert() Rom call to
simulate a left mount button push, whenever the RED
GURU box would normally be called. The result is an
unattended reboot, ideal for over the aux port. So
if your machine should happen to crash for any
reason, it will not wait at the Guru BOX but rather
continue to reboot.
Guruhandler does more that just allow the system to
reboot it also gathers any information it can about
the reason for the crash and saves this in memory.
Then any time later you can enter the command
'guruhandler -l' to obtain the reason for the crash.
Heres an example of a odd address trap (code 3):
1> REM:Guruhandler -l
System Crash Information:
Alert Code : 00000003
Process Id : 00234948
Process Type: PROCESS
Task Name : ARP Shell Process
CLI Command : dh0:progs/crasher
Total Reboots/Gurus : 4/1
1>
sd_aux_handler
mountlist.aux
This is version 1.2 of my aux handler an upgrade to
version 1.0a release a couple of years ago.
- Supports AZ Zmodem program (see below)
- ^R key (retype current line)
- Better typeahead handling. Typing a
command while the display is active, does
not stop the current output, instead it is
buffered and printed after the next CLI
prompt. (Like VMS). To stop the current
output just use standard XON, XOFF. This
is much better when over the modem as with
the 1.3 aux: handler any line noise would
stop the current output until ^X or <CR>
was entered.
- When the typeahead buffer is full AUX:
sends a BELL back to the user.
- Support to 'kill off' a AUX: CLI process
via the 'ECHO >AUX:ENDCLI' command from
another CLI window.
- Prevents multiple 'NEWCLI AUX:' commands.
- Suspends input/output on loss of carrier.
The mountlist file needs to be inserted into your
DEVS:mountlist file. Make sure to remove the
definition of the commodore AUX: handler from your
mountlist if you are planning to use mine.
aux.login
This is the login file run by the NewShell process
that is started over the AUX:. It sets up a few
aliases, and to make az easy to use, and also ensures
cleanly exiting of shell process.
This is written for csh517 or higher, similiar
aliases can be done with commodore shell.
NOTE: If using csh517c or higher, csh -t will turn of
the requesters and reqoff is not needed.
emacs
.emacsrc
This is standard Emacs 3.9 which I have modified to
support running over the AUX: port to any ansi style
terminal. (It also still works fine on other than
the aux: port) The .emacsrc file redefines a few
keys such not using ^S for search, and should be in
your current directory or C: directory.
az
A utility I wrote that uses XPRZmodem.library file
protocol. AZ opens shares the port with the AUX:
and provides the interface i/o routines that
XPRZmodem requires. This will not work with the
commodore 1.3 or 2.0 AUX: handler, since the cbm
AUX: handler does not support any method of
releasing the Serial port to a protocol program. The
aux.login file contains aliases for az. It defines
the alias 'rz' and 'sz' for sending and receiving
files.
For help on AZ's options type AZ <Return>. This
utility requires the XPRZmodem.library file, (version
1.0 or version 2.0).
aux.newcli
auxshell-start
These are used to setup sd-aux-handler to work with
UUCP/Getty logins. aux.newcli spawns a wait cmd so
that control is not returned to getty until the
newcli'd shell exits.
The Getty passwd entry would look as follows:
drew,pass,202,0,(Steve Drew),UUPUB:,execute rem:auxshell-start
II Installation instructions
~~~~~~~~~~~~~~~~~~~~~~~~~
1. Unpack all files into a directory:
2. Add to your startup-sequence (user-startup)
Assign Rem: dev:directory
Execute Rem:Remote-Startup
3. Add the line to your passwd file as noted above if you wish
to be able to login under Getty. (Getty is avail with UUCP
package by Matt Dillon).
III Notes
~~~~~
- REMOTELY Stopping an AUX: Process
Once a CLI is running on the AUX: port, you can remotely
cause the CLI to 'ENDCLI' by issuing the following command:
ECHO >AUX:ENDCLI , from another CLI window.
The sd-aux-handler detects a file open request for
'AUX:ENDCLI' and imediatley causes an ENDCLI command to be
sent to the current reader of the AUX: device. Note: This
does not work with the 1.3 AUX: handler, and will not work
if the CLI running on the AUX: is currently running a
program, ie not at the cli or shell prompt.
--------------------------------------------------------------------
Author:
Steve Drew
216 MacEwan Valley Mews N.W.
Calgary, Alberta
Canada.
T3K 3T3
403-295-3601 (Home)
403-295-4357 (Work)
drew@cgou11.enet.dec.com
----------------------------------------------------------------------