View previous topic :: View next topic |
Author |
Message |
squares016 n00b


Joined: 29 Jan 2004 Posts: 52
|
Posted: Tue Jun 28, 2005 4:53 pm Post subject: nano is really messed up. what should i do? |
|
|
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 |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Tue Jun 28, 2005 4:59 pm Post subject: |
|
|
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 |
|
 |
squares016 n00b


Joined: 29 Jan 2004 Posts: 52
|
Posted: Tue Jun 28, 2005 5:39 pm Post subject: |
|
|
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 |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Tue Jun 28, 2005 5:48 pm Post subject: |
|
|
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 |
|
 |
squares016 n00b


Joined: 29 Jan 2004 Posts: 52
|
Posted: Tue Jun 28, 2005 5:50 pm Post subject: |
|
|
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 |
|
 |
Deathwing00 Bodhisattva


Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Tue Jun 28, 2005 5:58 pm Post subject: |
|
|
Moved from Installing Gentoo to Other Things Gentoo. |
|
Back to top |
|
 |
squares016 n00b


Joined: 29 Jan 2004 Posts: 52
|
|
Back to top |
|
 |
|