From owner-freebsd-questions Thu Feb 17 8:37:42 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id B24CB37B773 for ; Thu, 17 Feb 2000 08:37:29 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id SAA94125; Thu, 17 Feb 2000 18:36:56 +0200 (EET) (envelope-from ru) Date: Thu, 17 Feb 2000 18:36:55 +0200 From: Ruslan Ermilov To: "J. W. Ballantine" Cc: questions@FreeBSD.org Subject: Re: passwd file repair Message-ID: <20000217183655.A87609@relay.ucb.crimea.ua> Mail-Followup-To: "J. W. Ballantine" , questions@FreeBSD.org References: <20000217181354.B71035@relay.ucb.crimea.ua> <200002171628.LAA21111@akiva.homer.att.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <200002171628.LAA21111@akiva.homer.att.com>; from J. W. Ballantine on Thu, Feb 17, 2000 at 11:28:44AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Feb 17, 2000 at 11:28:44AM -0500, J. W. Ballantine wrote: > > I tried TERM=vt100, and it sort of works. i.e. it displays the passwd > file (with the first line shifted to the right by about 50 chars) but > the esc key doesn't work. I then tried TERM=cons50 (the setting with > a normal bootup), and vipw starts, but doesn't display the file and > the esc key still doesn't work. > > Any thoughts on what TERM should be set to. > If you work from console, and your console is 80x50 lines, then cons50 should be OK. If your console is normal 80x25, then use `cons25'. As for key, what do you mean it does not work? Are you familiar with vi(1)'s key sequences? in vi(1) is used to "escape" from line-editing mode to `command' mode. E.g., you edit the line, then decide to write your modifications back and exit, you press , then and then again. HTH, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message