08-20-2012
A TTY terminal device is a character device that performs input and output on a character-by-character basis.
The communication between terminal devices and the programs that read and write to them is controlled by the TTY interface. Examples of TTY devices are ASCII terminal and modems.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,all!
Now ,I write perl for windows platform,and will use signal for asynchronous operations ,but I find it could bring some bugs if it is used incorrectly ,pls help!!! :D (1 Reply)
Discussion started by: hhh101
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
when I execute a script on unix AIX, I've got an error message:
"Execution: 85328 Signal d'alarme".
If I edit this file with "vi", I ve got the same error after a while (about 1 minute).
If I try with another user I still have the problem.
But if I rename this file, no problem.
My... (5 Replies)
Discussion started by: cgsteph
5 Replies
3. Shell Programming and Scripting
Who can explain the meaning of the &2 &1 or @, #, etc in the script?
Is there any document which can explain the usage of these words in details?
for example:
ls /etc/sysconfig/network > /dev/null 2>&1
#@
bash, ksh and sh.
Thanks in advance for ur advice. (1 Reply)
Discussion started by: GCTEII
1 Replies
4. Programming
I am using the signal function, and passing it a function named quit procedure...I get the following warning....
passing arg2 of signal from incompatible pointer type...
void quit_procedure(void); //this is the way i define my prototype...
signal(SIGINT, quit_procedure);
Please guide... (5 Replies)
Discussion started by: jacques83
5 Replies
5. Shell Programming and Scripting
Hi all
I have Master script, Main script ,and 4 Child script.
Master.sh
#!/bin/bash
/export/home/user/Main.shMain.sh
#!/bin/bash
/export/home/user/Child1.sh &
/export/home/user/Child2.sh &
/export/home/user/Child3.sh &
/export/home/user/Child4.sh &I run only Master.sh script... (1 Reply)
Discussion started by: almanto
1 Replies
6. UNIX for Dummies Questions & Answers
I have this code that doesnt do what it is suppose to do. It should block signal that I send while process is running. I press control+z while this process is running and it should be blocked but it isnt. When i press control+z it gives me this....
+ Stopped
When I change SIGTSP into SIGINT then... (5 Replies)
Discussion started by: joker40
5 Replies
7. UNIX for Advanced & Expert Users
Hi,
from my Windows Workstation I can connect with PUTTY to an AIX 6.1 unix server.
On AIX via PUTTY I run DBCA which has a grphical interface.
Then :
#DISPLAY=local_host:0.0 ; export DISPLAY
$(hostname) $(whoami):/appli/oracle/product/10.2.0/db_1/bin#dbca
_X11TransSocketINETConnect()... (12 Replies)
Discussion started by: big123456
12 Replies
8. Programming
A program have to receive signals and work agreed with it, but the process have to receive more than one signal when it is attending other. Those have to be queued to be attended later recived.
how can i do that?
thanks. (2 Replies)
Discussion started by: marmaster
2 Replies
9. Shell Programming and Scripting
Task 1:
#!/bin/ksh
if
then
echo "Usage : $0 Signalnumber PID"
exit
fi
case "$1" in
1) echo "Sending SIGHUP signal"
kill -SIGHUP $2
;;
2) echo "Sending SIGINT signal"
kill -SIGINT $2
;;
3) echo "Sending SIGQUIT signal"
kill -SIGQUIT $2 (3 Replies)
Discussion started by: Ramesh M
3 Replies
LEARN ABOUT OPENSOLARIS
ttydefs
ttydefs(4) File Formats ttydefs(4)
NAME
ttydefs - file contains terminal line settings information for ttymon
DESCRIPTION
/etc/ttydefs is an administrative file that contains records divided into fields by colons (":"). This information used by ttymon to set
up the speed and terminal settings for a TTY port.
The ttydefs file contains the following fields:
ttylabel The string ttymon tries to match against the TTY port's ttylabel field in the port monitor administrative file. It often
describes the speed at which the terminal is supposed to run, for example, 1200.
initial-flags Contains the initial termio(7I) settings to which the terminal is to be set. For example, the system administrator will
be able to specify what the default erase and kill characters will be. initial-flags must be specified in the syntax rec-
ognized by the stty command.
final-flags final-flags must be specified in the same format as initial-flags. ttymon sets these final settings after a connection
request has been made and immediately prior to invoking a port's service.
autobaud If the autobaud field contains the character 'A,' autobaud will be enabled. Otherwise, autobaud will be disabled. ttymon
determines what line speed to set the TTY port to by analyzing the carriage returns entered. If autobaud has been dis-
abled, the hunt sequence is used for baud rate determination.
nextlabel If the user indicates that the current terminal setting is not appropriate by sending a BREAK, ttymon searchs for a tty-
defs entry whose ttylabel field matches the nextlabel field. If a match is found, ttymon uses that field as its ttylabel
field. A series of speeds is often linked together in this way into a closed set called a hunt sequence. For example, 4800
may be linked to 1200, which in turn is linked to 2400, which is finally linked to 4800.
SEE ALSO
sttydefs(1M), ttymon(1M), termio(7I)
System Administration Guide: Basic Administration
SunOS 5.11 27 Jan 1994 ttydefs(4)