[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mvwprintw
From: |
Thomas Dickey |
Subject: |
Re: mvwprintw |
Date: |
Thu, 30 Mar 2006 16:24:55 -0500 (EST) |
On Thu, 30 Mar 2006, Bob Rossi wrote:
In the original report I didn't understand what "curropt" is. Can you
clarify that remark?
Yes, for some strange reason, even though I can program, I still spell
like a second grader. I meant to say, corrupt.
ok. I'm not sure how the corruption is visible. Is this a problem that
appears at the right margin? For instance you could be referring to
unexpected characters, or misplaced characters.
(I sometimes use 'script' to record the characters that are sent to the
terminal - a copy of the corresponding typescript file is often as good as
a screenshot).
I'm using putty and my "Terminal-type string" is "xterm" and my $TERM
can be either xterm or xterm-color.
putty's actions on the right margin aren't exactly what xterm does.
That's the "bw", which is used in screen optimization.
Once logged in, if I open an xterm, with TERM=xterm or TERM=xterm-color,
I still have the problem.
I'm using the new ncurses.
When I build with trace like so,
.../ncurses-5.5/configure CFLAGS=-g --with-shared --without-cxx
--without-cxx-binding --without-ada --with-trace
--prefix=/home/bar/cvs/cgdb/cgdb-cvs/ncurses/target-trace
and then do
$ ldd ./cgdb/src/cgdb
libm.so.6 => /lib/tls/libm.so.6 (0xb75be000)
libtermcap.so.2 => /lib/libtermcap.so.2 (0xb75ba000)
hmm - why are you linking with termcap?
libncurses.so.5 =>
/home/bar/cvs/cgdb/cgdb-cvs/ncurses/target-trace/lib/libncurses.so.5 (0xb7562000)
libc.so.6 => /lib/tls/libc.so.6 (0xb742a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb75eb000)
libdl.so.2 => /lib/libdl.so.2 (0xb7427000)
My NCURSES_TRACE env var is not set. I still get the bug.
If I do 'export NCURSES_TRACE=8191', I still get the bug.
If I recompile CGDB with ncurses_g (not sure if this used
/usr/lib/libncurses_g.a or the one in
/home/bar/cvs/cgdb/cgdb-cvs/ncurses/target-trace/lib/libncurses_g.a.
I think it used the newone because GDB reports on the source files from
that library.
I guess so - unless you had a .gdbinit file that set the source path.
My NCURSES_TRACE env var is not set. I do not get the bug.
If I do 'export NCURSES_TRACE=8191', I do not get the bug.
So I guess it's not a function of NCURSES_TRACE. But switching libraries
between libncurses and libncurses_g does show a difference. Any
suggestions?
Aside from the traces (and compiler optimization), there shouldn't be
a difference between the two.
I've been debugging ncurses, but can't figure out what's wrong.
I usually use --with-trace when making shared libraries for debugging.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
- mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw, Thomas Dickey, 2006/03/30
- Re: mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw, Thomas Dickey, 2006/03/30
- Re: mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw,
Thomas Dickey <=
- Re: mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw, Thomas Dickey, 2006/03/30
- Re: mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw, Bob Rossi, 2006/03/30
- Re: mvwprintw, Bob Rossi, 2006/03/31
- Re: mvwprintw, Thomas Dickey, 2006/03/31
- Re: mvwprintw, Bob Rossi, 2006/03/31
- Re: mvwprintw, Thomas Dickey, 2006/03/31
- Re: mvwprintw, Bob Rossi, 2006/03/31