<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3453: mutt-1.5.18: wrap line as they can be selected with a double click



On Sat, 25 Sep 2010, Derek Martin wrote:

On Sat, Sep 25, 2010 at 08:15:44AM -0400, Thomas Dickey wrote:
However, when I view the source code in vim or with less, double
clicking *does* select the wrapped portion.

vim doesn't use curses (it's a termcap application).
(n)curses happens to provide a termcap interface.

But less does:

it's a termcap application as well.  "strings" shows me this:

...
clear
tgoto
tgetflag
tgetent
tgetnum
...
winch
tputs
tgetstr

(the "winch" is puzzling, since there's a curses function by that name
which less shouldn't be using, given the other names).

curses applications would call initscr or newterm.

$ ldd `which less`
       libncursesw.so.5 => /usr/lib/libncursesw.so.5 (0xb7ecb000)
       libc.so.6 => /lib/libc.so.6 (0xb7d85000)
       libdl.so.2 => /lib/libdl.so.2 (0xb7d81000)
       /lib/ld-linux.so.2 (0xb7f25000)

--
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail due to spam prevention.  Sorry for the inconvenience.



--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net