From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11938 invoked from network); 24 Nov 2002 21:31:56 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 24 Nov 2002 21:31:56 -0000 Received: (qmail 17538 invoked by alias); 24 Nov 2002 21:31:26 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5512 Received: (qmail 17523 invoked from network); 24 Nov 2002 21:31:24 -0000 Date: Sun, 24 Nov 2002 22:31:20 +0100 From: Phil Pennock To: Eric Smith Cc: zsh-users@sunsite.dk Subject: Re: forcing a carriage return with alias -g Message-ID: <20021124223120.A17359@globnix.org> Mail-Followup-To: Eric Smith , zsh-users@sunsite.dk References: <20021124180405.GG9881@cherry.fruitcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021124180405.GG9881@cherry.fruitcom.com>; from es@fruitcom.com on Sun, Nov 24, 2002 at 07:04:05PM +0100 X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine and mine alone. Such views do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. On 2002-11-24 at 19:04 +0100, Eric Smith wrote: > I use aliases of the following form: > > alias -g M='|more' > > Is it possible to force a carriage return after the `more' so that I may just > press (say) `M' and the command will execute? bindkey -s M '|more\n' -- "We've got a patent on the conquering of a country through the use of force. We believe in world peace through extortionate license fees." -Bluemeat