- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: # in vi.
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
Forums
Discussions
Discussions
Discussions
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
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-15-2001 07:27 AM
05-15-2001 07:27 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:33 AM
05-15-2001 07:33 AM
Re: # in vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:34 AM
05-15-2001 07:34 AM
Re: # in vi.
I would double check that your TERM environment variable is set correctly. I have never seen this before, but if it happened to me, that's what I would check. Also, verify that those keys (Shift, 3) on your keyboard work.
I apologize if I am stating the obvious.
-Rob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:39 AM
05-15-2001 07:39 AM
SolutionThings to try;
1. use another terminal window to vi the file. Sometimes terminal windows do crazy things and need a restart.
2. Can you insert a # manually but doing;
echo \\043 >>
3. Check your keyboard mapping and terminal setup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:40 AM
05-15-2001 07:40 AM
Re: # in vi.
You almost certainly have an incorrect TERM setting. If the problem persists after you exit vi then you can test the problem using the 'stty' command.
If stty reports that erase=# then that's your problem. You should then be able to do a
stty erase '^H' to set erase back to a backspace.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:41 AM
05-15-2001 07:41 AM
Re: # in vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:41 AM
05-15-2001 07:41 AM
Re: # in vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 07:47 AM
05-15-2001 07:47 AM
Re: # in vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 08:06 AM
05-15-2001 08:06 AM
Re: # in vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 08:11 AM
05-15-2001 08:11 AM
Re: # in vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 08:12 AM
05-15-2001 08:12 AM
Re: # in vi.
The appropriate place to set it is in the $HOME/.profile
You will see the standard issue .profile already accomodates 'stty' commands.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 08:31 AM
05-15-2001 08:31 AM
Re: # in vi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2001 08:57 AM
05-15-2001 08:57 AM
Re: # in vi.
This is not a bigger config problem . It is just a matter of the env variables . It can be possible that stty erase has been set to # in the same .proifle at the start of the file and you are just restting it . But in no case this is a bigger config problem . Dont worry at all.
Manoj Srivastava