Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Strange initial escape string
- X-seq: zsh-workers 31438
- From: Mario Signorino <mario.signorino@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Strange initial escape string
- Date: Thu, 30 May 2013 23:28:39 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi all
I'm working on a new terminal emulator.
When I start the terminal with a bash shell, I read this string
"\033]0;Window title\007" followed by the prompt and the other stuff.
When I switch to zsh I read "\033[1m\033[7m%" and then the prompt.
What is that?
If I push the string manually into a gnome-terminal or an xterm
$ echo -e "\033[1m\033[7m%" > /dev/pst/3
I get a % inversed and bold as expected... but starting the gnome-terminal
(or xterm..) does not show anything...
Is that some special stuff hidden by the terminals? I read it as "write %
bold and inversed".
Any hints?
Regards,
Mario
Messages sorted by:
Reverse Date,
Date,
Thread,
Author