From: martin@iastate.edu (Calsyn Martin Robert)
Subject: Re: dxterm
Date: 17 Jan 91 14:37:20 GMT [thread overview]
Message-ID: <1991Jan17.143720.23000@news.iastate.edu> (raw)
In-Reply-To: 21124@netcom.UUCP
In article <21124@netcom.UUCP> fisk@netcom.UUCP (Benjamin Fisk) writes:
>
>While using ULTRIX 4.1, I set the application keypadd on.
>The keypadd gets set off automatically by various applications,
>including "vi".
>Is there some preferred termcap entry that I should use?
>Is this a bug?
I just finished wrestling with this one under ULX 4.1. vi does lots of
nasty stuff and the best way to insure complete reinitialization of the
curses environment is with this sort of constuct:
endwin();
run("/usr/ucb/vi",pathname,NULL);
wrefresh(titlescreen);
...where run() is a vfork-and-exec var-arg function and titlescreen is the
screen I need to refresh after vi mucks things up. The wrefresh call
notices that endwin() has been called and reinitializes the curses
environment including the tty and term setups. Note that I have only
used this with cursesX. I use the same construct for calling emacs and
the paginators 'more' and 'less'.
Martin R. Calsyn martin@iastate.edu
Project Vincent Systems Support gg.mrc@isumvs.bitnet
Iowa State University Computation Center voice: (515) 294-9889
Ames, Iowa 50011 fax: (515) 294-1717
parent reply other threads:[~1991-01-17 14:37 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <21124@netcom.UUCP>]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox