[SuSE Linux] copying text from terminal output
Is there a way to copy text from a terminal screen into a file? I've got what appears to be a corrupted SuSE 5.3 boot disk, and I want to capture the text that displays when I try to mount it so that I can send to SuSE support. I've tried redirecting the output in various ways (note, these may not be entirely correct, as I'm pretty new to Linux): mount /dev/fd0 /mnt/floppy > err mount /dev/fd0 /mnt/floppy 2> err mount /dev/fd0 /mnt/floppy >& err
You can always let it just output to the terminal, then highlight it, then middle click in a text editor, like vi. -mike On Mon, 9 Nov 1998, Stuart Updegrave (Wasser) wrote:
Is there a way to copy text from a terminal screen into a file? I've got what appears to be a corrupted SuSE 5.3 boot disk, and I want to capture the text that displays when I try to mount it so that I can send to SuSE support.
I've tried redirecting the output in various ways (note, these may not be entirely correct, as I'm pretty new to Linux):
mount /dev/fd0 /mnt/floppy > err mount /dev/fd0 /mnt/floppy 2> err mount /dev/fd0 /mnt/floppy >& err
From my reading I gathered that one of these three options would redirect the output to the file 'err'.
A thought: could I pipe the output from mount into vi? (I'm not at my Linux box now, so I can't try this)
mount /dev/fd0 /mnt/floppy | vi
My current config is RH5.0 on an AMD 486-133/16mb RAM/4.2gb HD.
Any feedback greatly appreciated.
Thanks, ~Stuart - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Stuart, First type 'script' at the command prompt, this will fire up script, which allows normal shell interaction while logging all events to a file (default is typescript). Once you are done type 'exit' and then all output will be in the 'typescript' file, along with all commands and typo's issued by you. John Griffin jpg@cv.hp.com
Is there a way to copy text from a terminal screen into a file? I've got what appears to be a corrupted SuSE 5.3 boot disk, and I want to capture the text that displays when I try to mount it so that I can send to SuSE support.
I've tried redirecting the output in various ways (note, these may not be entirely correct, as I'm pretty new to Linux):
mount /dev/fd0 /mnt/floppy > err mount /dev/fd0 /mnt/floppy 2> err mount /dev/fd0 /mnt/floppy >& err
From my reading I gathered that one of these three options would redirect the output to the file 'err'.
A thought: could I pipe the output from mount into vi? (I'm not at my Linux box now, so I can't try this)
mount /dev/fd0 /mnt/floppy | vi
My current config is RH5.0 on an AMD 486-133/16mb RAM/4.2gb HD.
Any feedback greatly appreciated.
Thanks, ~Stuart - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
-- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Stuart Updegrave (Wasser) wrote:
Is there a way to copy text from a terminal screen into a file? I've got what appears to be a corrupted SuSE 5.3 boot disk, and I want to capture the text that displays when I try to mount it so that I can send to SuSE support.
I usually just start gpm (general purpose mouse). Then highlight the desired text on screen while holding the left mouse button. Then <alt-F2> to another tty and "touch filename"; then "edit filename" with your favorite editor. Then right click the mouse, and presto...there it is. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (4)
-
a-supde@microsoft.com
-
jpg@hpcvsjpg.cv.hp.com
-
mpilone@slac.com
-
zentara@mindspring.com