I've got 256 colors working great in my terminal (test scripts here), but it stops working when I use ncurses (via Ruby-ncurses). Printing the escape sequences given on that page works fine, but when I initialize ncurses 'puts' stops working and I can't output the colors with any of the various ncurses color changing/string output functi...
This is a tale of two scripts and is related to a previous question.
The two scripts are at http://gist.github.com/50692. The ansi.rb script displays all 256 colors on all 256 background colors. The ncurses.rb script displays all 256 foreground colors but the background displays the basic 16 and then seems to cycle through various attri...
I'm writing an SSH/Telnet client for the Blackberry (and for other hand-held devices).
My question is more related to usability. Due to the screen size limitations for certain devices, and resolutions, how should I set the default rows/columns for the screen?
Currently I am setting it to 80 columns. The number of rows is dependent on...
how can i control two processes to run alternately in separate terminal windows.
for example i run the code for each on separate terminal windows at 11:59 and both of them wait for the time to be 12:00. at this moment process one starts execution and process two waits for say 10 seconds. then they switch, process two executes and process...