Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nano is really messed up. what should i do?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
squares016
n00b
n00b


Joined: 29 Jan 2004
Posts: 52

PostPosted: Tue Jun 28, 2005 4:53 pm    Post subject: nano is really messed up. what should i do? Reply with quote

I was installing stuff normally and about to put in the modules i want it to autoload. When I opened "/etc/modules.autoload.d/kernel-2.6" there was a wierd message at the top and bottom (can't remember what it said). I tried moving down with the down arrow, and there was stuff added into the file, I don't know what. But then I tried to exit out of the file, well apparently it did, but i couldn't get back into "/". It just sat there like I was still in nano, but not. I could move the cursor anywhere, but was unable to do any commands. I had shut down and restarted the computer. Mounted filesystems, went back into "/" and tried again. Same thing happened and I don't know what to do. Although I was thinking of unmerging and reemerging nano, but I'm not sure if that's a good thing to do. If somebody could help me, as this is a wierd problem.
Thanks, Bryan
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Tue Jun 28, 2005 4:59 pm    Post subject: Reply with quote

Hi.

Can you post those error messages?
If you just want to add the modules to the /etc/modules.autoload.d/kernel-2.6 file, do
Code:
# echo "module1-name" >> /etc/modules.autoload.d/kernel-2.6
# echo "module2-name" >> /etc/modules.autoload.d/kernel-2.6
# echo "module3-name" >> /etc/modules.autoload.d/kernel-2.6

That will append your modules names to the file. It won't solve your problem with nano, but will allow for the modules to start automatically on next boot.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
squares016
n00b
n00b


Joined: 29 Jan 2004
Posts: 52

PostPosted: Tue Jun 28, 2005 5:39 pm    Post subject: Reply with quote

i looked inside the file and this is what I found.
At the top of the file it said "edit_refresh(): edittop->lineno = 1"
At the bottom it said "Main: top and bottom win" this was centered.
When I had hit the down arrow key it printed out all this: (from top to mid section)
"get_buffer(): key_buffer_len = 1= 1
# $Header: /home/cvsroot/gentoo-parsc_kbinput(): kbinput =258, meta_key = 0, func_key = 0, escapes = 0, byte_digits = 0, retval
=14
# Notget_shortcut(): kbinput = 14, meta_key = 0, func_key = 0
# get_toggle(): kbinput =14, meta_key = 0"
that's about it. Otherwise everytime I had it an arrow key, it puts more of that stuff in there.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Tue Jun 28, 2005 5:48 pm    Post subject: Reply with quote

Well, that does look strange. You should perhaps try to reemerge nano.
In the meanwhile, do
Code:
# cat /etc/modules.autoload.d/kernel-2.6

and check if the file is ok. If so, you can add the modules as I told you on the last post. That will at least allow the system to load the modules at boot.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
squares016
n00b
n00b


Joined: 29 Jan 2004
Posts: 52

PostPosted: Tue Jun 28, 2005 5:50 pm    Post subject: Reply with quote

I know it's just not the file. I even tried opening make.conf and the same thing happened. I guess I'll try reemerging nano.
Thanks for the help. I'll let ya know how it goes.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Tue Jun 28, 2005 5:58 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
Back to top
View user's profile Send private message
squares016
n00b
n00b


Joined: 29 Jan 2004
Posts: 52

PostPosted: Tue Jun 28, 2005 6:44 pm    Post subject: Reply with quote

I have solved this. I looked up this post https://forums.gentoo.org/viewtopic.php?t=160075
I just reemerged nano without the "debug" use variable and it worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum