- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Edit file
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
08-26-2005 03:40 AM
08-26-2005 03:40 AM
Edit file
Vim: Caught deadly signal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 04:06 AM
08-26-2005 04:06 AM
Re: Edit file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 04:31 AM
08-26-2005 04:31 AM
Re: Edit file
is it the TERM settting problem ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 05:01 AM
08-26-2005 05:01 AM
Re: Edit file
It seems that your terminal is not set properly , and vi is dropping.
Check with # echo $TERM
Also can do:
# set TERM=vt100
# export TERM
# vi test_file
Any luck,
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 05:03 AM
08-26-2005 05:03 AM
Re: Edit file
(Hope you are using bash shell )
# TERM=VT220
# export TERM
Then try # vi test_file
Cheers,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 05:06 AM
08-26-2005 05:06 AM
Re: Edit file
Also try with setting
# TERM=linux ; export TERM
Cheers,
Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2005 07:11 AM
08-26-2005 07:11 AM
Re: Edit file
vim 5.3 is badly broken using TERM=linux. After starting it, if I hit
backspace once or twice quickly, it hangs in an infinite loop. Sending it a
signal from another shell prompt causes it to report:
Vim: Caught deadly signal TERM
Vim: Finished.
after which the shell is hosed (because vim didn't reset it when it exited).
Trying TERM=ansi works ok except that the function keys aren't defined.
TERM=xterm works for function keys 5-8, but not 1-4. I eventually made my
own terminal definition based on xterm which properly defines function keys
1-4, too. Could it be that I'm the only one using vim which has this
problem (I didn't see it in the archives)?
So, after you tried the TERM option, ensure that nobody with root privileges is issuing:
killall vi
Or sending kill to your vi process.