Index | Thread | Search

From:
Todd C. Miller <millert@openbsd.org>
Subject:
Re: 007 in vis.c
To:
Miod Vallat <miod@online.fr>
Cc:
Theo Buehler <tb@theobuehler.org>, tech@openbsd.org
Date:
Mon, 04 Aug 2025 15:23:14 -0600

Download raw body.

Thread
On Mon, 04 Aug 2025 06:47:03 -0000, Miod Vallat wrote:

> > I'm not sure if there's a particular reason to treat the BEL character
> > specially here. The \a escape has been available forever. It's in K&R.
> > I think it's clearer, cleaner, and more consistent to use that. 
>
> But then you'll need to address the many other uses of \007 in the tree.
>
> And for the reason why \a is not used, have a look at the comment in
> bin/ksh/c_ksh.c: at some point, pcc did not support \a.

While I would not object to changing this throughout the tree I
don't think everything needs to be converted in one fell swoop.

 - todd