From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4087 invoked from network); 25 Jun 2001 06:42:11 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Jun 2001 06:42:11 -0000 Received: (qmail 27430 invoked by alias); 25 Jun 2001 06:41:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3937 Received: (qmail 27419 invoked from network); 25 Jun 2001 06:41:20 -0000 Date: Sun, 24 Jun 2001 23:41:12 -0700 From: Mads Martin =?iso-8859-1?Q?J=F8rgensen?= To: Andrej Borsenkow Cc: zsh-users@sunsite.dk Subject: Re: Emulating bash Message-ID: <20010624234112.H22534@suse.com> References: <20010624230348.F22534@suse.com> <000901c0fd3f$959bda40$21c9ca95@mow.siemens.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <000901c0fd3f$959bda40$21c9ca95@mow.siemens.ru>; from Andrej.Borsenkow@mow.siemens.ru on Mon, Jun 25, 2001 at 10:25:10AM +0400 * Andrej Borsenkow [Jun 24. 2001 23:26]: > > > > I was toying around and beeing impressed with the bash emulation of zsh > > (I actully moved it into /bin/bash). But it struck me it had problems > > with trapping the signals because signals known to bash apparantly are > > unknown to zsh-bash. This is zsh-4.0.1 final. > > > > Any hints to how I can fix this -- it would be nice on my small systems > > to get zsh too :-) > > > > Any hints what your particular problem is? :-) It is hard to fix without > knowing what to fix - and not every zsh user or worker expert in bash. > > What signals are in bash? Of course -- totally forgot. It is when trapping SIGINT and SIGTERM, it says unknown signal. SIGQUIT and SIGSEGV are not problematic.. _From the bash manual (2.05): SIGNALS When bash is interactive, in the absence of any traps, it ignores SIGTERM (so that kill 0 does not kill an interac­ tive shell), and SIGINT is caught and handled (so that the wait builtin is interruptible). In all cases, bash ignores SIGQUIT. If job control is in effect, bash ignores SIGTTIN, SIGTTOU, and SIGTSTP. -- Mads Martin Joergensen, http://mmj.dk "Why make things difficult, when it is possible to make them cryptic and totally illogic, with just a little bit more effort." -- A. P. J.