LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mandrake 9.1 installed command line text editor (http://www.linuxquestions.org/questions/linux-newbie-8/mandrake-9-1-installed-command-line-text-editor-113622/)

plexi100 11-07-2003 09:38 PM

Mandrake 9.1 installed command line text editor
 
Hello,

I installed Mandrake 9.1 and I am unable to access x windows by running the command startx. I will need to edit my XF86-4 file from the command line.

My question is:
What is the installed command line text editor for Mandrake 9.1?

I have tried VI, vi, Vi, emacs, pico, nano, all to no avail...

Thanks in advance...

scott_R 11-07-2003 10:25 PM

vi is installed by default, and you should be able to access it by typing 'vi' or 'vim'.

Actually, for no other reason than pointless knowledge, almost any unix system you'll ever see will have vi available, so it's a handy one to know how to use.

As for your question, try this. 'cd' to your /usr/bin directory. Then 'ls -l vim-enhanced' If you get nothing, something went wrong in your install, because vi/vim (vi iMproved) should be there by default. If it is there, then you need to edit your path to make sure that /bin and /usr/bin are in it, and make sure there are links to vim-enhanced in a directory so that you only have to type 'vi'. Of course, you can always try installing it off your cds or the internet, which is probably easier.

For the record, I'm using mandrake at this moment, and it's a cherry install(I tend to dink around with a lot of different distros so I can help out here), so I'm not just guessing. :)


All times are GMT -5. The time now is 12:59 AM.