LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-27-2004, 03:54 PM   #1
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Rep: Reputation: 30
Less, man, and 2.6.7+


Hi all;

I recently had a big annoying problem when i updated to the 2.6.10 linux kernel. The problem occured when I went to open a file with less on the console and all I would get is one screen of information before bash returned to the prompt. In other words i could not page the file at all. The funny part is that more and other pagers worked.
In addition the man pages did the same thing, except at the bottom of the output there was an error (sorry dont have the error). Closer examining this error I found that it was a problem with less.

Going to the less homepage (www.greenwoodsoftware.com/less) I found that there was incompatibility issues with the 2.6.7+ kernels and older versions of udev, which causes a problem with less (if anyone would like to explain why this problem occured please do so). Since I am running the version of udev that came with my slack 10 distributions, I believe it is outdated. So I went to kernel.org and downloaded the latest udev as suggested (v. .050 at the time of writing this post), unpacked the tarball, ran 'make' and 'make install', and restarted my computer. And whalah less and man worked (its kinda wierd cause i have to 'refesh' the screen by opening vim or something similar (ctrl-L does not cut it) for less and man to display properly. any insight on this would be appreciated).

Anyways, Im posting this cause I havent found that much documentation concerning this problem (which i believe to be due to the fact the 2.6.7 did not come out a long time ago and most people have not upgraded yet (correct me if im wrong)).

Good luck, and if anyone has any comments or suggestions or similar stories, keep this post updated.
 
Old 12-27-2004, 04:20 PM   #2
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
I used 2.6.7 for some time and never had such problems, nor I have them with 2.6.9. In fact man uses less to display the manpages, and if less isn't available it uses more. Maybe your problem depends of the kernel config, I don't know, but it's strange. I can't be of any help, sorry.

PS: Maybe some of the less environment variables or cmdline options will help?
 
Old 12-27-2004, 08:31 PM   #3
movitto
Member
 
Registered: May 2004
Distribution: Fedora 4 and Slackware
Posts: 179

Original Poster
Rep: Reputation: 30
thanks for the feedback but I had already got it working by updating udev. I just posted as to offer a suggestion to anyone with a similar problem. Also im beginning to suspect the display problem has to do with the tux boot logo at the top of the screen. Im gonna disable it and see what happens. Thanks though!
 
Old 12-28-2004, 09:16 AM   #4
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
If the tux logo is displayed on the boot, I have some problems with pagers and text editors (joe). The problems diasppear after destroing the image, (e.g. selecting with the gpm the whole console)
 
Old 02-22-2005, 08:26 PM   #5
buffed317
Member
 
Registered: Jun 2004
Location: New Jersey, USA
Distribution: Slackware 11
Posts: 191

Rep: Reputation: 31
i am having the same problem as you so i did some reading on udev and it seems like it is very important to the system. what is a safe way to update it. i dwl the new version of udev. where should i unpack and install it to? how can i make sure it doesnt interfere with the orginol version? should i remove the older versions? how should i do that?

thanks
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
apropos, man -k, man -f? krishvij Linux - Newbie 5 06-06-2005 02:42 PM
man alsamixer not showing the man page nosaku Slackware 1 12-20-2004 09:52 AM
How to quit man (less) and keep man info on screen? peb Linux - Newbie 7 03-25-2004 11:02 PM
have you seen this man? acid_kewpie General 2 10-23-2002 08:55 PM
Compiling packages on RH 7.1 causes man files to be named man.gz mmboam Linux - General 0 05-09-2001 07:47 PM


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