Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: If then Prompt
- X-seq: zsh-users 11514
- From: "Brian K. White" <brian@xxxxxxxxx>
- To: <zsh-users@xxxxxxxxxx>
- Subject: Re: If then Prompt
- Date: Fri, 25 May 2007 09:32:51 -0400
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: Aljex Software
- References: <fb3648c60705240913pedbd3afx957b60b804b33d1a@xxxxxxxxxxxxxx> <237967ef0705240918w6a923e7fk9e7f28164037715e@xxxxxxxxxxxxxx> <fb3648c60705240929i16bb6b3br260bb24b1192cde6@xxxxxxxxxxxxxx> <237967ef0705241011k61e67d42ic905efa86e7179f1@xxxxxxxxxxxxxx> <fb3648c60705241151q3a22e8c8i8f9e89fff77f5912@xxxxxxxxxxxxxx> <011a01c79ec5$2525f920$6800000a@venti> <0d3a01c79ecd$329665b0$97c33110$@com>
----- Original Message -----
From: "Seth Kurtzberg" <seth@xxxxxxx>
To: <zsh-users@xxxxxxxxxx>
Sent: Friday, May 25, 2007 9:04 AM
Subject: RE: If then Prompt
[ -z "$MYTERM" ] && read -s -t 1 -p `echo -en "\005"` MYTERM # bash
only
if I could just get rid of those backticks...maybe binary edit the script,
never tried...
use:
... $(echo -en "\005") ...
It's not the backticks litterally, it's running a child process just to get
a certain character in a certain spot.
Brian K. White brian@xxxxxxxxx http://www.myspace.com/KEYofR
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author