From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 14:43:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3804216A4CE for ; Sat, 26 Mar 2005 14:43:07 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 31FA343D5A for ; Sat, 26 Mar 2005 14:43:06 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 73304 invoked from network); 26 Mar 2005 14:43:05 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 26 Mar 2005 14:43:05 -0000 X-pair-Authenticated: 200.115.214.28 Date: Sat, 26 Mar 2005 11:43:52 -0300 From: Alejandro Pulver To: freebsd-questions Message-ID: <20050326114352.7363aa4c@ale.varnet.bsd> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: sh interactive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2005 14:43:07 -0000 Hello, How can I use 'sh' as an interactive shell? My configuration files are the defaults. The file '.profile' has the following: [...] # set ENV to a file invoked each time sh is started for interactive use. ENV=$HOME/.shrc; export ENV [...] The file '.shrc' has the following: [...] # Enable the builtin emacs(1) command line editor in sh(1), # e.g. C-a -> beginning-of-line. set -o emacs [...] However it does not read '.shrc' even if I call it with '-i'. Will this work if I use 'sh' as my default shell (I use 'tcsh')? Thanks and Best Regards, Ale