[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: switching virtual terminals from C



chizor@jhu0048.res.jhu.edu (Aaron Brick) writes:

> HEllo!
> 
> Does anyone know of a way to change, in C, _which_ virtual terminal is
> currently on the screen? I just have no idea where to look for this.
> 
> Thanks.
> 
> Aaron Brick.

Well, the chvt command from the kbd package does this.  Therefore, I'd 
suggest either using a system("chvt <blah>") call, or looking at the
chvt source code, which you'll find in the kbd source package.

p.s.  Hmmm - I wonder how common Debian is here at jhu...


--
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: