Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Midnight Commander not saving changes??< Next Oldest | Next Newest >
Phinger Offline





Group: Members
Posts: 38
Joined: Feb. 2005
Posted: Dec. 14 2005,20:59 QUOTE

Im using Midnight Commander to edit my /etc/lilo.conf
I "su" to ensure I can make the changes, and open the file. I can go to the line I need to change, and put in what I want, but I try to hit F2 to save and all I get is a "<F2>" printed in the line, or an audible "beep". Same for "F10" to exit. All I get is a beep!
What am I doing wrong?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 14 2005,22:55 QUOTE

Try going to "Options -> learn keys" to tell mc how it should be mapping its keys.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 15 2005,17:19 QUOTE

DSL does not use the default Midnight Commander text editor program called "mcedit".

Instead, it uses vi for the text editor.

Try some vi editor commands.   They should work.
Back to top
Profile PM 
Phinger Offline





Group: Members
Posts: 38
Joined: Feb. 2005
Posted: Dec. 16 2005,21:03 QUOTE

I tried the "options-learn keys". The F2 wasnt mapped, but this didn't solve the problem.
Quote
DSL does not use the default Midnight Commander text editor program called "mcedit".

Instead, it uses vi for the text editor.

Try some vi editor commands.   They should work

I didn't go the "mcedit" route, I went to midnight commander in the right-click menu under "editors". I'll try VI.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 17 2005,04:46 QUOTE

Quote (Phinger @ Dec. 16 2005,16:03)
I didn't go the "mcedit" route, I went to midnight commander in the right-click menu under "editors". I'll try VI.

You may have misunderstood what cbagger said.  If you press F4 to edit in DSL's mc, you will be editing in vim regardless of whether you want to or not, so you will have to do :w to save and :wq to save and quit.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
6 replies since Dec. 14 2005,20:59 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Midnight Commander not saving changes??

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code