TTYS(5) File Formats Manual TTYS(5)NAME
ttys - terminal initialization data
DESCRIPTION
The ttys file is read by the init program and specifies which terminal special files are to have a process created for them which will
allow people to log in. It contains one line per special file.
The first character of a line is either `0' or `1'; the former causes the line to be ignored, the latter causes it to be effective. The
second character is used as an argument to getty(8), which performs such tasks as baud-rate recognition, reading the login name, and call-
ing login. For normal lines, the character is `0'; other characters can be used, for example, with hard-wired terminals where speed recog-
nition is unnecessary or which have special characteristics. (Getty will have to be fixed in such cases.) The remainder of the line is
the terminal's entry in the device directory, /dev.
FILES
/etc/ttys
SEE ALSO init(8), getty(8), login(1)TTYS(5)
Check Out this Related Man Page
GETTY(8) System Manager's Manual GETTY(8)NAME
getty - set typewriter mode
SYNOPSIS
/etc/getty [ char ]
DESCRIPTION
Getty is invoked by init(8) immediately after a typewriter is opened following a dial-up. It reads the user's login name and calls
login(1) with the name as argument. While reading the name getty attempts to adapt the system to the speed and type of terminal being
used.
Init calls getty with a single character argument taken from the ttys(5) file entry for the terminal line. This argument determines a
sequence of line speeds through which getty cycles, and also the `login:' greeting message, which can contain character sequences to put
various kinds of terminals in useful states.
The user's name is terminated by a new-line or carriage-return character. In the second case CRMOD mode is set (see ioctl(2)).
The name is scanned to see if it contains any lower-case alphabetic characters; if not, and if the name is nonempty, the system is told to
map any future upper-case characters into the corresponding lower-case characters.
If the terminal's `break' key is depressed, getty cycles to the next speed appropriate to the type of line and prints the greeting message
again.
Finally, login is called with the user's name as argument.
The following arguments from the ttys file are understood.
0 Cycles through 300-1200-150-110 baud. Useful as a default for dialup lines accessed by a variety of terminals.
- Intended for an on-line Teletype model 33, for example an operator's console.
1 Optimized for a 150-baud Teletype model 37.
2 Intended for an on-line 9600-baud terminal, for example the Textronix 4104.
3 Starts at 1200 baud, cycles to 300 and back. Useful with 212 datasets where most terminals run at 1200 speed.
5 Same as `3' but starts at 300.
4 Useful for on-line console DECwriter (LA36).
SEE ALSO init(8), login(1), ioctl(2), ttys(5)GETTY(8)
I need to delete a TTY in my AIX 4.3 system. I have tried using the smit but everytime I try it, there is a message telling me that the device is in use and cannot be changed. How do I take the device "offline", so to speak, so that I can edit the settings and/or delete it.
V/R
Djassi (3 Replies)
I have to capture a remote terminal from the Unix machine
I tried with cat /dev/pts/0 (remote terminal) > /dev/tty1 (Unix terminal)
but its is blocking the remote terminal. (2 Replies)
SCO Unix OpenServer 5
I have this old impact printer that prints invoices, after about 15 pages it becomes misaligned.
ditty -a ttya04 shows -ixon -ixoff -ixany, which is not the right setting..
so, i type
ditty /dev/ttya04 ixon ixoff -ixany
when i ditty -a ttya04 again, the... (2 Replies)
Im having a problem,
Any want know why after ive upgrade from Linux 7.0 to 7.1 ( 2.4.2-2 ) My mouse is having problem. If i drag a content in my Desktop let say an icon suddently the mouse stops moving ( Hang / freeze ) i need to do a hard reboot everytime to make it comes to normal. If... (4 Replies)
I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this.
**** I'm running Redhat 9
*****External Usrobotics 56k
Thanks a lot guys (1 Reply)
We are having a problem on an AIX 4.3 system, whereby users somehow exit the system in a way such that their process continues to run.
In the who listing, the user may or may not be listed. Processes are still listed in ps, and are still assigned to the pseudo-tty. Processes continue to... (1 Reply)
Sometimes when I open up the terminal (like just now) it says
Last login: Wed Jun 17 07:29:25 on console
sometimes it says ttys (like when I exit and open a new window/tab). What's the difference? and is something fishy going on? (6 Replies)
I have several users connecting via a Windows-based SSH\telnet client. The previous sysadmin used FacetTerm to allow certain users to switch between multiple "windows." I'm told there are AIX-native ways to do this but I work with what I inherited.
Originally, many users were still connecting... (3 Replies)
Ciao a tutti!!!
il mio problema è questo: sto cercando di inviare dei comandi AT da PC a cellulare utilizzando il bluetooth e cygwin e vorrei visualizzare le risposte nella shell bash. Per farlo apro due terminali utilizzando le seguente istruzioni:
xterm &
Sul primo scrivo
cat /dev/ttyS2
... (1 Reply)
Hi! I've got a problem with reading from serial port, when I run this code on Digi ConnectCore Wi-9c. But writing to serial port is Ok. By the way, when I'm running this code on "full" Linux it is working Ok - I can read and write to serial without mistakes. Where is a problem?
uname -a:... (3 Replies)
I searched the forums for RS232 issues, but all of the results don't help me solving my problem, so I had to open new thread.
This is the problem:
I have PIC16F877A micro-controller and I'm programming it with Easypic5(the PIC programming device(board) from MikroElektronika) and I want to... (1 Reply)
Hi,
I have been trying to capture console logs from the init script.
When the ramfs is mounted, i check if usb is connected , if conncted, i mount it and redirected the console logs like so:
cat & /dev/ttyS1 >> /mnt/logs.txt
I'm getting
/bin/sh : /dev/ttyS1 :permission denied
... (8 Replies)
Hello everyone.
I am logged into a computer through ssh. I would like to run a program and have it keep running after I log out without screen (i forgot to run it).
For example:
ssh server
user/comp~$ top &
12021
exit
after that:
ssh server
user/comp~$ (something, maybe shell... (5 Replies)
I'm a beginner to the Linux programming and trying my hands on some device driver examples while practising. The below code (a trimmed down version of tiny_tty.c from ldd3 book) loads perfectly using insmod and I'm able to see it in /proc/tty/drivers , /proc/modules and device nodes are getting... (1 Reply)
I got an issue in a RH6.3 VM host , the issue is ttyS0 is always respawning and piling up /var/log/messages with errors.The customer is OK to have tty0 as the serial terminal but ttyS0 needs to be disabled.
Below is the mention of lines that contain 'serial' string from the xml file . How can I... (1 Reply)