zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Oliver Kiddle <okiddle@yahoo.co.uk>, zsh-users@sunsite.dk
Subject: Re: since 4.3.4, artifact-appearance at prompt
Date: Mon, 05 Nov 2007 07:35:19 -0800	[thread overview]
Message-ID: <071105073519.ZM24491@torch.brasslantern.com> (raw)
In-Reply-To: <1801.1194262118@thecus>

On Nov 5, 11:28am, Oliver Kiddle wrote:
}
} Bart wrote:
} > [*] I can't make this happen no matter how fast I hammer on the enter
} > key, so I suspect this is related to other problems with slow prompts.
} 
} I've seen it happen occasionally over a slow ssh connection.
} 
} Could we perhaps do an stty -echo around the printing of the % up until
} the newline is printed.

It's apparent that the "\r" that is being printed at the end of the
promptsp output doesn't actually fix the problem Wayne described, or
Russell wouldn't be reporting it.  You can still get a % on a blank
line from typeahead.

On the other hand I think "stty -echo" in the midst of typeahead could
cause even more confusion.

} Is the default really printing %# (the prompt expansion) as opposed to
} a literal % character?

Yep, in fact it's "%B%S%#%s%b", see Src/utils.c:preprompt().


  reply	other threads:[~2007-11-05 15:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-03 23:43 Russell Hoover
2007-11-04  1:30 ` Bart Schaefer
2007-11-04  3:48   ` Russell Hoover
2007-11-04  7:00     ` Atom Smasher
2007-11-04 17:48       ` Bart Schaefer
2007-11-04 22:16         ` Wayne Davison
2007-11-04 23:48           ` Bart Schaefer
2007-11-05  6:01             ` Wayne Davison
2007-11-05 15:16               ` Bart Schaefer
2007-11-05 11:28         ` Oliver Kiddle
2007-11-05 15:35           ` Bart Schaefer [this message]
2007-11-04 22:18       ` Wayne Davison
2007-11-04 14:51 ` Benjamin Andresen

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=071105073519.ZM24491@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=okiddle@yahoo.co.uk \
    --cc=zsh-users@sunsite.dk \
    /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).