Re: Slang curses 1.4.0 has reverse video problems

2000-03-28 Thread John E. Davis
On Tue, 28 Mar 2000 10:21:46 -0800, Clint Olsen <[EMAIL PROTECTED]> said: >For example, let the X's below the line show where the reverse video >pattern is: > >q:Quit d:Del u:Undel s:Save m:Mail r:Reply g:Group ?:Help > 1 + Jason Surprise 03/28 16 bridge probs >XX

Re: home/end/pageup/pagedown donĀ“t work

2000-02-28 Thread John E. Davis
David DeSimone <[EMAIL PROTECTED]> wrote: >If I remember rightly, slang does not use terminfo, but termcap instead. It uses terminfo on systems that have it. For others, it uses termcap. --John

Re: Colour via telnet/ssh

2000-01-18 Thread John E. Davis
Chris Green <[EMAIL PROTECTED]> wrote: >With slrn I need to use the -C option though and I was wondering if >there was an equivalent for mutt. Presumably the -C option to slrn >says send the ANSI colour sequences even if it doesn't look like the >terminal you are running on will understand them.

Re: Safest/latest version of SLANG?

1999-12-23 Thread John E. Davis
Heinz Diehl <[EMAIL PROTECTED]> wrote: >The latest version 1.3.10 works just fine and if I were you I would >upgrade to it since 1.2.2 is a little bit old. I'm using mutt >and could not detect any misbehaviour/problems Shortly after the first of the year, I plan going to release slang 1.4.0

Re: Floating point exception - gdb

1999-10-28 Thread John E. Davis
Chris Costello <[EMAIL PROTECTED]> wrote: >print menu >print menu->pagelen >print menu->current >print menu->top >print menu->pagelen I think that you can also use: (gdb) p menu (gdb) p *menu --John

Re: Floating point exception

1999-10-25 Thread John E. Davis
David DeSimone <[EMAIL PROTECTED]> wrote: >> And you could avoid the division with: >> >> (info->lobin + info->hibin + info->ascii)*4 >> < ((info->lobin + info->hibin)*3 + info->ascii)*3 > >But then you risk integer overflow. Which the division helps avoid, and >in fact, floating-point hel

Re: Cut and paste annoyance...

1999-09-30 Thread John E. Davis
Michael H. Warfield <[EMAIL PROTECTED]> wrote: > To be perfectly honest, if an application padded a line out with >spaces, I would expect to be able to cut and paste those spaces. If I do not know how to say it any other way. Neither ncurses nor slang have any idea about the context of wh

Re: Cut and paste annoyance...

1999-09-30 Thread John E. Davis
David DeSimone <[EMAIL PROTECTED]> wrote: >There's more to it than that, I believe. You need to also set an >environment variable: > >export COLORFGBG="default;default" > >> (It's black lettering on a white background, which is my >> terminal mode). If you know e

Re: Cut and paste annoyance...

1999-09-30 Thread John E. Davis
On Thu, 30 Sep 1999 18:59:45 -0500, David DeSimone <[EMAIL PROTECTED]> said: >If Mutt is printing lots of spaces to the end of the line, why doesn't >this cut/paste behavior always show up? Why is it only happening when >color is enabled? It is probably using an escape sequence (ESC[K) for t

Re: Cut and paste annoyance...

1999-09-30 Thread John E. Davis
ution would be for xterm or rxvt to change its behavior depending upon the screen in use. All applications that use curses or slang will usually use the second screen and switch to the primary upon suspension or exit. The primary screen is used by mainly by the shell. -- John E. Davis

Re: Unfriendly terminal behaviour

1999-06-13 Thread John E. Davis
> Correct. Most terminal emulation software will throw spaces > inbetween Foo and Bar as to ensure a decent way of copy/pasting > text to a clipboard or etc. I do not think so. Consider: ESC[1;1H ESC[K ESC[1;10H Bar ESC[1;1H Foo This pr

Re: Unfriendly terminal behaviour

1999-06-13 Thread John E. Davis
his thread has come up is because the terminal is second-guessing (incorrectly) what is displayed on the screen. If you are using rxvt, then apply the patch that I posted earlier. If you are using some other terminal, you will have to look elsewhere for a solution. -- John E. Davis C

Re: Xterm cut-n-paste with mutt

1999-04-20 Thread John E. Davis
] != WRAP_CHAR) { -#if 0 +#if 1 for (; isspace(*--str);) ; /* strip trailing spaces anyway */ str++; #endif -- John E. Davis Center for Space Research/AXAF Science Center 617-258-8119One Hampshire St., Building NE80-6019 http://space.mit.edu/~davis Cambridge, MA 02139-4307