HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vi editor
Operating System - HP-UX
1834058
Members
2541
Online
110063
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
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
03-20-2000 05:40 PM
03-20-2000 05:40 PM
vi editor
Question 1:
How can i set vi NOT to wrap the text according to window size?
Question 2:
During editing a file, i press Ctrl-x and this causes vi to jump out to shell
prompt. How can i get back to vi editor?
Thanks and warm regards.
How can i set vi NOT to wrap the text according to window size?
Question 2:
During editing a file, i press Ctrl-x and this causes vi to jump out to shell
prompt. How can i get back to vi editor?
Thanks and warm regards.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2000 06:10 PM
03-20-2000 06:10 PM
Re: vi editor
In X11 Windows, how do I get vi(1) to display as many lines as will fit into my
window after I have made the window larger than its default size?
Solution
To make vi display as many lines as your window size, you need to use the
following command after changing the size of your window:
eval `resize`
The resize command is documented in the online manual pages under resize(1).
window after I have made the window larger than its default size?
Solution
To make vi display as many lines as your window size, you need to use the
following command after changing the size of your window:
eval `resize`
The resize command is documented in the online manual pages under resize(1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2000 08:43 AM
05-31-2000 08:43 AM
Re: vi editor
Answer question:
Try typing "exit" at the prompt, this should return you to vi. (don't use the double quotes)
Try typing "exit" at the prompt, this should return you to vi. (don't use the double quotes)
42
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2000 07:45 AM
06-01-2000 07:45 AM
Re: vi editor
I like using the nobeautify command.
You can set this up automatically via the EXINIT command.
Try this in your .profile
EXINIT="set noflash autoindent nobeautify shiftwidth=4"
export EXINIT
For your second question, the other gentleman was correct, use the exit command or CTRL-D.
Hope that helps.
You can set this up automatically via the EXINIT command.
Try this in your .profile
EXINIT="set noflash autoindent nobeautify shiftwidth=4"
export EXINIT
For your second question, the other gentleman was correct, use the exit command or CTRL-D.
Hope that helps.
Sr. Systems Consultant @ ABS Computer Technology, Inc. http://www.abs-comptech.com/aewhale.html & http://www.ancegroup.com
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