Re: word selection problems using less

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2007-10-16 at 07:05 -0400, Jacques B. wrote:
> Correction...
> 
> > Press the RETURN key and less now numbers the lines.  Note that long
> > filenames that go to the next line are indeed another line
> 
> Although another line, the line number does not change.  So there goes
> my theory...
> 
> >
> > Jacques B.
> >
> 
The command less is a formatting command.  Yes, Jacques, it does indeed
apply line breaks at the character size of the terminal (unless you
specify a different line size).  Thus the selection process which picks
text out of the display buffer now only gets up to the line break.  The
line numbers you speak of are the lines in the source data file, so even
though less breaks them to multiple lines on the display, the source
still reflects only one line, thus the same input line number is
repeated.

You will have this kind of problem using normal select on any formatted
output, including more, less and some forms of cat.

Regards,
Les H

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux