[BusyBox] Re: busybox-cvs Digest, Vol 7, Issue 19
Erik Andersen
andersen at codepoet.org
Wed Oct 22 12:29:19 UTC 2003
On Wed Oct 22, 2003 at 04:04:05PM +0400, Vladimir N. Oleynik wrote:
> > extern int reset_main(int argc, char **argv)
> > {
> >- printf("\033[?25h\033c\033[J");
> >- return EXIT_SUCCESS;
> >+ printf("\033[?25h\033c\033[J");
>
> Ohh.
> Eternal discrimination of international users. :-(
> The given sequence ("\033c") switches off internationalization to
> IBM-Latin-1.
> The standard utility takes this sequence from a terminfo file
> which always is corrected by international users to "\033c\033(K"
If I understand correctly, you would like this applied?
--- console-tools/reset.c 22 Oct 2003 10:34:15 -0000 1.11
+++ console-tools/reset.c 22 Oct 2003 12:26:57 -0000
@@ -29,7 +29,7 @@
extern int reset_main(int argc, char **argv)
{
- printf("\033[?25h\033c\033[J");
+ printf("\033[?25h\033c\033(K");
return EXIT_SUCCESS;
}
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list