zsh-workers
 help / color / mirror / code / Atom feed
From: Mario Signorino <mario.signorino@gnufish.net>
To: zsh-workers@zsh.org
Subject: Strange initial escape string
Date: Thu, 30 May 2013 23:28:39 +0200	[thread overview]
Message-ID: <CAM8HBcUZC0_4gfcZOFBxEfGhGWMGCcidAoi_5ptp1G_G=jbnPQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 605 bytes --]

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

             reply	other threads:[~2013-05-30 21:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-30 21:28 Mario Signorino [this message]
2013-05-30 22:56 ` Mario Signorino
2013-05-31  5:10   ` Bart Schaefer
2013-06-15 11:31     ` Mario Signorino
2013-06-15 12:22       ` Mikael Magnusson
2013-06-15 18:44       ` Bart Schaefer
2013-06-15 19:14         ` Mario Signorino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM8HBcUZC0_4gfcZOFBxEfGhGWMGCcidAoi_5ptp1G_G=jbnPQ@mail.gmail.com' \
    --to=mario.signorino@gnufish.net \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).