Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 88919 invoked from network); 23 May 2004 19:02:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 May 2004 19:02:06 -0000 Received: (qmail 16987 invoked by uid 500); 23 May 2004 19:02:07 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 16820 invoked by uid 500); 23 May 2004 19:02:05 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 16763 invoked by uid 98); 23 May 2004 19:02:03 -0000 X-Qmail-Scanner-Mail-From: rbb@rkbloom.net via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(24.211.145.52):. Processed in 0.11747 secs) Date: Sun, 23 May 2004 14:43:03 -0400 (EDT) From: To: Noah Misch cc: Ed Holyat , "'dev@apr.apache.org'" Subject: Re: backspace in new test suite. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ok, \r isn't going to work either. The problem seems to be when the output is captured to a file, which is what I image emacs is doing. I'm going to keep hunting for a solution for this, but I am not convinced that I will actually find one that is both portable and works for arbitrary output streams (file and terminal). Ryan On Sun, 23 May 2004 rbb@rkbloom.net wrote: > > Hmmmmmm..... Ok, so \b is really correct, and I would consider this a > configuration problem more than anything else. \b is supposed to print a > backspace character, I believe that your emacs is getting confused, > because ctrl-H in emacs is the default help command. So, \b just doesn't > look like it is portable enough. > > But, have no fear, I have another solution, and it is likely to work > better anyway. Later tonight or tomorrow (or sometime in the next week, > depending on if my wife goes into labor soon), I will re-work printing to > not use \b and instead use \r and re-print the whole line. This should > also fix the annoying problem of the spinning bar ending up at the end of > the previous line after an error. > > Ryan > > On Thu, 20 May 2004, Noah Misch wrote: > > > On Thu, May 20, 2004 at 01:44:11PM -0400, Ed Holyat wrote: > > > > > > > > > the new test suite uses a \b in it's output. In my bash shell/emacs > > > environment, this produces some ugly output. > > > > > > testatomic.c: |^H/^H-^H|^H\^H-^H|...etc > > > > > > using the octal value \008 produces the desired effect. I believe this is > > > shell independent and portable. > > > > \008 is not a valid octal value. What character do you mean? > > > > >