Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-16-2006, 04:35 PM
|
#1
|
Member
Registered: Feb 2006
Distribution: Slackware 13.1 / 13.37
Posts: 91
Rep:
|
Midnight Commander requires twice the key-strokes
I am running Slackware 10.2 (with no upgraded packages from Slackware-curent), with the default Kernel 2.4.31, and MC 2.6.1.
MC acts somewhat strange.
Most of the times, when I am in dual-view and press keys (like the Function keys, F1, F2, etc, or the ESC key), I need to press them twice. Pressing them once will do nothing. The built-in viewer and editor (mcview, mcedit) always behave like this (require twice the key-stokes).
Also, sometimes, while pressing Functions keys, I will see some text at the bottom command line that looks like this: [[B and ~]]12[[123.
What is causing this and how can I stop it?
|
|
|
05-16-2006, 08:33 PM
|
#2
|
LQ Newbie
Registered: Dec 2004
Distribution: Slackware 10.2
Posts: 21
Rep:
|
Is PAM installed?
Do you have dropline gnome or PAM installed by any chance? Their is a known problem involving dropline's gnome and an issue similar to the one you are describing.
|
|
|
05-16-2006, 09:03 PM
|
#3
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
Quote:
Originally Posted by elgatofilo
Do you have dropline gnome or PAM installed by any chance? Their is a known problem involving dropline's gnome and an issue similar to the one you are describing.
|
There is? I'm not aware of such issues. If so, it would have ziltch to do with PAM, though some folks would like you to believe that it would (and propagate that myth as well). Please provide details if there are reports on a PAM-related issue such as what you are describing.
There was a user-session dbus issue that caused some problems when run as a root user, but that's been corrected by disallowing the /etc/profile.d/dbus.sh to run under root logins. There is also a similar issue with usb keyboards that manifests itself even on Slackware without any third-party addons (particularly when legacy USB support is enabled). Most people get these two problems mixed up. I also had the same problems with terminal lag in the default Slackware 2.4.31 kernel, upon installation of Slackware 10.2. It went away with an upgrade to a custom 2.6.x kernel.
Last edited by zborgerd; 05-16-2006 at 11:00 PM.
|
|
|
05-16-2006, 10:07 PM
|
#4
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Well, all my standard (non-dropline) 10.2 installs have MC working fine (5 systems), plus my 'current' install. The difference between my systems and yours is Dropline. So maybe there IS a dropline bug?(Heaven forbid)
|
|
|
05-16-2006, 10:45 PM
|
#5
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
Quote:
Originally Posted by cwwilson721
Well, all my standard (non-dropline) 10.2 installs have MC working fine (5 systems), plus my 'current' install. The difference between my systems and yours is Dropline. So maybe there IS a dropline bug?(Heaven forbid)
|
I never said that it wasn't. However, I don't believe it to have anything to do with PAM though. There is no reason for your typical anti-dropline sarcasm (we've seen it from you a multitude of times now in these forums, and it does nothing to solve technical problems).
Unfortunately, I am unable to replicate it on my systems... With, or without Dropline. Only think I could potentially think of would be dbus-launch running as root.
|
|
|
05-16-2006, 10:55 PM
|
#6
|
Member
Registered: Mar 2004
Location: Everett, WA
Distribution: Slackware / Dropline Gnome
Posts: 42
Rep:
|
Quote:
Originally Posted by cwwilson721
Well, all my standard (non-dropline) 10.2 installs have MC working fine (5 systems), plus my 'current' install. The difference between my systems and yours is Dropline. So maybe there IS a dropline bug?(Heaven forbid)
|
Omfg.. who let Pat's lemmings out again!!!!!!!!!!!!!!!
Sorry cannot replicate here.. on current or 10.2... Typical slacker, mess
up their system and blame on dlg. Will this crap ever end? Sounds like the
slack user base is getting very limited in it's abilities to maintain their
own systems these days.
|
|
|
05-17-2006, 05:39 AM
|
#7
|
Member
Registered: Feb 2006
Distribution: Slackware 13.1 / 13.37
Posts: 91
Original Poster
Rep:
|
Thank you for replying.
I use a PS/2 mouse and keyboard.
I didn't not install Dropline Gnome, nor another custom version. I have only installed software from the CDs and a custom Slackware build of Cinelerra.
Quote:
Originally Posted by zborgerd
I also had the same problems with terminal lag in the default Slackware 2.4.31 kernel, upon installation of Slackware 10.2. It went away with an upgrade to a custom 2.6.x kernel.
|
There are two reasons I haven't upgraded to kernel 2.6.x. The first is that when I tried the pre-compiled one test26 from the kernels directory, I didn't had USB support (I think because of the incompatible modules). The second is that when I tried to compile the kernel myself, I stumbled uppon a list of hardware options that I didn't knew what they meant.
I will try again the precompiled 2.6.x from the CD and see if the same problem continues. The last time, I didn't kept it long enough due to the USB problem.
|
|
|
05-17-2006, 06:15 AM
|
#8
|
Member
Registered: Mar 2006
Distribution: Slackware
Posts: 63
Rep:
|
Midnight Commander has a "learn keys" feature somewhere inside its menus. Try it then see if the problem persists.
|
|
|
05-17-2006, 10:14 AM
|
#9
|
Member
Registered: Feb 2006
Distribution: Slackware 13.1 / 13.37
Posts: 91
Original Poster
Rep:
|
Using kernel 2.6.x didn't change anything.
Quote:
Midnight Commander has a "learn keys" feature somewhere inside its menus. Try it then see if the problem persists.
|
I tried this and I still have the problem. I saved of cource the keys, and setuo (mc.ini).
|
|
|
05-17-2006, 01:56 PM
|
#10
|
Member
Registered: Mar 2004
Distribution: Slackware / Dropline GNOME
Posts: 378
Rep:
|
Hmm. Perhaps disabling legacy USB support in the BIOS, or passing
append="nousb"
To your lilo.conf (and rerun "lilo" afterwards) might help. I found that I didn't even have to be using a USB keyboard for this problem to manifest itself.
You can also just test it on bootup as well, from the lilo prompt:
"bare.i nousb"
Substitute "bare.i" for your actual kernel name, if it is different.
|
|
|
05-17-2006, 08:36 PM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,352
|
Quote:
elgatofilo wrote:
Their is a known problem involving dropline's gnome and an issue similar to the one you are describing.
|
Could you post a link to a page that documents this please?
|
|
|
05-18-2006, 07:43 AM
|
#12
|
Member
Registered: Feb 2006
Distribution: Slackware 13.1 / 13.37
Posts: 91
Original Poster
Rep:
|
Quote:
Originally Posted by zborgerd
Hmm. Perhaps disabling legacy USB support in the BIOS, or passing
append="nousb"
To your lilo.conf (and rerun "lilo" afterwards) might help. I found that I didn't even have to be using a USB keyboard for this problem to manifest itself.
You can also just test it on bootup as well, from the lilo prompt:
"bare.i nousb"
Substitute "bare.i" for your actual kernel name, if it is different.
|
I went to BIOS and saw that "USB keyboard support" was already disabled. After that I added append="nousb" in lilo.conf. Nothing changed :-/
|
|
|
05-18-2006, 09:14 AM
|
#13
|
Member
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Rep:
|
Try installing Dropline Gnome. But seriously...
Is your problem only happening with mc? Part of the mc FAQ deals with function key problems and termcap info. I'm not sure that's your problem, but it might be worth a shot.
As a short term fix, you could use ESC + a number key instead of the Function keys.
|
|
|
05-19-2006, 04:47 PM
|
#14
|
Member
Registered: Feb 2006
Distribution: Slackware 13.1 / 13.37
Posts: 91
Original Poster
Rep:
|
The MC FAQ explains why I need to press ESC twice, so here goes with one. I should have addressed there in the first place.
However, I haven't yet found why pressing does things like [[B and ~]]12[[123. I have no idea what "termcap" is (I also saw "terminfo" inside the FAQ)), but I will check that one too.
Thank you, all, for your replies.
|
|
|
All times are GMT -5. The time now is 08:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|