On Sun, Sep 22, 2002 at 04:44:04PM +0530, S Gantayet wrote:
> 
> Tried the capturing screen command using setterm as per 
> LOST #142 (see below)
> 
[snipped]
> 
> Am getting the message:
> couldn't read /dev/vcsa0, and cannot iocntl dump.There is 
> no vcsa0 in /dev. created a directory  vcsa0  in /dev. it 
> did not list in ls -a, though  it was created as  when  I 
> tried to make another vcsa0, it said cannot create direc-
> tory as file exists! 
> 
> Read the man pages for vcs - virtual console memory,  but 
> could not sort out the problem. 
[snipped]
> Can someone please help explain.
> 
---end quoted text---

o LOST #142 uses setterm for screen capture. As a matter of
  fact it merely captures the output of your vcsN  devices,
  (with --dump option). The man page of setterm states:
  
   <snip>
   In this case, if the terminal type is "con", or "linux" 
   the string that invokes the specified  capabilities  on  
   the PC Minix virtual console driver is output.
   <snip>
   
o For every "linux" console (/dev/ttyN), there is a corres-
  ponding "virtual console" (/dev/vcsN). If you  have some-
  thing on tty1, you can log into tty6, and view the screen
  of tty1 by merely typing "cat /dev/vcs1" from tty6.
  
o setterm --dump just does exactly that.

o There seems to be some problem in your distro installation
  since entries in /dev are made  during installation.  What
  is your distro ?
  
o Entries in /dev are made with "mknod" and not "mkdir". The
  entries here may be changed in different distros, but as a
  rule, vcsN devices are owned by root.tty. These  are char-
  acter devices, having a major number of 7 and  minor  of 0
  through 24 for devices vcs0 through vcs24. Permission 666.
  On an ls -al, they look like:
  
crw-rw-rw-   1 root  tty     7,   0   May  6  1996 /dev/vcs0
crw-rw-rw-   1 root  tty     7,   1   May  6  1996 /dev/vcs1
....
                               
o Similarly there is vcsaN (1 through 24), similar to  above
  with same ownership and major 7, minor 128 through 152.
  
o To create such devices, you need to use the mknod command,
  or, use the /dev/MAKEDEV script. Try "man 8 MAKEDEV".
  
o Please come back on personal mail if you have any further
  difficulty creating these /dev entries. 
  
HTH

Bish
   
--
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################
  
Sub : Accessing ext2 through Windows                 LOST #186

Download a program called "explore2fs" from:
http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm
and install it in win9x partition ...  It gives explorer like 
interface. WARNING! Write to ext2 is still alpha ..  use with
caution ... ext2 partition read is 100% safe.                 
                                                              
####<[EMAIL PROTECTED]>################################
:


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to