- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vi problems with repeating commands with dot
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
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
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
11-18-2015 03:33 PM - last edited on 12-29-2015 03:32 AM by RASHMI
11-18-2015 03:33 PM - last edited on 12-29-2015 03:32 AM by RASHMI
vi problems with repeating commands with dot
I'm having an issue in my HPUX vi sesssions when attempting to repeat the previous r command (single char replace)
The first time I use the r command it works as expected.
For example, I do the single character replace command: rA
The character at my current location is changed to the character 'A' as desired.
I can go to another location in the file and issue the . (dot) command and again my current character is changed to an 'A'.
In the same session, if I issue another r command. For example: rB
the character at my current location is changed to the character 'B' as desired.
However, if I go to another location in the file and issue the . (dot) command to repeat the replacement
instead of replacing the current character with a 'B' as desired, it replaces it with an 'A' from the first r command.
It's seems like whatever buffer the r command uses during the repeat command doesn't get updated after the first use.
Is anyone else experiencing this issue?
I've tried repeating other commands with the . (dot) command and they all seem fine: R, cw, C
Thanks in advance for any help.
Curtis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2016 09:29 PM
01-10-2016 09:29 PM
Re: vi problems with repeating commands with dot
I tried it with "r" then dot then changing "r" then dot but it worked fine for me.