vhangup(2) System Calls Manual vhangup(2)Name
vhangup - virtually hang up the current control terminal
The system call initializes a terminal line. For example, the command uses to ensure that the previous user's processes cannot access the
First, searches the system tables for references to the current terminal (the control terminal of the invoking process) and revokes access
permissions on each instance of the terminal that it finds.
The system call also removes all references to the inode that corresponds to the control terminal. The system call then invokes the ker-
nel's device close routine to turn the terminal off. Finally, sends a hangup signal (SIGHUP) to the process group of the control terminal.
For further information, see for a description of process groups.
When finishes, a terminal line is initialized; no other processes refer to this line. The only way for other processes to access the con-
trol terminal is through the special file, All other requests will yield I/O errors (EBADF).
Check Out this Related Man Page
ul(1) General Commands Manual ul(1)Name
ul - process underscores for terminal
ul [-i] [-t terminal] [name...]
The command reads the named files (or standard input if none are given) and translates occurrences of underscores to the sequence which
indicates underlining for the terminal in use, as specified by the environment variable TERM. The -t option overrides the terminal kind
specified in the environment. The file /etc/termcap is read to determine the appropriate sequences for underlining. If the terminal is
incapable of underlining, but is capable of a standout mode then that is used instead. If the terminal can overstrike, or handles under-
lining automatically, degenerates to If the terminal cannot underline, underlining is ignored.
The -i option causes to indicate underlining by a separate line containing appropriate dashes `-'; this is useful when you want to look at
the underlining which is present in an output stream on a crt-terminal.
Options-i Displays underscoring on separate line containing appropriate dashes (-).
Uses type of specified terminal in place your terminal's type.
The command usually outputs a series of backspaces and underlines intermixed with the text to indicate underlining. No attempt is made to
optimize the backward motion.
See Alsoman(1), nroff(1), colcrt(1)ul(1)
<h1>A short history of UNIX</h1>
<p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell
Laboratories, which is the research arm of the giant American corporation ATT. He and many
colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
We have quite a few threads about this subject. I have collected some of them and arranged them by the OS which is primarily discussed in the thread. That is because the exact procedure depends on the OS involved. What's more, since you often need to interact with the boot process, the... (0 Replies)
I'm writing a command shell, and I want to be able to detect when the user presses an arrow key (otherwise it just prints [[A, [[B, etc.). I know it's relatively easy (although somewhat more time-consuming) to detect keystrokes in noncanonical mode, but I've noticed that the bash shell detects... (4 Replies)
I'm learning off Linux (Ubuntu) right now. I want to move up to Unix, but I don't want to rush like I did when it came to Windows --> to Linux. What is the best Unix OS that fits in pretty well with Ubuntu.
In other words is there kind of an equal Linux with Unix?
Also what do I need to... (10 Replies)
I noticed my hostname is <my-full-name>s-macbook.local. I'm not sure exactly what information leaves the local network, and whether the hostname is included, but if it is, this would mean people on the Internet can look at my hostname and see who I am. Before anyone says that's not possible,... (4 Replies)