Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <4.1.19990702110447.00ba6e30@mailhost.teknowledge.com> X-Sender: rschulz AT mailhost DOT teknowledge DOT com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Fri, 02 Jul 1999 11:12:36 -0700 To: Gary Bishop , Chris Faylor From: Randall Schulz Subject: Re: rxvt interacts badly with bash line editing Cc: cygwin AT sourceware DOT cygnus DOT com In-Reply-To: <4.2.0.56.19990702110625.00b01c10@mail.cs.unc.edu> References: <19990701181601 DOT A1676 AT cygnus DOT com> <4 DOT 2 DOT 0 DOT 56 DOT 19990701171022 DOT 00b00520 AT mail DOT cs DOT unc DOT edu> <4 DOT 2 DOT 0 DOT 56 DOT 19990701171022 DOT 00b00520 AT mail DOT cs DOT unc DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi, If the PS1 setting you gave is exactly what you were using, then it looks like you might be confusing BASH (or more precisely, the line editing subsystem) by not bracketing non-printing sections of the prompt with \[ ... \] pairs. It appears you are missing a \[ before the first escape. Thus, the line editing library considers the "[34m" portion as printing and whose space needs to be accounted. Before I noticed the \[ ... \] business, I had similar problems and it didn't matter what terminal emulator I used (and I use several, on a routine basis). I hope this helps. Randy Schulz Teknowledge Corp. Palo Alto, CA USA At 08:14 AM 7/2/99 , Gary Bishop wrote: >Wait! I take it back. Chris was right, in a way.... > >If I set the TERM=xterm AND get rid of the fancy prompt export >PS1="\e[34m\]\w\[\e[0m\]> " then it works. > >This would be fine but now my other programs (like less) don't work because >they complain > >WARNING: terminal is not fully functional > >What do I have to do to make TERM=xterm work with less and others? Even the >/etc/termcap that comes with the X11R6 package does not appear to include >xterm. > >Thanks for the helpful suggestions. >gb -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com