- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 1...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО05-27-2007 10:08 PM
тАО05-27-2007 10:08 PM
Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
I am using on SAP user adn ORACLE user /usr/bin/csh (I must use them).
When ever I am trying to login, it is stopping giving the follwoing message :
TERM = (hp)
How to set the terminal, so that it will login automatically on terminal which i need something like vt100.
In /etc/csh.profile I put the line setenv TERM vt100. I think when I put this line I will change that globally but when i login su - oraxx login stopping giving the following qustion
kiy(root):/root# su - oratst
(c)Copyright 1983-2003 Hewlett-Packard Development Company, L.P.
(c)Copyright 1979, 1980, 1983, 1985-1993 The Regents of the Univ. of California
(c)Copyright 1980, 1984, 1986 Novell, Inc.
(c)Copyright 1986-2000 Sun Microsystems, Inc.
(c)Copyright 1985, 1986, 1988 Massachusetts Institute of Technology
(c)Copyright 1989-1993 The Open Software Foundation, Inc.
(c)Copyright 1990 Motorola, Inc.
(c)Copyright 1990, 1991, 1992 Cornell University
(c)Copyright 1989-1991 The University of Maryland
(c)Copyright 1988 Carnegie Mellon University
(c)Copyright 1991-2003 Mentat Inc.
(c)Copyright 1996 Morning Star Technologies, Inc.
(c)Copyright 1996 Progressive Systems, Inc.
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause in DFARS 252.227-7013.
Hewlett-Packard Company
3000 Hanover Street
Palo Alto, CA 94304 U.S.A.
Rights for non-DOD U.S. Government Departments and Agencies are as set
forth in FAR 52.227-19(c)(1,2).
TERM = (hp)
What I need to do because that situation is problem in automatically backup on Data protector?
Best Regards
seboizm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 10:29 PM
тАО05-27-2007 10:29 PM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
(Did you mean /etc/csh.login?)
This will set it globally for the scummy C shell. But you then have to remove the call to tset(1) or ttytype(1) that causes that prompt.
It may be in ~/.login or ~/.cshrc.
- Tags:
- scummy C shell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2007 10:35 PM
тАО05-27-2007 10:35 PM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
what you describe is probably caused by a "tset" command in the ~oraxx/.login files.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2007 12:27 AM
тАО05-28-2007 12:27 AM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
total 136
-rw-r-xr-x 1 oratst dba 2198 Oct 19 2006 .cshrc
-rw-r-xr-x 1 oratst dba 4058 Oct 19 2006 .dbenv.csh
-rw-r-xr-x 1 oratst dba 4053 Oct 19 2006 .dbenv.sh
-rw-r-xr-x 1 oratst dba 4058 Oct 19 2006 .dbenv_rod.csh
-rw-r-xr-x 1 oratst dba 4053 Oct 19 2006 .dbenv_rod.sh
-rw-r-xr-x 1 oratst dba 250 Jul 2 2004 .dbsrc_rod.csh
-rw-r-xr-x 1 oratst dba 232 Jul 2 2004 .dbsrc_rod.sh
-r--r--r-- 1 oratst dba 347 Oct 19 2006 .exrc
-rw-r-xr-x 1 oratst dba 1700 May 28 09:08 .login
-rw-r-xr-x 1 oratst dba 1700 Oct 19 2006 .login.280507.ss
-rw-r-xr-x 1 oratst dba 1487 May 28 09:24 .profile
-rw-r-xr-x 1 oratst dba 1487 Oct 19 2006 .profile.280597.ss
-rw-r-xr-x 1 oratst dba 8576 Oct 19 2006 .sapenv.csh
-rw-r-xr-x 1 oratst dba 7883 May 25 09:05 .sapenv.sh
-rw-r-xr-x 1 oratst dba 8576 Oct 19 2006 .sapenv_rod.csh
-rw-r-xr-x 1 oratst dba 7883 Oct 19 2006 .sapenv_rod.sh
-rw-r-xr-x 1 oratst dba 1116 Oct 8 2004 .sapsrc_rod.csh
-rw-r-xr-x 1 oratst dba 817 Oct 8 2004 .sapsrc_rod.sh
-rw------- 1 oratst dba 48 May 25 09:38 .sh_history
In file .login I have something like that:
#set up the terminal
eval `tset -s -Q -m ':?hp' `
stty erase "^H" kill "^U" intr "^C" eof "^D" susp "^Z" hupcl ixon ixoff tostop
tabs
When I change /etc/csh.login from
if ( ! $?TERM ) then # if TERM is not set,
setenv TERM hp # use the default
endif
on:
setenv TERM vt100
and I must remove line form .login file in my home directory?
Best regards
seboizm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2007 03:10 AM
тАО05-28-2007 03:10 AM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
try uncommenting the line:
eval `tset -s -Q -m ':?hp' `
as that is probably responsible for the not-wanted prompting.
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2007 11:28 AM
тАО05-28-2007 11:28 AM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
I would suggest you put that back and copy the setenv to .login.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2007 08:16 PM
тАО05-28-2007 08:16 PM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
eval `tset -s -Q -m ':?hp' `
in .login file in home directory end now is ok.
But I have a second question of my post how I can set terminal on vt100 or other than because now when I hash that line I have xterm?
Best regards
seboizm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2007 09:22 PM
тАО05-28-2007 09:22 PM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
if TERM is already set to something reasonable, there is no need to change it. Check the setting by:
echo $TERM
if it does not display anything usable, then change the setting (C-shell syntax):
setenv TERM vt100
or whatever you prefer...
regards,
John K.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2007 11:20 PM
тАО05-28-2007 11:20 PM
Re: Set TERM=vt100 (or other) in C SHELL - HP-UX 11.23?
Also this isn't problem set terma after login.
Thanks Very much evrything work how i want.
Best regard
seboizm