1832188 Members
2875 Online
110038 Solutions
New Discussion

vi editor

 
SOLVED
Go to solution
mehul_3
Regular Advisor

vi editor

hi there!
It seems to be very simple question.
I am a somewhat new using HP-UX.I have hands on experience on Sco-Unix.
My question is
Is there any facility of using graphical editor rather than vi editor in HP-UX.

Regards
Mehul
11 REPLIES 11
Hazem Mahmoud_3
Respected Contributor

Re: vi editor

I'm assuming you have some type of X-Windows running in order to do anything graphical. If you do, then you can use emacs. It does not come native with HP-UX, but can be easily downloaded from the Porting and Archive center (http://hpux.connect.org.uk/). You can also find many others under the "Editors" category. Hope that helps.

-Hazem
Sridhar Bhaskarla
Honored Contributor
Solution

Re: vi editor

Hi Mehul,

You can use '/usr/dt/bin/dtpad' in CDE that works like notepad. You will need to have X-windows running for it to work.

But I still suggest you learn 'vi' as it is much versatile than dtpad.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bharat Katkar
Honored Contributor

Re: vi editor

Hi,
VIM could be also an better option.
Regards,
You need to know a lot to actually know how little you know
H.Merijn Brand (procura
Honored Contributor

Re: vi editor

Or "elvis", which has a fine X touch.
ftp://ftp.cs.pdx.edu/pub/elvis/
Also has a win32 version available for your workstation in case you have to run win-something

OTOH if you want to learn *real* unix'es, you will have to learn vi. vi is available on *all* unix platforms, and all clones and graphical interfaces are not. I personally hate emacs. It's a nice operating system, but lacks a decent editor, as I once read in a sig. That's true. And /I/ cannot get it to indent as I want, not do the things I want my way. With vi/(g)vim/elvis that is no problem.

elvis new: ftp://ftp.cs.pdx.edu/pub/elvis/
elvis old: http://hpux.connect.org.uk/hppd/hpux/Editors/elvis-2.1.3/
vim: http://hpux.connect.org.uk/hppd/hpux/Editors/vim-6.3/

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Stefan Schulz
Honored Contributor

Re: vi editor

Hi,

if you are a UNIX Admin it is always advisable to know vi. You can use a graphical editor as long as everithing is up and running.

But if you have a problem you normally have to work in a terminal session without any GUI.

Thats why i prefer vi or an vi clone like vim. Vim has an gui and offers syntax coloring. but also it supports all standard vi commands.

Have a look for vim at the porting center or at http://www.vim.org

Hope this helps

Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
Bharat Katkar
Honored Contributor

Re: vi editor

Mehul,
VI is not that difficult even if it look like.
See attached doc which quickly guides you thr' all required VI command and i think that should make you comfortable enough with VI.
I agree with all other about getting use to with vi.

Hope that helps.
Regards,
You need to know a lot to actually know how little you know
Bharat Katkar
Honored Contributor

Re: vi editor

Mehul,
You have not assigned point to any body you helped you in this forum. I think you do not know the point assigment scheme. Please have a look at this link:
http://forums1.itrc.hp.com/service/forums/helptips.do?admit=716493758+1085211538437+28353475#33
Regards,

 

[Moderator edit: The above link is no longer valid.]

You need to know a lot to actually know how little you know
Geoff Wild
Honored Contributor

Re: vi editor

vi - the most powerful text editor the world has ever known.

Tons of docs on using it - check here first:

http://thomer.com/vi/vi.html

Also take a look at vim.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
harry d brown jr
Honored Contributor

Re: vi editor

How about an editor written in Java (does Kodak own this now?) :


http://www.jedit.org/

live free or die
harry
Live Free or Die
John Jimenez
Super Advisor

Re: vi editor

O'Reilly & Associates have a nice book out "Learning the vi Editor" it is one of those books with the animals on the cover. vi is frustrating the first week, but if you use it it is actually easier to get some things done....
Hustle Makes things happen
Andrew Merritt_2
Honored Contributor

Re: vi editor

Mehul,
What features do you expect to find in a graphical editor, and what are you used to using on SCO-Unix? Is there a particular reason you don't want to use vi?

Andrew