LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 11-07-2003, 09:38 PM   #1
plexi100
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
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...
 
Old 11-07-2003, 10:25 PM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Enhanced command line text editor netsoft2005 Linux - Software 2 07-14-2005 07:42 AM
Text editor, Pico command not found gigglesnorter Linux - Newbie 2 05-21-2004 03:14 PM
vi editor/command line free guide fhameed Linux - Software 3 12-12-2003 09:16 AM
VI text editor in command line InSane103 Linux - Software 4 07-09-2003 09:04 PM
vi as Command Line Editor taz75 Linux - Newbie 8 01-04-2002 01:30 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration