delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/01/06:35:27

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.2.7.0.20001001052228.00c054a0@pop.bresnanlink.net>
X-Sender: cabbey AT pop DOT bresnanlink DOT net
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Sun, 01 Oct 2000 05:33:08 -0500
To: DJ Delorie <dj AT delorie DOT com>
From: Chris Abbey <cabbey AT bresnanlink DOT net>
Subject: [RE-patch] Re: odd bash wrapping due to ansi codes
Cc: cygwin AT sourceware DOT cygnus DOT com
In-Reply-To: <4.3.2.7.0.20001001022514.00bf2ee0@pop.bresnanlink.net>
References: <200009260119 DOT VAA12992 AT envy DOT delorie DOT com>
<4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000919222650 DOT 00b67670 AT pop DOT bresnanlink DOT net>
<4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000917030431 DOT 00bd6a10 AT pop>
<4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20000919222650 DOT 00b67670 AT pop DOT bresnanlink DOT net>
Mime-Version: 1.0

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 cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019