Op 23-11-12 13:07, Oddball schreef:
The output of dmesg > ~/somedir is not as easy to translate, that is not by me. Hence the '-x' human readable output.
so the next would be: #dmesg -x > ~/somedir/somefile.txt , to get the readable output directly to a textfile. Which works, and can be used with all other options also. script -a ~/somedir/somefile.txt should bring all prior output to the named file, and create it, which it does, but there are some symbols there that not resemble the real output. ([1m[31mEeePc-Rob-SFN9:~ # (B[m) <copying changed the output in the file to this, which is again 'translated' to something else... and what is not what i want. I want the exact same output from a tty of my choice, written to a file, to study. To capture messages that may be of interest. I am free to decide what is of interest and why, and for how long. To explain my point: I do not like my pc tells me something which i am not able to capture and read back. What i want exactly, is to get the process logging output, directed to a file, without me being concerned if it really happens. What i understand from what i read in the 'man script' is that the option -a --append : the output to file or typescript, retaining the prior contents. But until now it did not continue doing it with output printed on the screen 'after' the command was given. (probably i will have to establish the wanted output to be steady, and look after a while if the output was still written to the file.) Another thing: How to get out of the help or man pages correctly, and back to my prompt? bash --help shows help, and exits to the prompt, how this should be. # /bin/systemctl start gpm.service starts the mouse in a tty, even when the command is given in init5 in a # terminal window. Which is nice. -- Have a nice day, Oddball. OS: Linux 3.7.0-rc6-1-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