- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- stty erase problem driving me creasy !!!!!
Operating System - HP-UX
1820074
Members
2896
Online
109608
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
Discussions
Discussions
Discussions
Forums
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
тАО01-17-2004 12:44 AM
тАО01-17-2004 12:44 AM
stty erase problem driving me creasy !!!!!
Hi,
This problem driving me crazy. I don't no wat i'm doing wrong.
I use x reflatction terminal emulation to make connection with my unix box. Evrything is ok except if i want to use an terminal. The terminalwindow works to but my erase key is allways ^H en i want to use Backspace.
stty erase ^? works fine but i want to do this automaticly form my profile.
If i make telnet connection to my unix box evrything works fine to ( .pfoile ).
Only if a use reflectionX it works not correcty. Of course i made some changes in mij .dtprofile file (export DTSOURCEPROFILE=true) but it doesn't help.
Please check my .dtprofile and .profile file to see wat is wrong
Thanks in advance
Idriz
This problem driving me crazy. I don't no wat i'm doing wrong.
I use x reflatction terminal emulation to make connection with my unix box. Evrything is ok except if i want to use an terminal. The terminalwindow works to but my erase key is allways ^H en i want to use Backspace.
stty erase ^? works fine but i want to do this automaticly form my profile.
If i make telnet connection to my unix box evrything works fine to ( .pfoile ).
Only if a use reflectionX it works not correcty. Of course i made some changes in mij .dtprofile file (export DTSOURCEPROFILE=true) but it doesn't help.
Please check my .dtprofile and .profile file to see wat is wrong
Thanks in advance
Idriz
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2004 02:53 AM
тАО01-17-2004 02:53 AM
Re: stty erase problem driving me creasy !!!!!
Unfortunately, Xwindows is not a normal Unix login. While setting DTSOURCEPROFILE=true will run your $HOME/.profile, this will not run /etc/profile, something that lways occurs with a telnet login. You need to execute an stty setup for all logins. While you can add an stty setting to .profile, you will still miss the global settings and controls in /etc/profile. On the machine where you are logging in, do this:
echo "*loginShell: true" > $HOME/.Xdefaults
Now each terminal window (such as hpterm, xterm or dtterm) will login normally and run /etc/profile, then .profile (assuming POSIX shell or ksh, etc). Another thing to do is to make sure ttytype is ALWAYS run during login. The default /etc/profile and .profile assume that if $TERM is set already, then it must be correct. However, the world of PCs has muddied these waters in carrying terminal information to remote hosts. Therefore, use ttytype to define the T$ERM and LINES/COLUMNS values. Take out the if code for $TERM and replace it with:
eval $(/sbin/ttytype -s)
/sbin/stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff
FInally, Reflection terminal emulators that run in the vt100 mode will default the backspace key to delete and not backspace. Go into the window settings for Setup->Terminal and make sure backspace = backspace. Then save the settings in the default location for Reflection windows.
Bill Hassell, sysadmin
echo "*loginShell: true" > $HOME/.Xdefaults
Now each terminal window (such as hpterm, xterm or dtterm) will login normally and run /etc/profile, then .profile (assuming POSIX shell or ksh, etc). Another thing to do is to make sure ttytype is ALWAYS run during login. The default /etc/profile and .profile assume that if $TERM is set already, then it must be correct. However, the world of PCs has muddied these waters in carrying terminal information to remote hosts. Therefore, use ttytype to define the T$ERM and LINES/COLUMNS values. Take out the if code for $TERM and replace it with:
eval $(/sbin/ttytype -s)
/sbin/stty erase "^H" kill "^U" intr "^C" eof "^D" -parity ixoff
FInally, Reflection terminal emulators that run in the vt100 mode will default the backspace key to delete and not backspace. Go into the window settings for Setup->Terminal and make sure backspace = backspace. Then save the settings in the default location for Reflection windows.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2004 05:51 AM
тАО01-17-2004 05:51 AM
Re: stty erase problem driving me creasy !!!!!
this is my .profile and .dtprofile file
idriz
idriz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2004 06:59 AM
тАО01-17-2004 06:59 AM
Re: stty erase problem driving me creasy !!!!!
Thank you Bill for your sulution. It is the good one but not the one i was looking for.
After implementing your solution i went to see if all settings of my application goed was ( reflection ).
That was the key to success . The settings was not good. I corrected it and now it works just fine.
Thank you
Idriz
After implementing your solution i went to see if all settings of my application goed was ( reflection ).
That was the key to success . The settings was not good. I corrected it and now it works just fine.
Thank you
Idriz
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP