ouput

Redraw screen in terminal

How do some programs edit whats being displayed on the terminal (to pick a random example, the program 'sl')? I'm thinking of the Linux terminal here, it may happen in other OS's too, I don't know. I've always thought once some text was displayed, it stayed there. How do you change it without redrawing the entire screen? ...

How can I make the Python logging output to be colored?

Some time ago I saw a Mono application with colored output, probably because of it's log system, because all the messages were standardized. Now, Python has the logging module, and it let you specify a lot of options or customize it entirely, so I'm imagining that something like that would be possible too with Python, however I could not...

iPhone SDK TV Output

Hi all, does someone know something about TV output with dock connector. I would like to create a new application that use TV output. Is there some official API/documentation? Thx, Paolo ...

How to convert Matlab output into an array?

Hi there I hope you can help me. I've made an M-file that outputs data into my Matlab command window in the form below (I've deleted the extra spaces). My question is, is there an easy way to convert this output into an array, without having to type all the data into the array editor as I'm currently doing? (Or even run it straight from ...

Another question about C compiler asm output

Hi, very quick question for you. When I store some automatic variable in C, asm output is like this: MOV ESP+4,#25h , and I just want to know why can´t compiler calculate that ESP+4 adress itself. I thought this through, and I really cant find reason for this. I mean, isnt compiler aware of the esp value? It should be. And when using a...

How to capture a Zend view output instead of actually outputting it

Problem: sometimes in our zend controller we don't want the script to be output directly, but rather want the content of that script. One example: when we need the result html output of a view script be included in another structure like JSON or XML for processing in the client side. I found the result here at stack overflow, but not so...