busybox-1.6.1 Clear screen

Sync ma sync.jma at gmail.com
Sun Jul 29 12:03:07 UTC 2007


Hi, all:
  I have problems on clearing the screen, when I type CTRL+L, there
were actually no effect.
  I have serached the site:www.busybox.net, and there seems nothing
useful. I missed anything?

My .config file has turned on all the console-utils options:

250 # Console Utilities
251 #
252 CONFIG_CHVT=y
253 CONFIG_CLEAR=y
254 CONFIG_DEALLOCVT=y
255 CONFIG_DUMPKMAP=y
256 CONFIG_LOADFONT=y
257 CONFIG_LOADKMAP=y
258 CONFIG_OPENVT=y
259 CONFIG_RESET=y
260 CONFIG_RESIZE=y
261 CONFIG_FEATURE_RESIZE_PRINT=y
262 CONFIG_SETCONSOLE=y
263 CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS=y
264 CONFIG_SETKEYCODES=y
265 CONFIG_SETLOGCONS=y

I have add a test 'printf' in clear.c and it still has no output.

 16 int clear_main(int argc, char **argv)
 17 {
 18     printf("---------------------\n");
 19 >___return printf("\033[H\033[J") != 6;
 20 }

My console tools is SecureCRT-5.22.

toolchain verison:
binutils-2.16.1
gcc-4.1.2
uClibc-0.9.28.2



Thanks.


Jun



More information about the busybox mailing list