This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
console title
- From: Hironori SAKAMOTO <hsaka at mth dot biglobe dot ne dot jp>
- To: cygwin at cygwin dot com
- Cc: Hironori SAKAMOTO <hsaka at mth dot biglobe dot ne dot jp>
- Date: Thu, 14 Nov 2002 16:23:50 +0900 (JST)
- Subject: console title
Hello,
When a window title of cygwin console is displayed with escape
sequence (\033]0;title\007), it can't be displayed if it includes
non-ASCII characters (\200..\0377).
Is the following patch acceptable ?
--- fhandler_console.cc.orig Thu Nov 14 14:51:30 2002
+++ fhandler_console.cc Thu Nov 14 15:01:54 2002
@@ -1530,7 +1530,7 @@
case gettitle:
{
int n = strlen (dev_state->my_title_buf);
- if (*src < ' ' || *src >= '\177')
+ if (*src < ' ' || *src >= '\377')
{
if (*src == '\007' && dev_state->state_ == gettitle)
{
PS.
Thanks for the fix of mouse support.
-----------------------------------
Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
http://www2u.biglobe.ne.jp/~hsaka/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/