Subject: [RE-patch] Re: odd bash wrapping due to ansi codes
From: Chris Abbey <[email-masked]>
To: DJ Delorie <[email-masked]>
Cc: [email-masked]
Date: Sun, 01 Oct 2000 05:33:08 -0500

as yall will notice I missed a binary character in the previous patch,
this one is corrected... not sure why I didn't catch that before....

~/cyg/src/winsup/cinstall $ cvs diff -ub desktop.cc
Index: desktop.cc
===================================================================
RCS file: /cvs/src/src/winsup/cinstall/desktop.cc,v
retrieving revision 2.2
diff -u -b -r2.2 desktop.cc
--- desktop.cc  2000/09/08 00:14:20     2.2
+++ desktop.cc  2000/10/01 10:23:30
@@ -77,8 +77,8 @@
    "done",
    "",
    "export MAKE_MODE=unix",
-  "export PS1='\033]0;\\w\a",
-  "\033[32m\\u@\\h \033[33m\\w\033[0m",
+  "export PS1='\\[\\033]0;\\w\\007",
+  "\\033[32m\\]\\u@\\h \\[\\033[33m\\w\\033[0m\\]",
    "$ '",
    "",
    "cd $HOME",

--
Want to unsubscribe from this list?
Send a message to [email-masked]