[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#60753: mutt: /etc/Muttrc should not use colors



On Wed, Mar 22, 2000 at 06:33:31PM +1100, Brian May wrote:
> >>>>> "Radovan" == Radovan Garabik <garabik@atlas03.dnp.fmph.uniba.sk> writes:
> 
>     Radovan> On Tue, Mar 21, 2000 at 04:33:13PM +1100, Brian May
>     Radovan> wrote:
>     >> For instance I push the up arrow numerous times to get my
>     >> editor to go to the top of the file, and all of a sudden, the
>     >> escape comes detached from the [D, and I suddenly end up
>     >> altering my file, inserting invalid data, perhaps without even
>     >> realizing it.
>     >> 
>     >> IMHO, the sooner this dead escape standard is dropped in favour
>     >> of the better standard (IIRC: set the high bit on control
>     >> characters), the
> 
>     Radovan> are you sure this would be better? you need to type 8-bit
>     Radovan> characters too...
> 
> I was wondering about that too..
> 
> However, the use of "escape" for two purposes (1. the escape
> character, 2. a prefix for other control characters) is what I really
> dislike. Was there, once upon a time, a standard that used 00 as the
> prefix for control characters. Might cause problems in C strings
> though...
> 
> Perhaps the prefix character really needs to be replaced with some
> other character that doesn't already (and never will) exist on the
> keyboard (if anything else exists).

An elegant solution wouldbe to use escape only as a character "escaping" the next
char, i.e. prefix for control chars, and what we know as an escape character
would be represented as Esc Esc.

But this would probably break up almost all applications....

-- 
 -----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!


Reply to: