HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh & tset -sQ
Operating System - HP-UX
1836455
Members
2578
Online
110101
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 10:11 PM
10-25-2006 10:11 PM
Hi all,
I have a problem with the command tset
On AIX & Solaris it is workig, but on HPUX
the tset produce the Errormessage "Not a terminal" with remsh.
remsh hpxxxxx 'eval `tset -sQ vt100` '
Not a terminal
How could I solve this problem ?
Thank you very much.
I have a problem with the command tset
On AIX & Solaris it is workig, but on HPUX
the tset produce the Errormessage "Not a terminal" with remsh.
remsh hpxxxxx 'eval `tset -sQ vt100` '
Not a terminal
How could I solve this problem ?
Thank you very much.
Peter Lachnitt
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2006 10:39 PM
10-25-2006 10:39 PM
Re: remsh & tset -sQ
try
remsh hpxxxxx "eval ` tset -s -Q -I -m ':vt220' `"
Yang
remsh hpxxxxx "eval ` tset -s -Q -I -m ':vt220' `"
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 12:48 AM
10-26-2006 12:48 AM
Solution
Hi Peter,
The output you are receiving is correct: there is no terminal associated with the command. To prove this to yourself, open a shell on the server and then do 'remsh hpxxxxx sleep 60' from your remote system. While the remsh command is running, from the shell, issue 'ps -ef | grep sleep 60'. You will see a '?' in the TTY column.
The solution is to run 'eval `tset...`' from /etc/profile or ~user/.profile so that it is executed upon login.
PCS
The output you are receiving is correct: there is no terminal associated with the command. To prove this to yourself, open a shell on the server and then do 'remsh hpxxxxx sleep 60' from your remote system. While the remsh command is running, from the shell, issue 'ps -ef | grep sleep 60'. You will see a '?' in the TTY column.
The solution is to run 'eval `tset...`' from /etc/profile or ~user/.profile so that it is executed upon login.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2006 03:57 AM
10-26-2006 03:57 AM
Re: remsh & tset -sQ
As mentioned, this is very normal because your remsh is logging in, probably because you are doing something like su - oracle or some other user. Most .profile files need to be rewritten for batch mode, that is, where there is no controlling tty device such as remsh or cron. So you locate all the interactive terminal commands in /etc/profile and .profile:
tabs tset ttytype tput stty clear
(not a complete list) and protect these commands like this:
if tty -s
then
fi
Now when you login, if the connection is not-interactive, the command(s) will be bypassed.
Bill Hassell, sysadmin
tabs tset ttytype tput stty clear
(not a complete list) and protect these commands like this:
if tty -s
then
fi
Now when you login, if the connection is not-interactive, the command(s) will be bypassed.
Bill Hassell, sysadmin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP