12-01-2008
Quote:
Originally Posted by
vilius
Hi,
What is the diference between these two ?
thanks
Vilius
tty usually means a serial port device file in AIX, like Zaxxon said, you normally can found something like /dev/tty0 or /dev/tty1. A tty device can be config as a rs-232 port, rs-485 port, or asyn device. It's also can be define as a console port.
console is concept of control terminal. could be a physical device or just a logical term. Physically, in most UNIX, you can define a console via a serial port like one of tty and connect a software or hardware terminal to control a station, or use your video card, in Power System you can use a HMC. Also you can define a logical console in software to redirect your in put output information.
10 More Discussions You Might Find Interesting
1. Programming
Dear Export,
I want to begin an serial-communication application codes associated with TTY devices. But I don't know what key settings should be concerned after opening a TTY device file under UNIX plarform(SunOS 5.7)?
Could you give me some adivce? Thanks! (8 Replies)
Discussion started by: WayneYang
8 Replies
2. UNIX for Dummies Questions & Answers
I use configure cisco devices daily using hyper terminal in windows via the serial port. Is there an alternative solution in unix that I can connect to a cisco console port via serial port? What application do I need?? (1 Reply)
Discussion started by: dgroove3
1 Replies
3. UNIX for Advanced & Expert Users
Hi people,
i tried to search in the forum... but didnt found the answer...
Sometimes i need to send a console message to all users in all tty, like reboot or shutdown does...
But i cant find how to do that.
Someone know?
Thanks a lot (2 Replies)
Discussion started by: gfca
2 Replies
4. UNIX for Dummies Questions & Answers
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)
Discussion started by: Straitsfan
6 Replies
5. Solaris
Is there a utility built into Solaris that will allow me to see console messages from a tty?
I've done a search and see that this is possible through software like ILOM, but I'm looking for a method to do this with built in utilities.
For example, on AIX, I can use swcons `tty` (6 Replies)
Discussion started by: makodarear
6 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
I have searched wiki for pseudo tty devices but it was very complex for me to understand.
Can any one help me understanding concept behind pseudo-tty in layman language?
According to security manual of our org /etc/securetty files shouldn't have any pseudo tty devices.
i understand
ttyX... (5 Replies)
Discussion started by: pinga123
5 Replies
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
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
9. UNIX for Dummies Questions & Answers
Please explain me the difference between /dev and devices..
Googled info is -
/dev - where logical device names stores here
devices - physical device info stores here...
Could any one explain me.. the real difference and major one (3 Replies)
Discussion started by: VijaySolaris
3 Replies
10. Shell Programming and Scripting
In bash, you can do something like this:
#!/bin/bash
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
#!/usr/bin/python2.7
import getpass
import sys
import telnetlib
import... (2 Replies)
Discussion started by: SkySmart
2 Replies
dc(7) Miscellaneous Information Manual dc(7)
NAME
dc - serial line/mouse/keyboard
SYNOPSIS
controller dc0 at ibus0 slot 0 vector dcintr
DESCRIPTION
The dc serial line controller provides DECstation 2100, DECstation 3100, DECstation 5000, and DECstation 5100 computer systems with key-
board, mouse, and serial communications interfaces. The serial communications interfaces on the DECstation 2100 and DECstation 3100 provide
partial modem control. The serial communications interfaces on the DECstation 5000 provide full modem control. The device special file
/dev/tty01 on a DECstation 5100 provides full modem control, while the remaining ports provide no modem control at all. All serial commu-
nications interfaces operate at baud rates from B50 to B9600, excluding B200.
The dc ports are used as follows: Usage Graphics device keyboard at 4800 BPS Mouse or tablet at 4800 BPS Communications port 1 (w/modem
control)/local terminal Communications port 2 (w/modem control)/local terminal
On all systems except the DECstation 5100, serial port 2 is used for the system console port in server (that is, non-graphics) configura-
tions. On DECstation 5100s, the serial port labeled 3 on the back of the system is always the system console port. The serial system con-
sole port always operates at 9600 BPS, 8-bits, no parity; modem control is not supported.
RESTRICTIONS
Data communications equipment attached to the console serial port in server configurations must be set to 9600 BPS, 8-bits, no parity. The
scc driver enforces this restriction.
FILES
console terminal local terminal local terminal local terminal (DECstation 5100 only)
RELATED INFORMATION
console(7), devio(7), tty(7), MAKEDEV(8) delim off
dc(7)