Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!eagle.tamu.edu!j1h9453 From: j1h9453@eagle.tamu.edu (Joel Andrew Huddleston) Newsgroups: comp.unix.ultrix Subject: Re: vt240 & termcaps / escape key problems Message-ID: <17776@helios.TAMU.EDU> Date: 25 Jun 91 15:21:42 GMT References: Sender: usenet@helios.TAMU.EDU Organization: Academic Computing Services Lines: 27 In article , braun@dri.com (Kral) writes: |> |> The problem is, the escape key on the vt240 sends a "]23~", which editors |> like vi interpret as a combination of garbage and "change case" commands; the |> usual affect is to change the case of the character under the cursor and move |> the cursor forward one character. |> |> Her TERM env variable is set to vt200. What are we doing wrong? The problem is that the key labeled (ECS) on the vt240 keyboard is only an escape key if you are in vt100 mode. In the GENERAL setup on the terminal, set the first real select box to "vt100 mode" and the (ESC) key will work like an escape alone. Or, press ctrl-[ to send an escape. It is generally just as easy to find as the F11 key anyway. If neither of these is acceptable, you could add a commmand to her .exrc file which maps ^[[23~ to just ^[. It would look something like this: :map! ^[[23~ ^[ To enter the two escape characters, you will have to type ^V first. I hope one of these ideas helps. -- Joel Huddleston eka j1h9453@zeus.tamu.edu Peace: Not just the absence of war but the absence of fear. War: Not just the absence of peace but the absence of cowardice. Disclaimer: Not just the absence of blame but the absence of repsponsiblilty.