The answer to this is probably in front of me, but it's been a long day... I have a SuSE 9.3 system, no x-windows, just a bash console. I want to be able to hit the printscreen key and get a hardcopy of the screen contents - no graphics, just text (there is some color, which I don't need). P.S. It doesn't HAVE to be the printscreen key - I don't care if it's the fred key - just let me get a hardcopy. Thanks. Mike- -- If you're not confused, you're not trying hard enough. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments,
On Friday 28 April 2006 23:17, Michael W Cocke wrote:
P.S. It doesn't HAVE to be the printscreen key - I don't care if it's the fred key - just let me get a hardcopy.
Hi Mike, I was going to start a Google search (you've piqued my interest) but thought I should ask what you're hoping to capture... something like the output of 'top' or directory listing.... what, exactly? Carl
Michael, On Friday 28 April 2006 20:17, Michael W Cocke wrote:
The answer to this is probably in front of me, but it's been a long day...
I have a SuSE 9.3 system, no x-windows, just a bash console. I want to be able to hit the printscreen key and get a hardcopy of the screen contents - no graphics, just text (there is some color, which I don't need).
P.S. It doesn't HAVE to be the printscreen key - I don't care if it's the fred key - just let me get a hardcopy.
I don't think you really have any options for an actual screen capture. You can try using the "script" program to maintain a transcript (as a text file) of the interactions in a shell session, but there's no software I'm aware of that can grab images from the text console's frame buffer. Perhaps someone is aware of something I'm not, however.
Thanks.
Mike-
Randall Schulz
Fri, 28 Apr 2006, by cocke@catherders.com:
The answer to this is probably in front of me, but it's been a long day...
I have a SuSE 9.3 system, no x-windows, just a bash console. I want to be able to hit the printscreen key and get a hardcopy of the screen contents - no graphics, just text (there is some color, which I don't need).
P.S. It doesn't HAVE to be the printscreen key - I don't care if it's the fred key - just let me get a hardcopy.
Look at vcs(4) Quote: DESCRIPTION /dev/vcs0 is a character device with major number 7 and minor number 0, usually of mode 0644 and owner root.tty. It refers to the memory of the currently displayed virtual console terminal. EXAMPLES You may do a screendump on vt3 by switching to vt1 and typing cat /dev/vcs3 >foo. Note that the output does not contain newline charac- ters, so some processing may be required, like in fold -w 81 /dev/vcs3 | lpr or (horrors) setterm -dump 3 -file /proc/self/fd/1. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply.
On Sat, 29 Apr 2006 13:24:29 +0200, you wrote:
Fri, 28 Apr 2006, by cocke@catherders.com:
The answer to this is probably in front of me, but it's been a long day...
I have a SuSE 9.3 system, no x-windows, just a bash console. I want to be able to hit the printscreen key and get a hardcopy of the screen contents - no graphics, just text (there is some color, which I don't need).
P.S. It doesn't HAVE to be the printscreen key - I don't care if it's the fred key - just let me get a hardcopy.
Look at vcs(4) Quote: DESCRIPTION /dev/vcs0 is a character device with major number 7 and minor number 0, usually of mode 0644 and owner root.tty. It refers to the memory of the currently displayed virtual console terminal.
EXAMPLES You may do a screendump on vt3 by switching to vt1 and typing cat /dev/vcs3 >foo. Note that the output does not contain newline charac- ters, so some processing may be required, like in fold -w 81 /dev/vcs3 | lpr or (horrors) setterm -dump 3 -file /proc/self/fd/1.
Fantastic Theo, thanks! And whoever it was that wondered what I was trying to capture - it varies, but most commonly fdisk, top, or error messages. Mike- -- If you're not confused, you're not trying hard enough. -- Please note - Due to the intense volume of spam, we have installed site-wide spam filters at catherders.com. If email from you bounces, try non-HTML, non-encoded, non-attachments,
On Saturday 29 April 2006 01:49 pm, Michael W Cocke wrote:
On Sat, 29 Apr 2006 13:24:29 +0200, you wrote:
Fri, 28 Apr 2006, by cocke@catherders.com:
The answer to this is probably in front of me, but it's been a long day...
I dunno - I bash the printscrn button a lot, but it just beeps at me. I'll try bashing the shift lock next, and see what happens. -- kai
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2006-04-28 at 23:17 -0400, Michael W Cocke wrote:
I have a SuSE 9.3 system, no x-windows, just a bash console. I want to be able to hit the printscreen key and get a hardcopy of the screen contents - no graphics, just text (there is some color, which I don't need).
P.S. It doesn't HAVE to be the printscreen key - I don't care if it's the fred key - just let me get a hardcopy.
Well, you can use the mouse to capture the text, if you have service gpm started, and then paste it to a file in another console. That's what I do, actually. Not a single keypress, though. - -- Cheers, Carlos Robinson -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFEU1kRtTMYHG2NR9URAr8sAJ91akxUN+QNvh3l1RrIRW8BH4dobQCeJRLp ua25jH8ZrNKpmxBpTmk1HBs= =hGmV -----END PGP SIGNATURE-----
participants (7)
-
Carl Hartung
-
Carlos E. R.
-
James Knott
-
kai
-
Michael W Cocke
-
Randall R Schulz
-
Theo v. Werkhoven