From owner-freebsd-ports Fri Jul 17 10:23:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16839 for freebsd-ports-outgoing; Fri, 17 Jul 1998 10:23:05 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from rige.physik.fu-berlin.de (rige.physik.fu-berlin.de [160.45.33.59]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16802 for ; Fri, 17 Jul 1998 10:22:52 -0700 (PDT) (envelope-from thimm@rige.physik.fu-berlin.de) Received: (from thimm@localhost) by rige.physik.fu-berlin.de (8.8.8/8.8.8) id TAA13754; Fri, 17 Jul 1998 19:22:39 +0200 (CEST) (envelope-from thimm) Message-ID: <19980717192238.A8308@physik.fu-berlin.de> Date: Fri, 17 Jul 1998 19:22:38 +0200 From: Axel Thimm To: ports@FreeBSD.ORG, dannyman@enteract.com, dannyman@dannyland.org, Greg Lehey , obrien@NUXI.com Subject: Re: mutt-emacs-sh and curses (was Re: pine4 and mutt) References: <19980712012442.C26465@enteract.com> <19980716013329.A1330@nuxi.com> <19980716234906.A4268@physik.fu-berlin.de> <19980716155256.B27595@nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93i In-Reply-To: <19980716155256.B27595@nuxi.com>; from David O'Brien on Thu, Jul 16, 1998 at 03:52:56PM -0700 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Jul 16, 1998 at 11:49:06PM +0200, Axel Thimm wrote: > According to the mutt user list, /bin/sh from FreeBSD is `broken' in such a > way, that e.g. a spawned emacs as an editor doesn't get a ^G > through. Instead mutt aborts the current command and emacs is detached. On Fri, Jul 17, 1998 at 09:52:40AM +0930, Greg Lehey wrote: > See this reply? It was written in an Emacs editor invoked from mutt. > Before I started the reply, I pressed ^G several times. In other > words, the information from the list is wrong. It is not only the information from the list, it is my own system behaving that way (-stable Jul 11, Mutt 0.93i (1998-07-10) with ncurses 1.8.6/ache on xterm from XFree86 3.3.2) On Thu, Jul 16, 1998 at 03:52:56PM -0700, David O'Brien wrote: > I would rather someone figure out what changed in /bin/sh from 2.2-STABLE to > 3.0-CURRENT, than depend on another shell. Does it work on -current? From mutt' INSTALL file: > --with-exec-shell=SHELL > on some versions of unix, /bin/sh has a bug that makes using emacs > with mutt very difficult. If you have the problem that whenever > you press control-G in emacs, mutt and emacs become very confused, > you may want to try using a Bourne-derived shell other than > /bin/sh here. Some shells that may work are bash, zsh, and ksh. > C shells such as csh and tcsh will amost certainly not work right. > [...] > FreeBSD 3.0 > > /bin/sh is broken on this platform. You need the > "--with-exec-shell" configuration switch here; ksh > and bash are reported to be fine. > > This may also be an issue with earlier FreeBSD > versions. Some months ago (Mon, 9 Mar 1998 11:33:04 +0100) Martin Cracauer had posted on hackers@FreeBSD.ORG and was quoted on the mutt list with the following statement: > Another issue is that problems in our `make` require /bin/sh to behave > wrong (to terminate on SIGINT even if foreground processes run), > otherwise you'll end up with hard-to-kill recursive makes. Perhaps this helps. -- Axel.Thimm@physik.fu-berlin.de Axel.Thimm@ifh.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message