![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| E:348 no string under cursor error comes in vi editor in cygwin | mrityunjay22 | Shell Programming and Scripting | 0 | 12-25-2007 05:52 AM |
| positioning cursor | enuenu | High Level Programming | 2 | 06-02-2007 12:35 AM |
| Help with Data Positioning from Columns in a flat file. | oott1 | Shell Programming and Scripting | 3 | 06-14-2006 10:22 AM |
| Cursor Positioning | bestbuyernc | UNIX for Dummies Questions & Answers | 1 | 09-06-2005 05:50 AM |
| Positioning curser at EOF in vi | JimJim | UNIX for Dummies Questions & Answers | 6 | 12-08-2004 01:20 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Cursor positioning thru VI Editor
Is there a way that I can position cursor at say line 23, column 2?
Thank you in advance. |
| Forum Sponsor | ||
|
|
|
|||
|
I inserted the code just as you told me to, and when I run the script (horolog), this is what I get:
A file or directory in the path name does not exist. ./horolog[7]: ESC: 0403-016 Cannot find or open the file. Am I doing something wrong? Thank you. |
|
|||
|
If you want to place the cursor while execution of a shell script, use "tput cup 23 2 " in the script while executing the script you will see that the cursor is in 23 /2.
ex: tput cup 23 2; echo "Enter Your Name..." just try this otherwise if you want to go to 23 line and second character while scripting the shell in vi, the previous solution is right. raguram R
__________________
raguram r |