* Oddball <monkey9@iae.nl> [11-18-12 11:04]:
Op 18-11-12 15:51, Anton Aylward schreef:
But it is not possible to capture output from a tty in init3 that is already on the screen? It seems what i put in is only a message, not a command.... If you're using a tty rather than an xterm then the obvious thing is to use 'script'. That copies everything that goes to the tty to a file.
Now do realise that a tty is a serial device. You are not getting a snapshot as you would if you were running a graphical console and using KSnapshot, you are getting a serial record of everything that was sent to the tty.
However it *does* redirect to the file in the manner you ask for.
Please do RTFM first. I/we take no responsibility for misuse.
Ah!, yes..., the manual, which one?
Possibly that would be for script as that is what the OP stated.
Screendump has:
cd /dev for i in 0 1 2 3 ...; do mknod vcs$i c 7 $i
mknod vcsa$i c 7 `expr 128 + $i`
done
To make sure the dirs to 'dump' the std's to exist, you have to use a command. But as i seem not to clever, this does not work. There is an syntaxerror close to an unexpected symbol 'do', and the rest has faillures also.
And were did "screendump" come from? Not mentioned above!
script --append /home/oddball/Documenten/terminal.txt creates the dir, but contains 0 bytes.
It does! It does not contain anything if you do not do anything after initiating "script".
Trying to execute commands in a tty, results in output of sfw, and than continues to be usefull for other purposes.... only. the file remains 0 bytes.
don't know what "sfw" is. Your chosen style of communication is not helping your cause.
No matter what terminal,konsole/tty is used.
Yes, the computer *only* understand commands presented in the manner prescribed. If you fail to follow instructions, *you* fail! script is your simplest solution if you use it correctly and correctly is the prescribed manner, not anyway you choose. -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org