[BusyBox] Re: busybox-cvs Digest, Vol 7, Issue 19
Vladimir N. Oleynik
dzo at simtreas.ru
Wed Oct 22 12:04:05 UTC 2003
Hi.
> Index: reset.c
> ===================================================================
> RCS file: /var/cvs/busybox/console-tools/reset.c,v
> retrieving revision 1.10
> retrieving revision 1.11
> diff -u -d -r1.10 -r1.11
> --- reset.c 14 Jul 2003 21:20:42 -0000 1.10
> +++ reset.c 22 Oct 2003 10:34:15 -0000 1.11
> @@ -21,13 +21,15 @@
> *
> */
>
> +/* no options, no getopt */
> +
> #include <stdio.h>
> #include <stdlib.h>
> #include "busybox.h"
>
> 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"
--w
vodz
More information about the busybox
mailing list