Vi editor code


 
Thread Tools Search this Thread
Top Forums Programming Vi editor code
# 1  
Old 12-10-2001
Network Vi editor code

Does any one have the code to create a shell scrpit for making a VI editor ?
mouse trapping of menus is also required...Smilie
Regards,
Bhaskar.
# 2  
Old 12-10-2001
I think it would be difficult to create something as complex as vi from within a shell script. vi is written in C and has been developed with thousands of programmer hours over many years.
# 3  
Old 12-10-2001
I agree completely with PxT.
If you are actually interested in the "vi" source code then
you can download the tarball at...

http://www.bostic.com/vi/

You also mention mouse trapping, etc. so I'm also
thinking you're looking for a "graphical" editor.
In general, "vi" is text based however, X windows can be
used to set various "vi modes" based on mouse button
clicks, etc. This may not be what you are looking for.

There are also other "variants" of vi that are more
graphically oriented but I don't use any of them.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

New CODE and ICODE Editor Button Icons

As promised, I have changed the CODE tag icon and the ICODE tag icon in our WYSIWYG editors to use Font Awesome. CODE Tag = fa-code ICODE Tag = fa-terminal https://www.unix.com/members/1-albums215-picture966.png The reason for this change is to continue our move toward Font Awesome... (4 Replies)
Discussion started by: Neo
4 Replies

2. Shell Programming and Scripting

Vi Editor

Hi , I would like to delete all lines after 40th line in vi editor . Please let me know what command I can use for it? Also how to replace one word with another in the middle of 5th line? Thanks (2 Replies)
Discussion started by: manish_1678
2 Replies

3. UNIX for Dummies Questions & Answers

Vi Editor

I have recently installed ubuntu 11.10 version in my laptop. Please tell me how to use the vi editor. Because the vi editor in ubuntu is totally different from the vi editor we have in Mandriva or Sabayon. Why am i not able to use backspace or the cursor movement keys(up, down, left, right)... (6 Replies)
Discussion started by: Sudip_Felipemas
6 Replies

4. UNIX for Dummies Questions & Answers

ED editor

Hi folks I wanted help with writing a ED editor script that automatically runs files i saved in my directory /home/MyFiles/firstBorn. Any helping ideas... ? thanx Lakerfan (2 Replies)
Discussion started by: Lakerfan
2 Replies

5. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

6. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

7. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

8. UNIX for Dummies Questions & Answers

Need vi editor help

Is it possibly to bring up the vi editor in the insert mode. i.e. maybe vi /i filename or something. Can anyone help. Thanks (1 Reply)
Discussion started by: ejaggers
1 Replies

9. UNIX for Advanced & Expert Users

Vi Editor

I'm doing a teaching ass't for a basic unix course for a local college and we have given the new students an assignment where they have to code 10 pages of html by hand using the Vi Editor (i know it's cruel) The purpose of this exersize is to get them used to unix and vi commands and how the... (4 Replies)
Discussion started by: juxtaman
4 Replies
Login or Register to Ask a Question