git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* t4201-shortlog.sh does bad things to my terminal
@ 2007-04-23 17:03 Sven Verdoolaege
  2007-04-23 17:29 ` Johannes Schindelin
  0 siblings, 1 reply; 6+ messages in thread
From: Sven Verdoolaege @ 2007-04-23 17:03 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

Running t4201-shortlog.sh in a non-utf8 terminal has some unpleasant effects:

bash-3.00$ xterm -v
XFree86 4.2.99.903(174)
bash-3.00$ locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=POSIX
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
bash-3.00$ sh ./t4201-shortlog.sh --verbose
Created commit b8ab028: This is a very, very long first line for the commit message to see if it is wrapped correctly
 1 files changed, 1 insertions(+), 1 deletions(-)
Created commit 3da0b85: Thð















(The cursor is now about half way the last line.)

It appears that this message is printing a control character to turn off echoing,
because the terminal appears completely unresponsive afterwards.
Typing "reset" restores the terminal.

Is this really necessary?

skimo

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-04-23 20:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-23 17:03 t4201-shortlog.sh does bad things to my terminal Sven Verdoolaege
2007-04-23 17:29 ` Johannes Schindelin
2007-04-23 17:48   ` Sven Verdoolaege
2007-04-23 18:37   ` Junio C Hamano
2007-04-23 18:46     ` Johannes Schindelin
2007-04-23 20:14       ` Junio C Hamano

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