- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "Select All" 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
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
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
тАО10-30-2006 03:30 AM
тАО10-30-2006 03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:33 AM
тАО10-30-2006 03:33 AM
Re: "Select All" in vi
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:36 AM
тАО10-30-2006 03:36 AM
Re: "Select All" in vi
thanks
hunki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:41 AM
тАО10-30-2006 03:41 AM
Re: "Select All" in vi
cp oldfile newfile
If your going from unix to window$ I'd just
ftp the file to window$.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:43 AM
тАО10-30-2006 03:43 AM
Re: "Select All" in vi
rm filename.
If you wnat to keep the file with no text just cat /dev/null
cat /dev/null > filename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:46 AM
тАО10-30-2006 03:46 AM
Re: "Select All" in vi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:53 AM
тАО10-30-2006 03:53 AM
Re: "Select All" in vi
I find it better to use a lean and mean tool like 'cat' for that vs an editor.
Yuo want to avoid the 'added value' that en editor offer as it may slow down the abilty to gobble up the paste buffer at top speed.
Furthermore you do not want vi to do something 'smart' like line wrap or look for corresponding open parenthesis for a close and so on.
Just do: cat > somefile
Now paste and control-b
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 03:57 AM
тАО10-30-2006 03:57 AM
Re: "Select All" in vi
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 04:24 AM
тАО10-30-2006 04:24 AM
Re: "Select All" in vi
Text you yank into vi's paste buffer is not placed in the X-Windows clipboard. In order to read text into the X clipboard without having to manually select it all, use a program like 'xclip' (available for Linux).
For example:
$ xclip -i largetextfile.txt
Now the contents of largetextfile.txt are in the X clipboard, and can be pasted via a middle-click.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-30-2006 04:52 AM
тАО10-30-2006 04:52 AM