Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: If then Prompt




----- 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