Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site dataio.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!uw-june!entropy!dataio!weil
From: weil@dataio.UUCP (Steve Weil)
Newsgroups: net.unix-wizards
Subject: Strange behavior from ex when input is redirected
Message-ID: <775@dataio.UUCP>
Date: Thu, 15-Aug-85 12:24:05 EDT
Article-I.D.: dataio.775
Posted: Thu Aug 15 12:24:05 1985
Date-Received: Sun, 18-Aug-85 02:18:02 EDT
Organization: Data I/O Corp., Redmond WA
Lines: 17

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.  On the VAX (4.2) this is not so bad, but on an
NCR Tower ex refused to do any editing without a cursor addressable
terminal.  Depending upon specifics, I got messages like:
    Terminal must have UP capability to use open/visual mode
(even thought the only command in the file was "set"), or
    Unknown terminal type "dumb"

Is anyone familiar with this problem?  Is there a workaround?
By the way, does the Tower have a Unisoft port?
	Thanks in advance,

Steve Weil		Data I/O
dual!unisoft!dataio!weil	entropy!dataio!weil
ucbvax!lbl-unix!uw-beaver!teltone!dataio!weil