Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jun 2004 17:22:50 +0800 (CST)
From:      =?iso-8859-1?q?Stephen=20Liu?= <satimis@yahoo.com>
To:        Randy Pratt <rpratt1950@earthlink.net>, "Andrew L. Gould" <algould@datawok.com>
Cc:        questions@freebsd.org
Subject:   Re: How to make a screenshot?
Message-ID:  <20040605092250.7138.qmail@web40303.mail.yahoo.com>
In-Reply-To: <20040604214149.082b2831.rpratt1950@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Randy,

FreeBSD 5.2

>            vidcontrol -p < /dev/ttyv0 > shot.scr

with the above command a file 'shot.scr' was created. 
 But I have no program to view it.

# pkg_info | grep scr2txt
# pkg_info | grep scr2png
# pkg_info | grep -w xv
all no printout

# cd /usr/ports
# make search name=scr2txt
Port:   scr2txt-1.1
Path:   /usr/ports/textproc/scr2txt
Info:   Converts the output of "vidcontrol -p" to text

# make search name=scr2png
Port:   scr2png-1.1_4
Path:   /usr/ports/graphics/scr2png
Info:   Converts the output of "vidcontrol -p" to PNG

# make search name=xv | grep -w xv
Port:   xv-3.10a_3
Path:   /usr/ports/graphics/xv

Kindly advise Whether I have to install either of the
above program to read shot.scr?

>      The following command will dump contents of the
> fourth virtual
>      terminal to the standard output in the human
> readable format:
> 
>            vidcontrol -P < /dev/ttyv3

On KDE desktop Konsole window

# vidcontrol -P < /dev/ttyv3
no graphic image displayed
(tried both -P and -p)

Besides I have to 'su' to use 'vidcontrol'

B.R.
Stephen Liu


> The .scr images can be manipulated with
> textproc/scr2txt and
> graphics/scr2png.  The man pages for both describe
> their usage.
> 
> These are the tools that are used to produce the
> screenshots of
> the console and Sysinstall in the Handbook.
> 
> For screenshots in XFree86, I find that graphics/xv
> does the job
> quite nicely without a lot of fuss.
> 
> Best regards,
> 
> Randy

_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk



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