How to make a screenshot?
    Stephen Liu 
    satimis at yahoo.com
       
    Sat Jun  5 02:22:56 PDT 2004
    
    
  
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
    
    
More information about the freebsd-questions
mailing list