This is a discussion on Capturing text from console buffer ? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi, When one asks a question on this forum, the usual response are very often. What did you type, ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, When one asks a question on this forum, the usual response are very often. What did you type, and what was the response. How can one capture the input/output in the console buffer in a file after one has typed commands and responses has been printed to the console ? I.e. I want to save the contents of the console buffer to a file. Regards Anton Erasmus |
| |||
| Anton Erasmus wrote: > Hi, > > When one asks a question on this forum, the usual response are very > often. > > What did you type, and what was the response. > > How can one capture the input/output in the console buffer in a file > after one has typed commands and responses has been printed to > the console ? I.e. I want to save the contents of the console buffer > to a file. man script > Regards > Anton Erasmus Cool name, dude! -- Jeroen Geilman All your bits are belong to us. |
| |||
| On Mon, 29 Sep 2003 19:26:02 +0200, Anton Erasmus <junk@junk.net> wrote: > Hi, > > When one asks a question on this forum, the usual response are very > often. > > What did you type, and what was the response. > > How can one capture the input/output in the console buffer in a file > after one has typed commands and responses has been printed to > the console ? I.e. I want to save the contents of the console buffer > to a file. man script Michael C. -- mcsuper5@usol.com http://mcsuper5.freeshell.org/ Registered Linux User #303915 http://counter.li.org/ |
| |||
| Anton Erasmus <junk@junk.net> wrote: > How can one capture the input/output in the console buffer in a file > after one has typed commands and responses has been printed to > the console ? I.e. I want to save the contents of the console buffer Copy and paste using the mouse. > to a file. Peter |
| |||
| On Mon, 29 Sep 2003 19:26:02 +0200, Anton Erasmus <junk@junk.net> wrote: > > > Hi, > > When one asks a question on this forum, the usual response are very > often. > > What did you type, and what was the response. > > How can one capture the input/output in the console buffer in a file > after one has typed commands and responses has been printed to > the console ? I.e. I want to save the contents of the console buffer > to a file. > > Regards > Anton Erasmus Here's another tool to toss in your box. To take a screenshot of whatever is on a particular tty, as root do: cat /dev/vcsN > file Where N is the number of the tty. You could change the ownership of /dev/vcs to use it(them) as a user. -- Later, Alan C You can find my email address at the website: elrav1.html --> ACKNOWLDEGEMENTS/CONTACT (20k or less, plain text) take control of your mailbox ----- elrav1 ----- http://tinyurl.com/l55a |
| |||
| On Mon, 29 Sep 2003 19:26:02 +0200, Anton Erasmus <junk@junk.net> wrote: > Hi, > > When one asks a question on this forum, the usual response are very > often. > > What did you type, and what was the response. > > How can one capture the input/output in the console buffer in a file > after one has typed commands and responses has been printed to > the console ? I.e. I want to save the contents of the console buffer > to a file. > > Regards > Anton Erasmus If gpm is installed, you can copy and paste with the mouse. -- Commander Spiral Pyjama Pseudo-Rhinocerous Feline Thingamajig Bill Marcum (the First) Ozy and Millie Name Generator http://heifong.phase.org/omname.php |
| ||||
| On Mon, 29 Sep 2003 20:12:05 +0000, Jeroen Geilman <nospam@notadaptr.nl> wrote: >Anton Erasmus wrote: > >> Hi, >> >> When one asks a question on this forum, the usual response are very >> often. >> >> What did you type, and what was the response. >> >> How can one capture the input/output in the console buffer in a file >> after one has typed commands and responses has been printed to >> the console ? I.e. I want to save the contents of the console buffer >> to a file. > >man script > >> Regards >> Anton Erasmus > >Cool name, dude! Thanks for all the answers. I think I'll try script first. About the name. I think you are probably one of the few that can actually pronounce it correctly. I sometimes get very odd pronunciation from english speakers. Luckely not as bad as a colleague whos surname is Drijfhout. Drijfhout is pronounced with the "ij" portion as the "ay" in say, and the "ou" as the 'o' sound in "hope". Regards Anton Erasmus |