busybox-1.6.1 Clear screen

walter harms wharms at bfs.de
Sun Jul 29 15:13:52 UTC 2007


clear screen is a command send to your terminal
(see man console_codes for more codes that the Linux console knows about)
It is possible that your terminal does not understand the sequence you send.
please check your console type.

re,
 wh




Sync ma wrote:
> 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
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 
> 
> 



More information about the busybox mailing list