Date: Sat, 16 Jun 2007 03:36:20 -0400 From: Tom Uffner <tom@uffner.com> To: current@freebsd.org Subject: Re: annoying behavior in less(1) after v403 import Message-ID: <467392F4.9020200@uffner.com> In-Reply-To: <4671C5AF.9040203@uffner.com> References: <4671C5AF.9040203@uffner.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tom Uffner wrote: > the recently imported new version of less (Mon Jun 4 01:42:44 2007 UTC > (10 days, 19 hours ago) by delphij) appears to have a bug that appears > when using the -e or --quit-at-eof option. to see this bug, you also need the 'c' & 'w' options, and output that is more than one screen long. for example: [tatooine:/usr/src/contrib/less:ttyp4] less -ecw scrsize.c (hit space until you reach the last page, then one more time) less exits leaving your cursor near the top of screen in the middle of the text that was displayed there, and does not correctly restore the terminal settings: return 1; [tatooine:/usr/src/contrib/less:ttyp4] return 1; if (!(hints.flags & PResizeInc)) return 1; if (hints.width_inc == 0 || hints.height_inc == 0) return 1; if (!(hints.flags & (PBaseSize|PMinSize))) return 1; if (hints.flags & PBaseSize) ... ~ ~ (END)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?467392F4.9020200>