less problem

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Thu Jan 18 00:04:46 UTC 2007


On Thu, Jan 18, 2007 at 12:16:22AM +0100, Denis Vlasenko wrote:
> less has LOTS of changes since 1.3.1. I think I fixed this too 
> (I read terminal width from /dev/tty now)

I suggest stdout instead, and behave as cat if !isatty(1).

Otherwise it will behave oddly in cases like man func | cat/grep or > out.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20070118/d61728ca/attachment-0002.pgp 


More information about the busybox mailing list