LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-27-2005, 12:55 PM   #1
FlashAsh99
LQ Newbie
 
Registered: Jun 2005
Posts: 29

Rep: Reputation: 15
nano editor not working


Hi I am a newbie to linux, and i've recently installed gentoo linux on my system. I dont know whats happen but nano editor doesnt seem to be working. It was before, but now when i use the commnad :
Code:
nano -w <the file i want to edit>
it just gives me 'illegal instruction' for some reason. Is there anything I can do to get it back?

cheers
 
Old 06-27-2005, 02:09 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Try removing(or moving) the files where nano stores it's settings to see if that fix it:


cd
rm -rf .nano_history
rm -rf .nanorc


you should have another nanorc(original) file at your /usr/share/man/man5/nanorc.5.gz. You can copy it from there to your home in the case you need nanorc (which you most likely do ^_^)

Good luck!
 
Old 06-27-2005, 02:40 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
Failing that, try reinstalling with 'emerge --oneshot nano'.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nano hostmark101 Linux - Newbie 8 08-12-2005 06:53 PM
Nano editor just stop working FlashAsh99 Linux - Newbie 4 06-27-2005 05:54 PM
nano -w /etc/hosts bobotoes Linux - Newbie 5 10-04-2004 01:49 PM
nano using >99% of CPU!!! oudent Linux - Software 4 06-22-2004 11:41 PM
pico nano shania Linux - Newbie 2 10-30-2003 12:27 PM


All times are GMT -5. The time now is 04:07 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