1 |
I did a little bit of poking around, and it seems that vi has issues with |
2 |
the "linux" termcap. I found that if I change the TERM environment |
3 |
variable for my text console from "linux" to "ansi", a very quick test of |
4 |
vi seems to work fine. |
5 |
|
6 |
I think I've narrowed down the problem to a call to the tgetstr function |
7 |
in ncurses, attempting to get some value that should be non-null, which |
8 |
leads me to believe that maybe the term settings for "linux" might not be |
9 |
totally kosher. I don't really know how a lot of the termcap stuff works |
10 |
(this is my first exposure to it), but if you want, I can provide somebody |
11 |
(Spider?) with my reasoning+gdb output... I don't think that it's a vi |
12 |
(or necessarily ncurses) problem anymore. |
13 |
|
14 |
|
15 |
Wes |
16 |
|
17 |
|
18 |
|
19 |
On Sun, 26 May 2002, wes chow wrote: |
20 |
|
21 |
> |
22 |
> I'm running gcc 2.95.3 with ncurses 5.2-r5. |
23 |
> |
24 |
> Okay, I'll file the bug... It's strange that it only seg faults in text |
25 |
> mode. Why is that? Does the ncurses library change depending on whether |
26 |
> you're in Gnome? It seems to me that this might be a ncurses bug and not |
27 |
> a vi one. |
28 |
> |
29 |
> |
30 |
> Wes |
31 |
> |
32 |
> |
33 |
> |
34 |
> On Sun, 26 May 2002, Spider wrote: |
35 |
> |
36 |
> > begin quote |
37 |
> > On Sat, 25 May 2002 11:38:23 -0400 (EDT) |
38 |
> > wes chow <wes@×××××××××.net> wrote: |
39 |
> > |
40 |
> > > |
41 |
> > > #0 0x400495aa in tgoto () from /lib/libncurses.so.5 |
42 |
> > > #1 0x0805856a in getline () |
43 |
> > > #2 0x08049fad in strcpy () |
44 |
> > > #3 0x4007e3bd in __libc_start_main () from /lib/libc.so.6 |
45 |
> > > |
46 |
> > > Is there anything you need to know about my system? |
47 |
> > > |
48 |
> > > |
49 |
> > Wow! finally a backtrace!!! : ) |
50 |
> > |
51 |
> > is this a gcc3 system? If it is, which ncurses verison? well, you can |
52 |
> > tell me that anyhow ;) |
53 |
> > |
54 |
> > Can you file a bug with : |
55 |
> > Gunnar Ritter |
56 |
> > <g-r@×××××××.de> |
57 |
> > <http://ex-vi.berlios.de> |
58 |
> > |
59 |
> > As he is the current maintainer of vi? |
60 |
> > //Spider |
61 |
> > |
62 |
> > -- |
63 |
> > begin .signature |
64 |
> > This is a .signature virus! Please copy me into your .signature! |
65 |
> > See Microsoft KB Article Q265230 for more information. |
66 |
> > end |
67 |
> > |
68 |
> |
69 |
> _______________________________________________ |
70 |
> gentoo-dev mailing list |
71 |
> gentoo-dev@g.o |
72 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
73 |
> |