Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
less -r
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
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Dec 31, 2002 9:08 am    Post subject: less -r Reply with quote

the latest less ebuild (sys-apps/less-378-r1.ebuild) sets $LESS to '-r' by default (/etc/env.d/70less). the ebuild says that this is "needed for groff-1.18 and later". but when using 'less -r', some files are not displayed correctly. e.g.:
Code:
$ less -r /usr/lib/portage/bin/pkglist
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
...
the first line is not displayed!
Code:
$ head -n3 /usr/lib/portage/bin/pkglist
#! /usr/bin/env python2.2
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2

when viewing files with less, after moving around with 'j' and 'k', the first line is displayed, but the second line is not. and so on...

can anybody confirm this bug? or is it just my box? btw: 'less -R' (capital R) seems to work.

TIA, jukka
Back to top
View user's profile Send private message
hhaamu
Apprentice
Apprentice


Joined: 23 Aug 2002
Posts: 253
Location: Finland

PostPosted: Tue Dec 31, 2002 10:33 am    Post subject: Reply with quote

I can confirm this... Weird
Back to top
View user's profile Send private message
jukka
Apprentice
Apprentice


Joined: 06 Jun 2002
Posts: 249
Location: Zurich, Switzerland

PostPosted: Tue Dec 31, 2002 11:10 am    Post subject: Reply with quote

addendum: i checked less versions 358, 374, 378 and 380beta - everything the same result as described above...
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