Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Difference between console and ttys Post 302326252 by Straitsfan on Wednesday 17th of June 2009 12:10:30 PM
Old 06-17-2009
I'm working on an iMac with leopard 10.5.7
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

ttys.. i must be doing something wrong..

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)
Discussion started by: LowOrderBit
2 Replies

2. Programming

what difference between "terminal" and "console"

1 . Thank you for reading the post first. 2 . what difference between "terminal" and "console" (1 Reply)
Discussion started by: chenhao_no1
1 Replies

3. UNIX for Advanced & Expert Users

Dead pseudo-ttys

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)
Discussion started by: markat2k
1 Replies

4. AIX

Difference between tty and console devices ?

Hi, What is the diference between these two ? thanks Vilius (3 Replies)
Discussion started by: vilius
3 Replies

5. Programming

What is the difference between console-based and xwindow-based application?

Hi everyone, What is the difference between console-based and Xwindow-based application? Can I say the application working well in Xwindows can work in console? Can I say the application working well in console cann't work in Xwindow perhaps. Eg, ncurses is console-based and Imlib2 is... (4 Replies)
Discussion started by: liuyan03
4 Replies

6. AIX

all pseudo ttys busy, AIX 5.2

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)
Discussion started by: lacroix
3 Replies

7. UNIX for Dummies Questions & Answers

Windows to Linux remote console using VNC brings up blank console screen with only mouse pointer

:confused:Hi This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons. I get a whole bunch of errors when starting the service too: Tue Feb 23 14:29:45 2010 ... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

8. Solaris

Difference between the desktop session and console session

what is the difference between desktop session and console session in solaris as i am wondering we use option -text for the former and -nowin for the later (1 Reply)
Discussion started by: kishanreddy
1 Replies

9. UNIX for Dummies Questions & Answers

Difference between console and Terminal.

I see these terms used all the time with hardly any distinction between the two. Any clarification would be appreciated!:) I could only get emacs to open in console so I was also wondering what are the common applications to use in console.:wall: (7 Replies)
Discussion started by: theKbStockpiler
7 Replies

10. UNIX for Dummies Questions & Answers

Difference between system console and ILOM .

HI Guru's Can any one explain me the difference between a system console and a ILOM (SC). Thanks in Advance. RK :) (4 Replies)
Discussion started by: rama krishna
4 Replies
TTYS(5) 						      BSD File Formats Manual							   TTYS(5)

NAME
ttys -- terminal initialization information DESCRIPTION
The file ttys contains information that is used by various routines to initialize and control the use of terminal special files. This infor- mation is read with the getttyent(3) library routines. There is one line in the ttys file per special device file. Fields are separated by tabs and/or spaces. Fields comprising more than one word should be enclosed in double quotes (``"''). Blank lines and comments may appear anywhere in the file; comments are delimited by hash marks (``#'') and new lines. Any unspecified fields will default to null. Each line in ttys has the format: tty command type flags The first field is the name of the terminal special file as it is found in /dev. The second field of the file is the command to execute for the line, usually getty(8), which initializes and opens the line, setting the speed, waiting for a user name and executing the login(1) program. However, it can be any desired command, for example the start up for a window system terminal emulator or some other daemon process, and can contain multiple words if quoted. The third field is the type of terminal usually connected to that tty line, normally the one found in the termcap(5) data base file. The environment variable TERM is initialized with the value by either getty(8) or login(1). The remaining fields set flags in the ty_status entry (see getttyent(3)) or specify a window system process that init(8) will maintain for the terminal line or a key into a database of tty attributes (currently unused). on or off init(8) should (or should not) execute the command given in the second field. secure If on is specified, allows users with a uid of 0 (e.g. "root") to login on this line. local Sets the TIOCFLAG_CLOCAL tty(4) flag for the device. This will cause the termios(4) CLOCAL flag to be set on every open and thus modem control signal lines will be ignored by default. softcar Causes the driver to ignore hardware carrier on the line (by setting the TIOCFLAG_SOFTCAR tty(4) flag). rtscts Sets the TIOCFLAG_CRTSCTS tty(4) flag for the device to enable RTS / CTS "hardware" flow control by default. mdmbuf Sets the TIOCFLAG_MDMBUF tty(4) flag for the device to enable DTR / DCD "hardware" flow control by default. The flags "local", "rtscts", "mdmbuf", and "softcar" modify the default behaviour of the terminal line, and their actions are device driver dependent. These flag fields should not be quoted. The string ``window='' may be followed by a quoted command string which init(8) will execute before starting the command specified by the second field. The string ``class='' may be followed by a quoted string used as a key into a database of attributes for that category of tty. See getttynam(3) for more information on this feature. After changing the ttys file a SIGHUP signal can be sent to init(8) with the command ``kill -s HUP 1''. On receipt of this signal, init(8) will re-read the ttys file and spawn any necessary getty(8) processes. Nota Bene: Sending SIGHUP to init(8) does not change the state of the various tty(4) device flags listed above; the ttyflags(8) program must be run for changes in those flags to take effect on the devices. FILES
/etc/ttys EXAMPLES
# root login on console at 1200 baud console "/usr/libexec/getty std.1200" vt100 on secure # dialup at 1200 baud, no root logins ttyd0 "/usr/libexec/getty d1200" dialup on # 555-1234 # Mike's terminal: hp2621 ttyh0 "/usr/libexec/getty std.9600" hp2621-nl on # 457 Evans # John's terminal: vt100 ttyh1 "/usr/libexec/getty std.9600" vt100 on # 459 Evans # terminal emulate/window system ttyv0 "/usr/new/xterm -L :0" vs100 on window="/usr/new/Xvs100 0" # Network pseudo ttys -- don't enable getty ttyp0 none network ttyp1 none network off SEE ALSO
login(1), getttyent(3), ttyslot(3), tty(4), gettytab(5), termcap(5), getty(8), init(8), ttyflags(8) HISTORY
A ttys file appeared in Version 6 AT&T UNIX. BSD
October 7, 2006 BSD
All times are GMT -4. The time now is 04:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy