EX/ NCR TOWER

carl carl at bdaemon.UUCP
Tue Aug 27 13:32:54 AEST 1985


> 
> >I have an application which needs to run an editor script with ex (sed
> >and ed will not do).  Even though my environment is properly set with
> >TERM and TERMCAP, when I type "ex < file", the editor does not seem to
> >know my terminal type. [Plus many replies]

The answer is to use the the 'ex' (or vi) so (for source) command.  Just
put your editor script into some file, say 'edfile' and type
	so edfile
from 'ex' or
	:so edfile
from 'vi'
and your problem is solved.

Carl Brandauer
daemon associates
1760 Sunset Blvd.
Boulder, CO 80302
{allegra|amd|attunix|cbosgd|ucbvax}!nbires!bdaemon!carl



More information about the Comp.unix.wizards mailing list