From owner-freebsd-questions Mon Mar 10 10:21:04 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA11207 for questions-outgoing; Mon, 10 Mar 1997 10:21:04 -0800 (PST) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA11197 for ; Mon, 10 Mar 1997 10:21:01 -0800 (PST) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.5/8.6.12) with SMTP id KAA01120; Mon, 10 Mar 1997 10:20:56 -0800 (PST) Date: Mon, 10 Mar 1997 10:20:56 -0800 (PST) From: Doug White X-Sender: dwhite@localhost Reply-To: Doug White To: rjmcintire@wilshire.net cc: questions@freebsd.org Subject: Re: Key mapping In-Reply-To: <199703100038.QAA04178@train.tgci.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 9 Mar 1997, Riley J. McIntire wrote: > Thanks for the quick response on the checksum--imapd is up and > working! You're quite welcome. > Another question if you will--a pointer to a tutorial or faq would be > fine. Using bash, I find that the backspace works and the up arrow > scrolls through the command history. When I su to root, though, I > lose this functionality. > > How do I change this? Change your su command to be: su -m This will preserve your environment and shell for the root process. I do this with my csh derviative with the command alias su 'su -m' in my .cshrc. See the bash man page for proper command syntax, and you'll want to put it in your .profile or .bashrc so it's automatically loaded in every shell. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major