Operating System - HP-UX
1828642 Members
7954 Online
109983 Solutions
New Discussion

Re: Error while executing the script

 
kamal_9
Super Advisor

Error while executing the script

Hi,

 

We have created a script for starting our Application. While executing the script its prompting for setting the TERM emulation. I am not sure where its picking it from. I am tried the following

  1. Setting up the TERM in script
  2. Setting up the TERM in .profile in /
  3. Setting up the TERM in /etc/skel/.profile  

 

How do I stop the TERM being prompted while executing the script.

 

Thanks

Kamal

 

1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: Error while executing the script

>How do I stop the TERM being prompted while executing the script?

 

You pointed right at it, the broken HP .profile and possibly in /etc/profile.

stty erase "^H" kill "^U" intr "^C" eof "^D"

See the following:

http://h30499.www3.hp.com/t5/System-Administration/stty-not-a-typewriter-message/m-p/2953635#U2953637

And Bill's below that.