Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

chvt(1) [debian man page]

CHVT(1) 						      General Commands Manual							   CHVT(1)

NAME
chvt - change foreground virtual terminal SYNOPSIS
chvt N DESCRIPTION
The command chvt N makes /dev/ttyN the foreground terminal. (The corresponding screen is created if it did not exist yet. To get rid of unused VTs, use deallocvt(1).) The key combination (Ctrl-)LeftAlt-FN (with N in the range 1-12) usually has a similar effect. 26 January 1997 CHVT(1)

Check Out this Related Man Page

tcgetpgrp(3C)															     tcgetpgrp(3C)

NAME
tcgetpgrp() - get foreground process group id SYNOPSIS
DESCRIPTION
returns the value of the process group ID of the foreground process group associated with the terminal referenced by fildes. is allowed from a process that is a member of a background process group (see termio(7)); however, the information can be subsequently changed by a process that is a member of a foreground process group. RETURN VALUE
Upon successful completion, returns the value of the process group ID of the foreground process group associated with the terminal refer- enced by fildes. Otherwise, returns a value of -1 and sets to indicate the error. ERRORS
fails if any of the following conditions are encountered: The file associated with fildes is the controlling terminal of the calling process, however, there is no foreground process group defined for the controlling terminal. fildes is not a valid file descriptor. The file associated with fildes is not the controlling terminal or the calling process does not have a controlling terminal. WARNINGS
The error which is returned if the controlling terminal has no foreground process group, might not be returned in future releases, depend- ing on the course taken by the POSIX standard. Portable applications therefore should not rely on this error condition. SEE ALSO
setpgid(2), setsid(2), tcsetpgrp(3C), thread_safety(5), termio(7). STANDARDS CONFORMANCE
tcgetpgrp(3C)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Simple script to modify kickstart file

Hi, I would like to create a script so that it will ask me the following: 1) What is the ip address? 2) What is the gateway address? 3) What is the hostname? and then put the answer to the below kickstart file (kickstart.cfg) Here I included the kickstart.cfg: # Kickstart file... (9 Replies)
Discussion started by: beeloo
9 Replies

2. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
2 Replies

3. UNIX for Advanced & Expert Users

Mistakenly renamed libdl.so: system got corrupted

Hi, I am using Ubuntu 8.04 64-bit (Hardy Heron LTS Desktop edition) OS on a 64-bit intel hardware (x86_64). I have wrongly renamed the /lib64/libdl-2.7.so shared library file and now hardly few commands are working. My Gnome UI display has gone and I could not establish any new connection via... (12 Replies)
Discussion started by: royalibrahim
12 Replies

4. Fedora

How to increase/Decrease Local Virtual consoles?

I m tring to figure out the option where i can increase/Decrease the count for local virtual consoles(vtys). I can able to take upto 6 vtys using (left alt+(F1-F6)) But is there any way i can increase the count ? One more query even though i can only take tty upto tty6 why there are tty... (2 Replies)
Discussion started by: pinga123
2 Replies

5. Linux

TuxOnIce stalls 3 times before resuming

I am having trouble resuming from hibernation using TuxOnIce method. The thing works, but in a very strange manner. Here's how it looks: 1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds) Reading kernel & process data... Atomic restore.... (8 Replies)
Discussion started by: lockheed
8 Replies

6. IP Networking

Help with iptables

photo... (1 Reply)
Discussion started by: beerpong1
1 Replies

7. Android

Basic Android platform information.

I am thinking of developing an app' for Android mobile devices... Two questions here:- 1) Does anyone _develop_ for the Android _mobile_ platform? If so do you use OSX 10.7.5 or greater as your _development_platform_? 2) I know ********* is gonna say that the Android terminal/shell is... (13 Replies)
Discussion started by: wisecracker
13 Replies

8. Shell Programming and Scripting

Launching mplayer from within Links2 using a shell script

I'm using the Links2 console web browser in graphical mode (the "-g" argument), and launching a shell script that invokes MPlayer from within it. MPlayer works fine. No problem there. The problem, is that I have no control over the MPlayer process. I would like to be able to exit MPlayer whenever... (16 Replies)
Discussion started by: ignatius
16 Replies

9. What is on Your Mind?

Climate change anyone?

Hi all together, The US President considers this topic as not serious. Here in Germany there it's taken very serious, made a lot of words, but little action. As far as I am reading now - written here quite clearly ... N.Y. Times - loosing earth or as video with the current state of... (37 Replies)
Discussion started by: stomp
37 Replies