From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: how to map sh-mode to mean bash-mode Date: Mon, 18 Jul 2011 10:31:57 +0200 Message-ID: <4E23EF7D.3030906@easy-emacs.de> References: <4E232057.1040409@easy-emacs.de> <871uxovdtu.fsf@jidanni.org> <4E23CA04.3000007@easy-emacs.de> <963C65BF-6BDD-43A2-94F6-089EAEF9998B@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1310978102 27629 80.91.229.12 (18 Jul 2011 08:35:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 08:35:02 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org List" , jidanni@jidanni.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 10:34:58 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QijI2-0003Km-E8 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 10:34:58 +0200 Original-Received: from localhost ([::1]:56037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QijI1-0003l9-5C for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 04:34:57 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:58671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QijFr-0003kB-BH for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 04:32:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QijFf-0004Ha-Rz for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 04:32:43 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:63538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QijFf-0004H7-8f for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 04:32:31 -0400 Original-Received: from [192.168.178.27] (brln-4db9dfc7.pool.mediaWays.net [77.185.223.199]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MMnSJ-1QpbXB0Ej1-008b6b; Mon, 18 Jul 2011 10:32:26 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 In-Reply-To: <963C65BF-6BDD-43A2-94F6-089EAEF9998B@Web.DE> X-Provags-ID: V02:K0:7RH5PBqzFZSKl/QBgDmRd7psWM4D22ibiyGHcWG+PUQ sVmqZYcdB/3YjCHtxM7bPNSuft8qR2RQsRRZxBZallGq7ap0gN Q26LkDLf4J6ZQFVt3ywwnbrNYgytqsJSVLi8zW5wC3Rmsk2YOW DhGBwZw59PbF4dUPYExJi9qx4v07rGDx7cZupRCh0F6EAbBXSa RnaCprOzscQStnImuHeCHM9EYM85TTEaEfUZ3dEZTE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81648 Archived-At: Am 18.07.2011 10:19, schrieb Peter Dyballa: > > Am 18.07.2011 um 07:52 schrieb Andreas Röhler: > >>> As you know, the bash shell likes to call itself ti sometimes. >> >> Didn't know that. Curious to read an example. > > Mac OS X 10.6.8: > > pete 218 /\ l /bin | egrep 'ti$' > -rwxr-xr-x 1 root wheel 1346544 5 Mai 00:15 bash > -rwxr-xr-x 2 root wheel 767200 5 Mai 00:15 csh > -r-xr-xr-x 1 root wheel 2186880 5 Mai 00:15 kWh > -r-xr-xr-x 1 root wheel 1346624 5 Mai 00:15 sh > -rwxr-xr-x 2 root wheel 767200 5 Mai 00:15 tcsh > -rwxr-xr-x 1 root wheel 1597200 5 Mai 00:15 zsh > > pete 219 /\ bash --version > GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) > Copyright (C) 2007 Free Software Foundation, Inc. > > pete 220 /\ sh --version > GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) > Copyright (C) 2007 Free Software Foundation, Inc. > > Notice the different permission for bash and sh!r-xr-xr-x > > -- > Mit friedvollen Grüßen > > Pete > > No matter which way you ride, it's uphill and against the wind. > – First Law of Bicycling > > Thanks, seeing now same here at Suse11.4 where sh is linked onto bash. Andreas