Path: utzoo!utgpu!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!pyramid!prls!gordon From: gordon@prls.UUCP (Gordon Vickers) Newsgroups: comp.unix.questions Subject: Re: TERMCAP entry for vt220, anyone Message-ID: <16478@prls.UUCP> Date: 4 Nov 88 16:55:41 GMT References: <321@lafcol.UUCP> <601@infmx.UUCP> <887@sbo.UUCP> Reply-To: gordon@prls.UUCP (Gordon Vickers) Organization: Philips Research Labs, Sunnyvale, California Lines: 31 In article <887@sbo.UUCP> larry@sbo.UUCP (Larry Mullen) writes: -> -> In response to the question about how to generate an ESC on a vt220; -> ->To generate an escape on several vt220 lookalikes which we use here, ->I use the sequence CTRL-3 where the 3 is on the main keyboard not the 10 ->key pad. I don't know if this is standard but it's worked on 3 different ->terminals here. -> Larry Mullen -> ...noao!nud!sbo!larry NO, it certainly isn't standard, in fact it's weird ! What is a standard alternitive is CTRL-[ also often written as ^[ . For those interested, a few years ago a wrote a utility that allows VT200, and VT300 users an easy way to redefine functions keys. It automatically programs the ESC key correctly. The user may keep any number of files that contain function key definitions and simply direct the utility's attention to the desired file. This makes it quite easy to redefine the functions keys anytime. It takes just seconds to redefine your keys for any application. You can even put newlines into the definiton ! This program ( called keydef ) has been used at a number of sites, and is believed to be bug free. I wrote it when I was first learning 'C' so the code isn't very pretty, in fact, I'm embarressed by it. Still it works simply, and reliably. I hope to rewrite it soon and post it if there is suffeciant interest. In the mean time, for those who can't wait, drop me a line and I'll email the old version to you. Gordon Vickers 408/991-5370 (Sunnyvale,Ca); {mips|pyramid|philabs}!prls!gordon