Re: More BASH questions
Brent,
Try the following
cat /dev/vcsaX | lpr
Where "X" is the number of the Virtual Console that contains the
output that you want to print.
You can do the same to a file:
cat /dev/vcsaX > screen.dump
Hope this helps,
Steve Mayer
smayer@rtd.com
Fulgham, Brent/SCO wrote:
>
> Can anyone tell me if there is a way to generate "screen dumps" of bash
> sessions?
>
> For example, let's say I have a test-mode application that asks for some
> input and then outputs something in response. Is there a way to have
> this whole exchange dumped to the printer, so that both the program
> output and my manual input are copied to the printer? This would be
> similar to the "screen dump" capability of DOS.
>
> Thanks,
>
> -Brent
>
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org .
> Trouble? e-mail to templin@bucknell.edu .
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: