Skip site navigation (1)Skip section navigation (2)
Date:      12 Nov 1998 00:39:22 -0600
From:      Joel Ray Holveck <joelh@gnu.org>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        nik@nothing-going-on.demon.co.uk (Nik Clayton), yokota@zodiac.mech.utsunomiya-u.ac.jp, hackers@FreeBSD.ORG
Subject:   Re: text mode screen grabber?
Message-ID:  <86iuglifdx.fsf@detlev.UUCP>
In-Reply-To: Terry Lambert's message of "Wed, 11 Nov 1998 08:36:56 %2B0000 (GMT)"
References:  <199811110836.BAA06729@usr02.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> True enough. I hasten to point out that I'm not trying to write something
>> for wide distribution (at the moment). This is just something to make
>> the FreeBSD Documentation a little more user friendly.
>> After poking a bit more through syscons.c, I think I should be able
>> to implement something like "press 'D' to dump the current screen to
>> /tmp/syscons.dump" or similar.
> Or implement ESC [ 2 i processing into syscons, and when it gets
> the ESC [ 2 i, have it stuff the input buffer with the screen
> contents.

This doesn't capture the colors (can be modified, but with effort),
and besides, is only useful if you feel like modifying the app you are
capturing.  It was my impression that, for this hacker's needs, this
would be several apps all over FreeBSD.

I would lean towards a ioctl to stuff the screen buffer into a
userland buffer myself.  Quick, painless, and can be used by the app
or a separate program.  Seeing as how it's to help our docs, if you
don't feel like writing the syscons patch, send me a private email and
I'll hack it out myself.

Happy hacking,
joelh

-- 
Joel Ray Holveck - joelh@gnu.org
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86iuglifdx.fsf>