Article View: comp.sys.mac
Article #30358Re: uw and termcap (was:Re: windows/buffers in jove)
From: Earle R. Horton
Date: Wed, 20 Jul 1988 06:40
Date: Wed, 20 Jul 1988 06:40
32 lines
2177 bytes
2177 bytes
In article <544@sequent.cs.qmc.ac.uk> sheridan@nss.cs.ucl.ac.uk writes: >or_perhaps_Reply_to: flash@cs.qmc.ac.uk >Be careful, uw on startup re-defines your TERM variable, but not TERMCAP. >This is what caught me. This is an oversight on the part of the author. Uw DOES define your TERMCAP variable on startup, if and only if you are using adm31 emulation. This is because John Bruner uses only the adm31 emulation himself, I think. The problem is easily fixed if you have access to the uw sources on your host, and can persuade your system administrator to let you fix them. (Even better if you ARE the sysop!) The TERMCAP strings are defined in server/uw_tty.c, and all you have to do is fill in the missing ones. It has been a long time since I did this, but I have a uw server here which fills in environment TERMCAP entries for adm31, ansi, vt52, and tek! For added zest, a few lines of code added to uw_fork.c lets you use uwtool to put up a new window of a different type and with the correct TERMCAP defined. I sent John Bruner mail on this point a few times, but got no reply, for whatever reasons. I conclude that either he is too busy, doesn't perceive this as a problem, or simply didn't get the mail. Since the program contains a copyright notice, I wouldn't feel right posting diffs, but any competent C programmer should be able to fix this once he finds the line defining the TERMCAP string. Earle Horton Earle R. Horton. H.B. 8000, Dartmouth College, Hanover, NH 03755
Technical Details
Message-ID:
<9388@dartvax.Dartmouth.EDU>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!necntc!linus!dartvax!eleazar.dartmouth.edu!earlehReferences:
<64000002@pyr1.cs.ucl.ac.uk> <369@mergvax.UUCP> <535@sequent.cs.qmc.ac.uk> <306@corona.pb> <544@sequent.cs.qmc.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ames!necntc!linus!dartvax!eleazar.dartmouth.edu!earleh From: earleh@eleazar.dartmouth.edu (Earle R. Horton) Newsgroups: comp.sys.mac Subject: Re: uw and termcap (was:Re: windows/buffers in jove) Keywords: TERMCAP Message-ID: <9388@dartvax.Dartmouth.EDU> Date: 20 Jul 88 06:40:07 GMT References: <64000002@pyr1.cs.ucl.ac.uk> <369@mergvax.UUCP> <535@sequent.cs.qmc.ac.uk> <306@corona.pb> <544@sequent.cs.qmc.ac.uk> Sender: news@dartvax.Dartmouth.EDU Reply-To: earleh@eleazar.dartmouth.edu (Earle R. Horton) Organization: Dartmouth College, Hanover, NH Lines: 31