SCRIPTSE

Section: User Commands (1)
Updated: local
Index Return to Main Contents
 

NAME

scriptse - make scripts for se  

SYNOPSIS

scriptse [-d] < script_file | se [&]  

DESCRIPTION

Scriptse reads standard input, and writes standard output. It is a simple filter which turns newlines ('\n') into carriage returns ('\r') for se(1). This allows se to be run from a prepared script. Se can then be fired off into the background, if you wish.

After each carriage return, scriptse adds an ASCII DEL character ('\177'). This is so that command lines which fail will be erased, and the next command can then be executed. If it did not, command lines would get concatenated together, and they would simply continue to fail. Ultimately, the editor would run out of input buffer and start to contiunuously ring the bell on the terminal. With the DEL character, each command line is executed on its own.

Scriptse takes one option, -d. If this option is used, scriptse will not add the ASCII DEL after each carriage return. This is useful for program which want to turn newlines into carraige returns, for instance when sending files across the VAX link to the Primes.

If you do use a script, either sit back and watch it run, or redirect the output into a file (or /dev/null, if you are confident).  

SEE ALSO

se(1).  

CAVEATS

It is rather difficult to interrupt se when it is running, so editor scripts should write their changed buffer to a new file, in case something goes wrong.  

BUGS

Does no checking for any of se's control characters. If you put control characters into a script, you are taking your chances.


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
CAVEATS
BUGS

This document was created by man2html, using the manual pages.
Time: 21:49:53 GMT, February 02, 2023