Article View: comp.sys.ibm.pc.misc
Article #855Re: uw (unix windows) is great!
From: Rhys Weatherley
Date: Mon, 13 Apr 1992 02:29
Date: Mon, 13 Apr 1992 02:29
45 lines
2636 bytes
2636 bytes
In <3888@phoenix.pub.uu.oz.au> markd@phoenix.pub.uu.oz.au (Mark Delany) writes: >>Has anyone gotten the terminal emulations to work correctly? i would >>ideally like a vt100 emulator, since adm31 doesn't recognize the PC >>cursor keys. (Then again I'm no UNIX guru, and wouldn't know how to >>fix it if it were easy..) ADM31 does recognise the PC cursor keys, but since ADM31 uses control characters rather than longer escape codes like VT100 does, some programs may "eat" these control characters for other purposes, and render the cursor keys ineffective. >Changing the terminal type on the Unix server is pretty trivial (see >server/uw_tty.c). You would not need to be a UNIX guru to do this. >Changing the emulator on the PC end is not so easy as that is where the >emulation actually occurs. You may need to be a PC guru to do this. VT100 will be available in the next version of UW/PC on the PC end. However, it's not entirely necessary to hack the Unix server, though it would be advantageous. By adding a couple of lines like the following to your .cshrc or .kshrc file, you can make the Unix side switch to the right emulation on every newly-created window: case $TERM in adm31|ansi) TERM=vt100 export TERM;; *) ;; esac (I don't know the csh equivalent). I currently use something like this for making it use ANSI rather than ADM31, because the UW server always creates the first window using the ADM31 emulation. I hope to fix this too by making changes to the PC side to override ADM31 with the user's prefered terminal type automatically. Future versions of UW/PC may be distributed with patches to the Unix server to add VT100 support. Cheers, Rhys. +=====================+==================================+ || Rhys Weatherley | The University of Queensland, || || rhys@cs.uq.oz.au | Australia. G'day!! || || "I'm a FAQ nut - what's your problem?" || +=====================+==================================+
Technical Details
Message-ID:
<7522@uqcspe.cs.uq.oz.au>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!rhysReferences:
<ktb3v3INNkne@almaak.usc.edu> <1992Apr1.221041.13465@b15.b15.ingr.com> <1992Apr4.102614.16624@bronze.ucs.indiana.edu> <3888@phoenix.pub.uu.oz.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!rhys From: rhys@cs.uq.oz.au (Rhys Weatherley) Newsgroups: comp.sys.ibm.pc.misc,comp.unix.misc,comp.binaries.ibm.pc.archives Subject: Re: uw (unix windows) is great! Keywords: comm software; multi windows Message-ID: <7522@uqcspe.cs.uq.oz.au> Date: 13 Apr 92 02:29:07 GMT References: <ktb3v3INNkne@almaak.usc.edu> <1992Apr1.221041.13465@b15.b15.ingr.com> <1992Apr4.102614.16624@bronze.ucs.indiana.edu> <3888@phoenix.pub.uu.oz.au> Sender: news@cs.uq.oz.au Reply-To: rhys@cs.uq.oz.au Followup-To: comp.sys.ibm.pc.misc Lines: 45