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? 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. script --append /home/oddball/Documenten/terminal.txt creates the dir, but contains 0 bytes. 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. No matter what terminal,konsole/tty is used. -- Have a nice day, Oddball. OS: Linux 3.7.0-rc5-2-desktop i686 Huidige gebruiker: oddball@EeePc-Rob-SFN9 Systeem: openSUSE 12.2 (i586) KDE: 4.9.3 "release 520" -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org