HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- recovery area used by vi
Operating System - HP-UX
1830756
Members
2716
Online
110015
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
11-03-2004 11:59 AM
11-03-2004 11:59 AM
i lost my login session while using "vi" and got an email from the system saying that a "copy of an editor buffer" related to the file i was editing using "vi" is available to recover by typing "vi -r "
my question is where is this recovery area on the system? ..."man vi" gives no clues
i do not think its /var/preserve, /var/tmp, or /var/adm/tmp
basically i lost my vi session before being able to save recent changes, and i am just curious where this temporary location is more than i am interested in recovering my lost edits (i am starting to think like a nerd)
my question is where is this recovery area on the system? ..."man vi" gives no clues
i do not think its /var/preserve, /var/tmp, or /var/adm/tmp
basically i lost my vi session before being able to save recent changes, and i am just curious where this temporary location is more than i am interested in recovering my lost edits (i am starting to think like a nerd)
hola
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2004 12:05 PM
11-03-2004 12:05 PM
Solution
Infact you got it right. vi/ex saves those files for recovery in /var/preserve directory in a format that only vi/ex understands. filenames start with ExXXXYYYYY
# cd /var/preserve
# strings Ex*
# cd /var/preserve
# strings Ex*
Learn What to do ,How to do and more importantly When to do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2004 12:32 PM
11-03-2004 12:32 PM
Re: recovery area used by vi
Hmm,
Indeed not too much doc on this directory.
The various VI web sites mention it of course. For example.
http://www.galactic-guide.com/articles/2R170.html
http://www.kostis.net/hints/vi-editor.htm
btw... those reminded me nicely about the :pre command and the ex init files.
Looking back in the forum I found a refernce to : /usr/share/doc/file_sys.txt
But that file is now replaced by an online document according to: /usr/share/doc/README
http://docs.hp.com
search: file_sys.txt
---> http://docs.hp.com/hpux/onlinedocs/5963-8942/00/00/1-con.html
search: preserve
Cheers,
Hein.
Indeed not too much doc on this directory.
The various VI web sites mention it of course. For example.
http://www.galactic-guide.com/articles/2R170.html
http://www.kostis.net/hints/vi-editor.htm
btw... those reminded me nicely about the :pre command and the ex init files.
Looking back in the forum I found a refernce to : /usr/share/doc/file_sys.txt
But that file is now replaced by an online document according to: /usr/share/doc/README
http://docs.hp.com
search: file_sys.txt
---> http://docs.hp.com/hpux/onlinedocs/5963-8942/00/00/1-con.html
search: preserve
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 04:12 AM
11-04-2004 04:12 AM
Re: recovery area used by vi
thx guys ...yes, the location is /var/preserve
my problem was that nothing was inside this directory yet i got an email from vi about using "ex -r" etc...
must have been a strange circumstance where my vi session got killed and i got the recover email but there actually was no buffer file to recover ...from the documentation this recovery buffer is not always going to get the most recent unsaved edits before a aborted vi session
my problem was that nothing was inside this directory yet i got an email from vi about using "ex -r" etc...
must have been a strange circumstance where my vi session got killed and i got the recover email but there actually was no buffer file to recover ...from the documentation this recovery buffer is not always going to get the most recent unsaved edits before a aborted vi session
hola
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP