Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site bdaemon.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!hao!nbires!bdaemon!carl From: carl@bdaemon.UUCP (carl) Newsgroups: net.unix-wizards,net.unix Subject: Re: EX/ NCR TOWER Message-ID: <303@bdaemon.UUCP> Date: Mon, 26-Aug-85 23:32:54 EDT Article-I.D.: bdaemon.303 Posted: Mon Aug 26 23:32:54 1985 Date-Received: Thu, 29-Aug-85 23:28:22 EDT References: <120@pyuxv.UUCP> Organization: Daemon Assoc., Boulder, CO Lines: 19 Xref: linus net.unix-wizards:11764 net.unix:4891 > > >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