ttytype equivalent command in Solaris.


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ttytype equivalent command in Solaris.
# 1  
Old 06-11-2009
ttytype equivalent command in Solaris.

Hi All,

We are trying to migrate scripts from HP Unix to Solaris server, in one of the profile file following command is used to set terminal settings and export its value,

"ttytype -a -s "

Now the same command is not present in Solaris, could someone let me know which command should i use, I know we can use stty to set the TERMS, LINES, COLUMNS, and ERASE env manually. But in case of 'ttytype' it dertermines the TERM automatically (like TERM = vt100) and then exports it.

Any help on this matter, please let me know if any confusions.

Thanks,
Arvind.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

solaris sed equivalent

Hi Experts, I am using this command to edit the file contents and also add the header to the existing file. I prepared this command on my VM (Linux) and it worked as I wanted it to work. But on solaris its not working :(. Please help as it is quite urgent. sample File: a b Output... (5 Replies)
Discussion started by: sugarcane
5 Replies

2. AIX

smitty equivalent command line command

i know after you do something in smitty via the gui, you can click something in smitty that will show you how to do the same thing via the command line, (not using the gui) can anyone tell me how (2 Replies)
Discussion started by: asyed123
2 Replies

3. Solaris

ignite hp-ux, which is the equivalent in solaris?

functions... ---------- Post updated at 02:51 PM ---------- Previous update was at 02:22 PM ---------- sorry i didnīt put the header in the message. i use to add this to cron in hp-ux for do the ignite 00 00 1,15 * * /opt/ignite/bin/make_net_recovery -s <IGNITE SERVER> -n 1 -P s -u -x... (5 Replies)
Discussion started by: pabloli150
5 Replies

4. UNIX for Dummies Questions & Answers

Equivalent of /etc/rc.local in Solaris 10

What is the equivalent of /etc/rc.local in Solaris 10? (4 Replies)
Discussion started by: proactiveaditya
4 Replies

5. Solaris

need solaris /etc/default/fs equivalent file in redhat Linux

contents of /etc/default/fs file in solaris are @:/root !ksh less /etc/default/fs LOCAL=ufs i want to retrieve same LOCAL variable in redhat Linux... any1 knows path of corresponding file in Linux? (3 Replies)
Discussion started by: crackthehit007
3 Replies

6. Solaris

solaris equivalent to the linux screen command

hi there is there a solaris equivalent to the linux screen command? (1 Reply)
Discussion started by: milhan
1 Replies

7. UNIX for Dummies Questions & Answers

What is the equivalent of Solaris snoop in Linux

What is the equivalent of Solaris snoop in Linux I could not find snoop in RHEL (2 Replies)
Discussion started by: santosh149
2 Replies

8. Shell Programming and Scripting

ps ax equivalent in solaris

I am using "ps ax" command in one of my scripts . AIX has x flag for ps . is there any equilent command for ps ax in solaris ? Thanks (1 Reply)
Discussion started by: talashil
1 Replies

9. Solaris

I want a command in solaris equivalent to glance in HP-UX

Hi, C an someone help me out in getting the command to get system statistics like CPU, DISK and I/O utilization in a single command instead of mpstat,vmstat and iostat. When i give sar, getting the following error, bash-3.00# sar sar: can't open /var/adm/sa/sa15 No such... (6 Replies)
Discussion started by: grrajeish
6 Replies

10. Solaris

Solaris equivalent of the ioscan command

What is the Solaris equivalent of the HP-UX "ioscan -funC" command which lists all hardware on the system? (5 Replies)
Discussion started by: etc
5 Replies
Login or Register to Ask a Question
TTYTYPE(5)						     Linux Programmer's Manual							TTYTYPE(5)

NAME
ttytype - terminal device to default terminal type mapping DESCRIPTION
The /etc/ttytype file associates termcap/terminfo terminal type names with tty lines. Each line consists of a terminal type, followed 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 Unixes. 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.25 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 1993-07-24 TTYTYPE(5)