Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ttytype(5) [centos man page]

TTYTYPE(5)						     Linux Programmer's Manual							TTYTYPE(5)

NAME
ttytype - terminal device to default terminal type mapping DESCRIPTION
The /etc/ttytype file associates termcap(5)/terminfo(5) terminal type names with tty lines. Each line consists of a terminal type, fol- lowed by whitespace, followed by a tty name (a device name without the /dev/) prefix. This association is used by the program tset(1) to set the environment variable TERM to the default terminal name for the user's current tty. This facility was designed for a traditional time-sharing environment featuring character-cell terminals hardwired to a UNIX minicomputer. It is little used on modern workstation and personal UNIX systems. FILES
/etc/ttytype the tty definitions file. EXAMPLE
A typical /etc/ttytype is: con80x25 tty1 vt320 ttys0 SEE ALSO
termcap(5), terminfo(5), agetty(8), mingetty(8) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2012-12-31 TTYTYPE(5)

Check Out this Related Man Page

TTY(4)							     Linux Programmer's Manual							    TTY(4)

NAME
tty - controlling terminal DESCRIPTION
The file /dev/tty is a character file with major number 5 and minor number 0, usually of mode 0666 and owner.group root.tty. It is a syn- onym for the controlling terminal of a process, if any. In addition to the ioctl(2) requests supported by the device that tty refers to, the ioctl(2) request TIOCNOTTY is supported. TIOCNOTTY Detach the calling process from its controlling terminal. If the process is the session leader, then SIGHUP and SIGCONT signals are sent to the foreground process group and all processes in the current session lose their controlling tty. This ioctl(2) call works only on file descriptors connected to /dev/tty. It is used by daemon processes when they are invoked by a user at a terminal. The process attempts to open /dev/tty. If the open succeeds, it detaches itself from the terminal by using TIOCNOTTY, while if the open fails, it is obviously not attached to a terminal and does not need to detach itself. FILES
/dev/tty SEE ALSO
chown(1), mknod(1), ioctl(2), termios(3), console(4), tty_ioctl(4), ttyS(4), agetty(8), mingetty(8) COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2003-04-07 TTY(4)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

copy from Solaris to HyperTerm

Hello, I try to copy a small file e.g. /etc/hosts from my workstation to my office Pc via serial cable on Port b. (/dev/term/b) But I donīt now how! On the Pc I can only use the HyperTerm on NT because this is the released software. There is an option to send or receive data but i have no idea... (11 Replies)
Discussion started by: joerg
11 Replies

2. Windows & DOS: Issues & Discussions

FacetWin for UNIX

I've been using FacetWin for some time now to connect Windows to UNIX. I have several tty's connected with a limited amount of licenses. The problem is that every time a tty gets disconnected for any reason (problems in the line, power out, etc.) I need to star killing tty's in order to free... (0 Replies)
Discussion started by: RDM00
0 Replies

3. Linux

Error on my Linux terminal

(2 Replies)
Discussion started by: gsabarinath
2 Replies

4. Linux

tty terminal permissions problem

I'm hoping someone can help me out here. I'm having a problem on my Red Hat Enterprise 5 Server where my tty devices "tty" are being set to read only permissions. I need them to be set to 777 in order to write to the serial printers through a custome application. I have gone through many... (2 Replies)
Discussion started by: Netwrkengeer
2 Replies

5. SuSE

Telnet to SCO UNIX from SUSE Linux Workstation

Hi i am new to Linux, i am trying to connect SCO Unix from SUSE LINUX Workstation but i am unable to define the terminal type. i have also downloaded terminal softwares but function keys (f1, f2....) and some other keys are displaying code instead of working the correct function. is there... (2 Replies)
Discussion started by: aafflatoon
2 Replies

6. What is on Your Mind?

Final Year Project dilemma

Hello everyone. Need some final year project ideas - what is actual/feasible and beneficial experience-wise? Preferably something related to Networking / Linux / UNIX / Security . Appreciate any help/idea. E.K. (0 Replies)
Discussion started by: reminiscent
0 Replies

7. Hardware

How to make terminals with a PC(UNIX/LInux) support?

I want to build a network, in this network there is only one PC and 50 terminals, 50 students can use this system to study UNIX/Linux. In the old days, computer was very expensive, many scientists shared a computer with terminals, that means a terminal has no cpu, memory and hardisk. In... (5 Replies)
Discussion started by: haixiao_liu
5 Replies

8. Solaris

tty hack

hi all, what i want to do when user open terminal like tty5 and do his work i want to see his terminal how can i do this (1 Reply)
Discussion started by: xxmasrawy
1 Replies

9. UNIX for Advanced & Expert Users

tty changes?

I am not sure if I am using the correct terminology but somehow my tty keeps changing on me. The man pages are confusing to me on what exactly the tty is. This is what I see when I run the tty command. Could anyone explain why my tty keeps changing? ~ $ tty /dev/pts/1 ~ $ tty /dev/pts/0 (6 Replies)
Discussion started by: cokedude
6 Replies

10. UNIX for Advanced & Expert Users

Getting the process ID of the terminal in Unix/Linux

Hi, How can we get the process id of the terminal we are using? When we logged in to unix, we have an associated terminal. we can use "tty" command to get the terminal we are using like: /dev/pts/0 I want to know the process id of this terminal. Please reply as I searched a lot but I... (8 Replies)
Discussion started by: crazybisu
8 Replies

11. UNIX for Dummies Questions & Answers

Weird: unexpected result after piping a sort

Hello, And when you think you know the basics of something, UNIX in this case, something like what I will describe below comes along.... On a Linux system, a "typical" directory with some files. Say 20. I do: > ls | sort > mylisting Now when I: > vi mylisting There is mylisting... (13 Replies)
Discussion started by: stavros
13 Replies

12. UNIX for Dummies Questions & Answers

UNIX System V Release 4 back in the 90's

Howdy all, I'm new on this great forum. In 1990 I did a course UNIX system admin. I remember that we used a minicomputer with 15 terminals. My question is..what were the hardware requirements those days to install UNIX Sys 5 R 4? I guess most modern PC's are more powerfull then the... (2 Replies)
Discussion started by: raylier
2 Replies

13. HP-UX

Network Connectivity Issues

Newbie with UNIX here. Currently troubleshooting a UNIX terminal we have. I determined it to be bad and swapped it out with a known good terminal. I went in and changed the IP address and host name to reflect the old terminal. Although now there is no connectivity. I swapped out the NIC... (1 Reply)
Discussion started by: kevinlord190
1 Replies

14. Shell Programming and Scripting

Prompting user twice on the same line

Hi, I'm trying to prompt twice on the same line but can't make it so far. I can prompt only once per line. i.e. read -p "Enter the two digits of your sum: " NUM1; read -p "+" NUM2 the result of above is:Enter the two digits of your sum: 5 + 7 But I would like it to look something... (8 Replies)
Discussion started by: violeta.barajas
8 Replies