about resize

Tito farmatito at tiscali.it
Fri Sep 22 12:15:48 UTC 2006


hi,
maybe a newline would give a better looking output:

	if (ENABLE_FEATURE_RESIZE_PRINT)
-		printf("COLUMNS=%d;LINES=%d;export COLUMNS LINES;",
+		printf("COLUMNS=%d;LINES=%d;export COLUMNS LINES;\n",
			w.ws_col, w.ws_row);


root at localhost:/dev/pts/1:/root/Desktop/busybox.setterm# ./busybox resize
COLUMNS=80;LINES=24;export COLUMNS LINES;root at localhost:/dev/pts/1:/root/Desktop/busybox.setterm#            

Just an idea...

Ciao,
Tito



More information about the busybox mailing list