Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh tips plea (tip of the day)
- X-seq: zsh-users 7747
- From: Philippe Troin <phil@xxxxxxxx>
- To: Vincent Lefevre <vincent@xxxxxxxxxx>
- Subject: Re: zsh tips plea (tip of the day)
- Date: 23 Jul 2004 14:37:18 -0700
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <20040723202619.GN7828@xxxxxxxxxxxxx>
- Mail-copies-to: nobody
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <bfs1g0phq8ojapt75pdnc19scq816grdhv@xxxxxxx> <20040723125246.Y326@willy_wonka> <20040723200401.GL7828@xxxxxxxxxxxxx> <87llhatqua.fsf@xxxxxxxxxxxxxxxx> <20040723202619.GN7828@xxxxxxxxxxxxx>
- Sender: Philippe Troin <phil@xxxxxxxx>
Vincent Lefevre <vincent@xxxxxxxxxx> writes:
> On 2004-07-23 13:23:57 -0700, Philippe Troin wrote:
> > Vincent Lefevre <vincent@xxxxxxxxxx> writes:
> >
> > > On 2004-07-23 12:55:03 -0400, Atom 'Smasher' wrote:
> > > > in ~/.zshrc:
> > > >
> > > > precmd () {
> > > > print -n '\017'
> > > > }
> > >
> > > This is really nice! Why haven't I thought about that before? :)
> > > I wonder if this shouldn't be done by zsh in standard.
> >
> > How is that different from "setopt promptcr"?
>
> \017 is not a CR, but a ^O (the opposite of ^N). Cat a binary file
> and you would see that this is useful. :)
I did, but I did not see the useful thing you mention.
How is echoing ^O to the terminal helps?
Phil.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author