Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.terminals Subject: Re: digital vt220 question Message-ID: <7672@brl-smoke.ARPA> Date: 12 Apr 88 14:59:59 GMT References: <588@nvuxl.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Distribution: na Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 31 Keywords: question-digital vt220 In article <588@nvuxl.UUCP> myron@nvuxl.UUCP (Myron Seto) writes: >access Unix. The funny thing about this >terminal is that the delete key is not acting >like a delete key. When I use it, it acts like >a Break and Return key instead. It doesn't >simply erase the preceding letter and backspaces. >Instead, it exits out of the whole command or >whatever and gives me a new prompt. That's the standard UNIX behavior. Berkeley variants often change the interrupt-generating character to ^C, apparently inspired by DEC operating systems. You can make this any character you want via "stty". >I have tried a number of things (playing with >the "Set-Up", trying to change my stty erase >(this won't work cause with the command >stty echoe erase 'delete key', I simply exit >this command and it is never communicated.), You need to change both the erase character (which is probably initially set to # or backspace) AND the intr character, via "stty". Most people set these things up in their .profile (shell start-up command file). To avoid having these characters act with their special meaning, escape them or better yet use the "caret notation" for them, e.g. stty intr '^c' erase '^?' Alternatively, learn to use backspace as an erase character.