From owner-freebsd-questions@FreeBSD.ORG Thu Jan 23 04:10:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4905CA for ; Thu, 23 Jan 2014 04:10:33 +0000 (UTC) Received: from maul.immure.com (immure.com [107.218.164.241]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 74819185E for ; Thu, 23 Jan 2014 04:10:30 +0000 (UTC) Received: from [10.1.132.9] (helo=rancor.immure.com) by maul.immure.com with esmtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1W6BcT-000PQz-Ag for freebsd-questions@freebsd.org; Wed, 22 Jan 2014 22:10:24 -0600 Received: from rancor.immure.com (localhost [127.0.0.1]) by rancor.immure.com (8.14.7/8.14.7) with ESMTP id s0N4ALCn053496 for ; Wed, 22 Jan 2014 22:10:21 -0600 (CST) (envelope-from bob@rancor.immure.com) Received: (from bob@localhost) by rancor.immure.com (8.14.7/8.14.6/Submit) id s0N4ALpT053495 for freebsd-questions@freebsd.org; Wed, 22 Jan 2014 22:10:21 -0600 (CST) (envelope-from bob) Date: Wed, 22 Jan 2014 22:10:21 -0600 From: Bob Willcox To: questions list Message-ID: <20140123041021.GA50784@rancor.immure.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-SA-Exim-Connect-IP: 10.1.132.9 X-SA-Exim-Mail-From: bob@immure.com X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on maul.immure.com X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 Subject: mksh forgets the 'set -o vi' setting X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on maul.immure.com) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Bob Willcox List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 04:10:33 -0000 With release 10.0 I've had to switch from using pdksh to mksh as my shell and have noticed that mksh doesn't remember the 'set -o vi' setting when forking and execing a new mksh process. The other shells I've used (pdksh, ksh93, & bash) have always retained the vi setting but for some reason mksh doesn't. Is there some way to get mksh to behave as the others? Thanks, Bob -- Bob Willcox | Philosophy, n.: bob@immure.com | Unintelligible answers to insoluble problems. Austin, TX |