On Sun, Jun 13, 1999 at 12:11:42PM -0700, Jeremy Chadwick wrote:
>
> A string is "Hello", terminated with \0. If this string is
> printf()'d, it outputs "Hello". The terminal sees 5 characters,
> and therefore lets you select 5. Five are only sent over the
> tty as well.
>
> ncurses (and slang) applications are not doing this. I have
> Email messages which consist of lines such as (excluding
> double-quotes):
>
> "From: Stan Ryckman <[EMAIL PROTECTED]>"
>
> However, when this line is actually output to the terminal
> with mutt (slang, ncurses, whatever people want to claim it
> is), the output is actually the following:
>
> "From: Stan Ryckman <[EMAIL PROTECTED]> "
It's not doing that for me. If I press my left mouse button down, and
'sweep' the 'From' line in the pager, as soon as I get to the end of the
text, the line highlights (what ncurses does when it sees the invisible
'end of line').
> People are blaming slang for this behaviour. Possibly the
> problem is with slang, and with ncurses as well.
Make sure you're using the ncurses you think you are using. Many Linux
machines have evil old ncurses on their machines. Use ldd to ensure
you're using what you think you are using.
> I have witnessed the aforementioned problem using the following
> software:
>
> CRT
> SecureCRT
> Windows Telnet
> FreeBSD console
> Linux console
> Sun console
It doesn't do it with a plain old 'xterm' and ncurses 4.2. No idea what
the above termcaps do, though.
--
Brian Moore | "The Zen nature of a spammer resembles
Sysadmin, C/Perl Hacker | a cockroach, except that the cockroach
Usenet Vandal | is higher up on the evolutionary chain."
Netscum, Bane of Elves. Peter Olson, Delphi Postmaster