Skip to contentSkip to conversation

Please disable curses mode when stdin isn't a tty.

Qemu-devel Rob Landley 1 participant 1 message Sep 1, 2009

lore
Share & tools
lore
#0 lore raw

Um, guys? See all the ansi escape sequences randomly embedded in the following?

Type exit when done.
/ # #
/ # # Show fr^[[38;5R^[[38;5Ree space
/ # df
^[[38;5RFilesystem 1K-blocks Used Available Use% Mounted on
/dev/root 11520 11520 0 100% /

dev                     128556         0    128556   0% /dev
/dev/hdb               1965459     35984   1824618   2% /home
/tmp                    128556         0    128556   0% /tmp

/ # # Smoke test for the compiler
/ # gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello &&

Quoted 1 line

/tmp/hello

^[[38;5R^[[38;5R^[[38;3RHello world!
/ # sync
^[[38;5R/ # exit
^[[38;13RRestarting system.

That's new.

Rob

Signature · 1 line
Latency is more important than throughput. It's that simple. - Linus Torvalds