Re: [dev] [st] Erasing UTF-8 characters in ed

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Thu, 24 Jul 2014 19:14:33 +0200

> > It may be that one's not supposed to use backspaces in ed, but this
> > behaviour is weird nonetheless…
>
> I have the same issue in mg. This question also comes up occasionally
> on IRC. Reverting the commit you specified seems to work for mg (but
> may break other applications?) Can anyone shed a light on it, for
> science?

This patch only changes the keystroke generated by Backspace (in fact
the patch does that the key generates a BACKSPACE character). With the
vanilla configuration you can generate a DELETE character using Delete
key.

If you use Delete, the prblem is fixed?, and if you execute stty erase 
before of running ed and try again with backspace?

Regards,


-- 
Roberto E. Vargas Caballero
Received on Thu Jul 24 2014 - 19:14:33 CEST

This archive was generated by hypermail 2.3.0 : Thu Jul 24 2014 - 19:24:06 CEST