Trailing-Edge
-
PDP-10 Archives
-
walsh_goodStuff_1600
-
more-uns/newrun.txt
There are no other files named newrun.txt in the archive.
THE "NEWRUN" PROGRAM
NEWRUN ALLOWS THE ENTIRE
TTY INPUT TO A JOB TO COME FROM AN ARBITRARY FILE, AND ALLOWS THE
JOB'S TYPESCRIPT (WHAT THE TERMINAL PAPER WOULD LOOK LIKE IF YOU
REALLY WERE TYPING AT THE JOB) TO BE STORED ON AN ARBITRARY FILE.
ALMOST ALL FILES THAT WERE INTENDED AS INPUT TO "RUNFIL" WILL WORK
UNDER "NEWRUN" WITH NO PROBLEMS.
TO USE NEWRUN, YOUR EXEC LINE SHOULD OFTEN LOOK LIKE THIS:
@NEWRUN FILE
WHERE "FILE" IS THE FILE CONTAINING THE TYPIN. IF YOU WANT THE
TYPESCRIPT TO GO SOMEWHERE THAT'S NOT NECESSARILY YOUR TERMINAL,
YOUR COMMAND LINE SHOULD LOOK LIKE THIS:
@NEWRUN FILE,FILE2
WHERE "FILE2" IS THE NAME OF THE FILE ON WHICH YOU WANT THE TYPESCRIPT
STORED.
IF THE INPUT FILE IS A TERMINAL, A CONTROL-Z TYPED WILL END THE SESSION.
ADVANTAGES OVER "RUNFIL":
1) THE TYPESCRIPT WILL ALWAYS BE CORRECT IN APPEARANCE.
2) TYPING CONTROL-C AT NEWRUN IS FINE, BUT SCREWS UP RUNFIL.
3) "DETACH (AND) CONTINUE" IS O.K. TOO.
HERE ARE THE THREE MOST USEFUL WAYS OF EMPLOYING NEWRUN:
1) @NEWRUN FILE
THIS COMMAND INTERPRETS THE CONTENTS OF "FILE" AS TERMINAL
INPUT TO A JOB. YOU WILL SEE THE ENTIRE JOB TRANSACTION
APPEAR ON YOUR TERMINAL.
2) @NEWRUN FILE1,FILE2
THIS IS JUST LIKE 1) EXCEPT THAT THE JOB TRANSACTION GETS
STORED IN "FILE2" INSTEAD OF BEING PRINTED ON YOUR TERMINAL.
3) @NEWRUN TTY:,FILE
THIS ALLOWS YOU TO TYPE TO A JOB AS YOU NORMALLY DO, BUT
EVERYTHING APPEARING ON YOUR TERMINAL ALSO GETS SAVED IN
"FILE". THIS IS QUITE USEFUL IF YOU WANT TO KEEP A LOG
OF EXACTLY WHAT HAPPENS DURING YOUR TERMINAL SESSION.
WHAT NEWRUN REALLY DOES IS INITIALIZE A JOB ON A PTY AND SEND A CHARACTER
FROM YOUR SPECIFIED INPUT FILE TO THE PTY EVERYTIME THE JOB ON THE PTY
IS HUNGRY. ANY OUTPUT TYPED ON THE PTY IS SAVED BY NEWRUN ON THE
SPECIFIED OUTPUT FILE, WHICH DEFAULTS TO TTY: IF THE INPUT FILE NAME
IS INITIALLY FOLLOWED BY A CARRIAGE RETURN. ENTER THE INPUT FILE NAME
FOLLOWED BY A COMMA TO SPECIFY A TYPESCRIPT FILE.
NEWRUN LOGS IN THE JOB FOR YOU IF YOU DON'T START YOUR INPUT FILE
WITH A CONTROL-C. THIS FEATURE MAKES RUNFIL INPUT FILES WORK OVER
NEWRUN TOO.
NEWRUN connects the PTY job to whatever directory you are connected
to while running NEWRUN.
CONTROL-B IS A SPECIAL CHARACTER WHILE NEWRUN IS RUNNING. IF YOU TYPE
CONTROL-B, NEWRUN TAKES THE NEXT CHARACTER FROM YOUR TERMINAL AND SENDS
IT TO THE JOB. IF THAT NEXT CHARACTER IS AN UPARROW, HOWEVER, NEWRUN
READS THE CHARACTER AFTER THE UPARROW, AND SENDS THE CONTROL CHARACTER
CORRESPONDING TO THAT CHARACTER (INSTEAD OF SENDING THE UPARROW).