View previous topic :: View next topic |
Author |
Message |
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Tue Dec 31, 2002 9:08 am Post subject: less -r |
|
|
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 |
|
|
hhaamu Apprentice
Joined: 23 Aug 2002 Posts: 253 Location: Finland
|
Posted: Tue Dec 31, 2002 10:33 am Post subject: |
|
|
I can confirm this... Weird |
|
Back to top |
|
|
jukka Apprentice
Joined: 06 Jun 2002 Posts: 249 Location: Zurich, Switzerland
|
Posted: Tue Dec 31, 2002 11:10 am Post subject: |
|
|
addendum: i checked less versions 358, 374, 378 and 380beta - everything the same result as described above... |
|
Back to top |
|
|
|
|
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
|
|