Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: notesfiles Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!hp-pcd!orstcs!hakanson From: hakanson@orstcs.UUCP (hakanson) Newsgroups: net.emacs Subject: Re: Unipress #264 TrmTERM patch(es) Message-ID: <13100006@orstcs.UUCP> Date: Thu, 19-Sep-85 03:01:00 EDT Article-I.D.: orstcs.13100006 Posted: Thu Sep 19 03:01:00 1985 Date-Received: Mon, 23-Sep-85 00:27:16 EDT References: <13100005@orstcs.UUCP> Organization: Oregon State University - Corvallis, OR Lines: 33 Nf-ID: #R:orstcs:13100005:orstcs:13100006:000:1152 Nf-From: orstcs!hakanson Sep 18 23:01:00 1985 Well, we have some new Televideo 921 terminals, and they revealed a slight inadequacy in my #264 TrmTERM patches. Here is the fix (patch to TrmTERM.c), which may also prove beneficial to users of similar terminals. If anyone finds the original patches useful, drop me a line. Suggestions are welcome. ============================================================== RCS file: RCS/TrmTERM.c,v retrieving revision 1.3 diff -r1.3 TrmTERM.c 30c30 < * arguement (now 1, as it should be). --- > * argument (now 1, as it should be). 44a45,47 > * Modified 18-Sept-85 by R. Marion Hakanson (OSU). > * - Added BadSO flag ("xs" from termcap), and treat > * these terminals just like magic-cookie terminals. 68a72 > static int BadSO; /* RMH -- 1 if standout not erased by overwriting */ 100c104 < if (HLcookie == 0) --- > if (HLcookie == 0 && !BadSO) 312a317 > BadSO = tgetflag ("xs"); /* standout not erased by overwriting */ ================================================================ Marion Hakanson CSnet: hakanson%oregon-state@csnet-relay UUCP : {hp-pcd,tektronix}!orstcs!hakanson Brought to you by Super Global Mega Corp .com