From owner-freebsd-questions Fri Aug 2 15:29:25 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA06734 for questions-outgoing; Fri, 2 Aug 1996 15:29:25 -0700 (PDT) Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [36.33.0.163]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA06729 for ; Fri, 2 Aug 1996 15:29:24 -0700 (PDT) Received: from localhost (localhost.Stanford.EDU [127.0.0.1]) by andrsn.stanford.edu (8.7.5/8.6.12) with SMTP id PAA18633 for ; Fri, 2 Aug 1996 15:11:48 -0700 (PDT) Date: Fri, 2 Aug 1996 15:11:48 -0700 (PDT) From: Annelise Anderson Reply-To: Annelise Anderson To: freebsd-questions@FreeBSD.ORG Subject: vi question Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Every once in a while I inadvertently use the command :a in vi, and the keyboard gets rewritten--I end up in insert mode and the arrow keys no longer work (instead producing [ characters). The escape key no longer words to get back to command mode. If I'm logged in by dial-up I just hang up when this happens; otherwise I can use another virtual terminal and try to kill the process, but this simply converts all the arrow keys and all the F keys as well as escape to a backspace. Ctrl-D produces a command prompt but nothing can be done with it. There must be something about this I don't know....what do I do to get out of this situation? Thanks Annelise