Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2011 03:21:48 -0500
From:      Zhihao Yuan <lichray@gmail.com>
To:        Test Rat <ttsestt@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [nvi-iconv]Call for test
Message-ID:  <CAGsORuDiq%2BgsGyV1Da0mUKj0JBnam584S2z5VFVcKyKM1qsVdw@mail.gmail.com>
In-Reply-To: <868vqt0xuc.fsf@gmail.com>
References:  <CAGsORuCWioKEF_n-2UK1BkRLCDkk-qbkhqYUZzLm16Em=NHEDg@mail.gmail.com> <CAGsORuBr=b-cJEAJO7cJ=j5dn04kJfR%2BHzz58Rjc29uTDZv4Xg@mail.gmail.com> <CAGsORuCsz_XzWntZ_y40SuAS%2B7saT7GzMUoTzpGgdCN5aTYuNg@mail.gmail.com> <868vqt0xuc.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I totally hate gmail's reply -- I enabled "Reply to all" by default
but I still got things wrong.

Anyway, for short, the problem is caused by the lack of a widechar
enabled regex. I ported the one used by nvi-devel-1.8x.

A new patch is uploaded,
https://github.com/downloads/lichray/nvi2/nvi2-freebsd-2011-08-17.diff.gz
and I tested it with make buildworld.

Note that this version sets WARNS=3D1 in vi's Makefile, since it's
warning free with clang and gcc.

And there is change to `rescue`'s compilation: now it links to
libcursesw if WITH_ICONV is on.

On Tue, Aug 16, 2011 at 5:56 PM, Test Rat <ttsestt@gmail.com> wrote:
> Zhihao Yuan <lichray@gmail.com> writes:
>
>> On Sun, Aug 14, 2011 at 10:39 AM, Zhihao Yuan <lichray@gmail.com> wrote:
>>> Hi, hackers:
>>>
>>> My GSoC2011 project, "Multibyte Encoding Support in Nvi" is ready for
>>> testing. The proposal of the project is here:
>>> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/zy/1
> [...]
>> Let me try to ``quickly'' explain how to involve into the testing.
>>
>> First, download the patch from
>> https://github.com/downloads/lichray/nvi2/nvi2-freebsd-2011-08-14.diff.g=
z
>
> It breaks buildworld for me, e.g.
>
> =C2=A0$ make all -C share/termcap
> =C2=A0gzip -cn /usr/src/share/termcap/termcap.5 > termcap.5.gz
> =C2=A0TERM=3Ddumb TERMCAP=3Ddumb: ex - /usr/src/share/termcap/termcap.src=
 < /usr/src/share/termcap/reorder
> =C2=A0Error: stderr: Inappropriate ioctl for device
> =C2=A0script, 3: Destination line is inside move range
> =C2=A0*** Error code 1
>
> and crashes when no WITH_ICONV is defined. Can you confirm?
>
> =C2=A0Starting program: /usr/bin/ex - /usr/src/share/termcap/termcap.src =
< /usr/src/share/termcap/reorder
>
> =C2=A0Program received signal SIGSEGV, Segmentation fault.
> =C2=A00x0000000800be7760 in ?? ()
> =C2=A0(gdb) bt
> =C2=A0#0 =C2=A00x0000000800be7760 in ?? ()
> =C2=A0#1 =C2=A00x000000000044092b in ex_writefp (sp=3D0x801106800, name=
=3D0x801103148 "termcap", fp=3D0x800e51d90, fm=3D0x801007ca8, tm=3D0x801007=
cb8,
> =C2=A0 =C2=A0 =C2=A0nlno=3D0x7fffffffc808, nch=3D0x7fffffffc800, silent=
=3D0) at /usr/src/usr.bin/vi/../../contrib/nvi2/ex/ex_write.c:321
> =C2=A0#2 =C2=A00x000000000040bfb2 in file_write (sp=3D0x801106800, fm=3D0=
x801007ca8, tm=3D0x801007cb8, name=3D0x801103148 "termcap", flags=3D21)
> =C2=A0 =C2=A0 =C2=A0at /usr/src/usr.bin/vi/../../contrib/nvi2/common/exf.=
c:924
> =C2=A0#3 =C2=A00x0000000000440739 in exwr (sp=3D0x801106800, cmdp=3D0x801=
007be8, cmd=3DWRITE)
> =C2=A0 =C2=A0 =C2=A0at /usr/src/usr.bin/vi/../../contrib/nvi2/ex/ex_write=
.c:264
> =C2=A0#4 =C2=A00x00000000004400d2 in ex_write (sp=3D0x801106800, cmdp=3D0=
x801007be8) at /usr/src/usr.bin/vi/../../contrib/nvi2/ex/ex_write.c:91
> =C2=A0#5 =C2=A00x0000000000422b78 in ex_cmd (sp=3D0x801106800) at /usr/sr=
c/usr.bin/vi/../../contrib/nvi2/ex/ex.c:1375
> =C2=A0#6 =C2=A00x000000000041f788 in ex (spp=3D0x7fffffffd040) at /usr/sr=
c/usr.bin/vi/../../contrib/nvi2/ex/ex.c:133
> =C2=A0#7 =C2=A00x0000000000412377 in editor (gp=3D0x801007b00, argc=3D1, =
argv=3D0x7fffffffd268)
> =C2=A0 =C2=A0 =C2=A0at /usr/src/usr.bin/vi/../../contrib/nvi2/common/main=
.c:424
> =C2=A0#8 =C2=A00x000000000040513f in main (argc=3D3, argv=3D0x7fffffffd25=
8) at /usr/src/usr.bin/vi/../../contrib/nvi2/cl/cl_main.c:123
> =C2=A0(gdb) bt f
> =C2=A0#0 =C2=A00x0000000800be7760 in ?? ()
> =C2=A0No symbol table info available.
> =C2=A0#1 =C2=A00x000000000044092b in ex_writefp (sp=3D0x801106800, name=
=3D0x801103148 "termcap", fp=3D0x800e51d90, fm=3D0x801007ca8, tm=3D0x801007=
cb8,
> =C2=A0 =C2=A0 =C2=A0nlno=3D0x7fffffffc808, nch=3D0x7fffffffc800, silent=
=3D0) at /usr/src/usr.bin/vi/../../contrib/nvi2/ex/ex_write.c:321
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sb =3D {
> =C2=A0 =C2=A0st_dev =3D 4294955600,
> =C2=A0 =C2=A0st_ino =3D 32767,
> =C2=A0 =C2=A0st_mode =3D 0,
> =C2=A0 =C2=A0st_nlink =3D 0,
> =C2=A0 =C2=A0st_uid =3D 0,
> =C2=A0 =C2=A0st_gid =3D 1944,
> =C2=A0 =C2=A0st_rdev =3D 0,
> =C2=A0 =C2=A0st_atim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 3,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 34377892735
> =C2=A0 =C2=A0},
> =C2=A0 =C2=A0st_mtim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 6798080,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 4096
> =C2=A0 =C2=A0},
> =C2=A0 =C2=A0st_ctim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 0,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 34366769152
> =C2=A0 =C2=A0},
> =C2=A0 =C2=A0st_size =3D 4,
> =C2=A0 =C2=A0st_blocks =3D 140737488343672,
> =C2=A0 =C2=A0st_blksize =3D 3,
> =C2=A0 =C2=A0st_flags =3D 0,
> =C2=A0 =C2=A0st_gen =3D 4294954160,
> =C2=A0 =C2=A0st_lspare =3D 32767,
> =C2=A0 =C2=A0st_birthtim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 34366543277,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 582
> =C2=A0 =C2=A0}
> =C2=A0}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gp =3D (GS *) 0x801007b00
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ccnt =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fline =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tline =3D 4666
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lcnt =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0len =3D 140737488340496
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rval =3D -11656
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msg =3D 0x46f540 "253|Writing..."
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0p =3D (CHAR_T *) 0xb <Error reading add=
ress 0xb: Bad address>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0f =3D 0x800c0981f "H\211A^]\017\037\204=
"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0flen =3D 140737488340168
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0isutf16 =3D 0
> =C2=A0#2 =C2=A00x000000000040bfb2 in file_write (sp=3D0x801106800, fm=3D0=
x801007ca8, tm=3D0x801007cb8, name=3D0x801103148 "termcap", flags=3D21)
> =C2=A0 =C2=A0 =C2=A0at /usr/src/usr.bin/vi/../../contrib/nvi2/common/exf.=
c:924
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mtype =3D OLDFILE
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sb =3D {
> =C2=A0 =C2=A0st_dev =3D 745804815,
> =C2=A0 =C2=A0st_ino =3D 70073,
> =C2=A0 =C2=A0st_mode =3D 33188,
> =C2=A0 =C2=A0st_nlink =3D 1,
> =C2=A0 =C2=A0st_uid =3D 1001,
> =C2=A0 =C2=A0st_gid =3D 1001,
> =C2=A0 =C2=A0st_rdev =3D 4294967295,
> =C2=A0 =C2=A0st_atim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 1313534959,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 905174484
> =C2=A0 =C2=A0},
> =C2=A0 =C2=A0st_mtim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 1313535150,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 420174354
> =C2=A0 =C2=A0},
> =C2=A0 =C2=A0st_ctim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 1313535150,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 420174354
> =C2=A0 =C2=A0},
> =C2=A0 =C2=A0st_size =3D 0,
> =C2=A0 =C2=A0st_blocks =3D 1,
> =C2=A0 =C2=A0st_blksize =3D 131072,
> =C2=A0 =C2=A0st_flags =3D 0,
> =C2=A0 =C2=A0st_gen =3D 0,
> =C2=A0 =C2=A0st_lspare =3D 0,
> =C2=A0 =C2=A0st_birthtim =3D {
> =C2=A0 =C2=A0 =C2=A0tv_sec =3D 1313535150,
> =C2=A0 =C2=A0 =C2=A0tv_nsec =3D 420174354
> =C2=A0 =C2=A0}
> =C2=A0}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ep =3D (EXF *) 0x801031180
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fp =3D (FILE *) 0x800e51d90
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0frp =3D (FREF *) 0x80112f040
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0from =3D {
> =C2=A0 =C2=A0lno =3D 4294953320,
> =C2=A0 =C2=A0cno =3D 140737488341984
> =C2=A0}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0to =3D {
> =C2=A0 =C2=A0lno =3D 17842464,
> =C2=A0 =C2=A0cno =3D 140737488341096
> =C2=A0}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0len =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nlno =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nch =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fd =3D 11
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nf =3D 18607849
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0noname =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0oflags =3D 1537
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rval =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0p =3D 0x800b87f54 "=C2=BB\001"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0s =3D 0x7fffffffc830 ""
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0t =3D 0x80118b240 ""
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0buf =3D "\000=C2=BBg\000\000\000\000\00=
0q000\b\000\000\000=C2=AB\002\000\000\000\000\000\000\001\b\000\000\000\000=
\000\000\004\000\000\000\000\000\000\000h=C2=BBg\000\000\000\000\000\033\00=
1\000\000\000\000\000`\004\000\000\000\000\000\000=C2=BBg\000\000\000\000\0=
00\001\000\000\000\000\000\000\000\000=C2=B0*\001\b\000\000\000\000=C2=BBg\=
000\000\000\000\000\000`\004\000\000\000\000\000\000(\000\000\000\000\000\0=
00\020=C3=BF=C3=BF\177\000\000\227000\b\000\000\000h=C2=BBg", '\0' <repeats=
 13 times>, "\020=C3=BF=C3=BF\177\000\000[\214=C3=80\000\b\000\000\000\000=
=C2=A0!\001\b\000\000\000(=C2=A0!\001\b\000\000\000\000\017\023\001\b\000\0=
00\000 =C2=A0!\001\b\000\000\000@=C3=BF=C3=BF\177\000\000\036w=C3=80"...
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0msgstr =3D 0x2 <Error reading address 0=
x2: Bad address>
> =C2=A0#3 =C2=A00x0000000000440739 in exwr (sp=3D0x801106800, cmdp=3D0x801=
007be8, cmd=3DWRITE)
> =C2=A0 =C2=A0 =C2=A0at /usr/src/usr.bin/vi/../../contrib/nvi2/ex/ex_write=
.c:264
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rm =3D {
> =C2=A0 =C2=A0lno =3D 17846452,
> =C2=A0 =C2=A0cno =3D 4
> =C2=A0}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0flags =3D 21
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0name =3D 0x801103148 "termcap"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0p =3D (CHAR_T *) 0x801103088 "termcap"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nlen =3D 8
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0n =3D 0x801103140 "termcap"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rc =3D 4260867
> =C2=A0#4 =C2=A00x00000000004400d2 in ex_write (sp=3D0x801106800, cmdp=3D0=
x801007be8) at /usr/src/usr.bin/vi/../../contrib/nvi2/ex/ex_write.c:91
> =C2=A0No locals.
> =C2=A0#5 =C2=A00x0000000000422b78 in ex_cmd (sp=3D0x801106800) at /usr/sr=
c/usr.bin/vi/../../contrib/nvi2/ex/ex.c:1375
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nret =3D 17852416
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exp =3D (EX_PRIVATE *) 0x8010f3600
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ecp =3D (EXCMD *) 0x801007be8
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gp =3D (GS *) 0x801007b00
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cur =3D {
> =C2=A0 =C2=A0lno =3D 185,
> =C2=A0 =C2=A0cno =3D 0
> =C2=A0}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lno =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0arg1_len =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0discard =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0len =3D 140737488342608
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0flags =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ltmp =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0at_found =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gv_found =3D 24
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cnt =3D 8
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0delim =3D 16808704
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0isaddr =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0namelen =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0newscreen =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0notempty =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tmp =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0vi_address =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0arg1 =3D (CHAR_T *) 0x0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0s =3D (CHAR_T *) 0x801153143 "termcap"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0p =3D (CHAR_T *) 0x80115314b "-m'a"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0t =3D (CHAR_T *) 0x7fffffffd250 "\003"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ch =3D 112 'p'
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0n =3D (CHAR_T *) 0x7 <Error reading add=
ress 0x7: Bad address>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0np =3D 0x46a8b9 "s"
> =C2=A0#6 =C2=A00x000000000041f788 in ex (spp=3D0x7fffffffd040) at /usr/sr=
c/usr.bin/vi/../../contrib/nvi2/ex/ex.c:133
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0exp =3D (EX_PRIVATE *) 0x8010f3600
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gp =3D (GS *) 0x801007b00
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0mp =3D (MSGS *) 0x0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sp =3D (SCR *) 0x801106800
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tp =3D (TEXT *) 0x801151080
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0flags =3D 2592
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0space =3D 32 ' '
> =C2=A0#7 =C2=A00x0000000000412377 in editor (gp=3D0x801007b00, argc=3D1, =
argv=3D0x7fffffffd268)
> =C2=A0 =C2=A0 =C2=A0at /usr/src/usr.bin/vi/../../contrib/nvi2/common/main=
.c:424
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0p =3D 0x7fffffff037f ""
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ev =3D {
> =C2=A0 =C2=A0q =3D {
> =C2=A0 =C2=A0 =C2=A0tqe_next =3D 0x40150c,
> =C2=A0 =C2=A0 =C2=A0tqe_prev =3D 0x7fffffffd008
> =C2=A0 =C2=A0},
> =C2=A0 =C2=A0e_event =3D 98,
> =C2=A0 =C2=A0_u_event =3D {
> =C2=A0 =C2=A0 =C2=A0_e_ch =3D {
> =C2=A0 =C2=A0 =C2=A0 =C2=A0c =3D 58 ':',
> =C2=A0 =C2=A0 =C2=A0 =C2=A0value =3D K_NOTUSED,
> =C2=A0 =C2=A0 =C2=A0 =C2=A0flags =3D 58 ':'
> =C2=A0 =C2=A0 =C2=A0},
> =C2=A0 =C2=A0 =C2=A0_e_mark =3D {
> =C2=A0 =C2=A0 =C2=A0 =C2=A0lno1 =3D 4201018,
> =C2=A0 =C2=A0 =C2=A0 =C2=A0cno1 =3D 4201018,
> =C2=A0 =C2=A0 =C2=A0 =C2=A0lno2 =3D 226154414,
> =C2=A0 =C2=A0 =C2=A0 =C2=A0cno2 =3D 34366783664
> =C2=A0 =C2=A0 =C2=A0},
> =C2=A0 =C2=A0 =C2=A0_e_str =3D {
> =C2=A0 =C2=A0 =C2=A0 =C2=A0asp =3D 0x401a3a "sigaction",
> =C2=A0 =C2=A0 =C2=A0 =C2=A0csp =3D 0x401a3a "sigaction",
> =C2=A0 =C2=A0 =C2=A0 =C2=A0len =3D 226154414
> =C2=A0 =C2=A0 =C2=A0}
> =C2=A0 =C2=A0}
> =C2=A0}
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0frp =3D (FREF *) 0x80112f040
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sp =3D (SCR *) 0x801106800
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0len =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0flags =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ch =3D -1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0flagchk =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lflag =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0secure =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0startup =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0readonly =3D 0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rval =3D 6813300
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0silent =3D 1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0tag_f =3D 0x0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0wsizearg =3D 0x0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0path =3D "x=C3=BF=C3=BF\177\000\000\003=
\000\000\000\000\000\000\000P=C3=BF=C3=BF\177\000\000=C2=AD\000\b\000\000\0=
00\000=C2=BBg\000\000\000\000\000\000P\004\001\b\000\000\000\000\020\000\00=
0\000\000\000\000\000\020\000\000\000\000\000\000\001\000\000\000\000\000\0=
00\0000=C3=BF=C3=BF\177\00---Type <return> to continue, or q <return> to qu=
it---
> =C2=A00\000\0005000\b\000\000\000204\002\001\b", '\0' <repeats 11 times>,=
 "\006\002\000\000\000\000\000\000\000=C2=BBg\000\000\000\000\000\000@k\000=
\b\000\000\000222=C3=80\000\b\000\000\000\017W@\000\000\000\000\000=C2=B0=
=C2=BAg\000\000\000\000\000@\000\000\000\000\000H\205\002\001\b\000\000\000=
\000P\004\001\034\000\000\000@", '\0' <repeats 25 times>, "\b\000\000\000\2=
20=C3=BF=C3=BF\177\000\000"...
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0w =3D (CHAR_T *) 0x7fffffffcff8 "g"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0wlen =3D 34366767104
> =C2=A0#8 =C2=A00x000000000040513f in main (argc=3D3, argv=3D0x7fffffffd25=
8) at /usr/src/usr.bin/vi/../../contrib/nvi2/cl/cl_main.c:123
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0clp =3D (CL_PRIVATE *) 0x801028300
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0gp =3D (GS *) 0x801007b00
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rows =3D 24
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0cols =3D 132
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0rval =3D 32767
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0p_av =3D (char **) 0x7fffffffd270
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0t_av =3D (char **) 0x7fffffffd270
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ttype =3D 0x7fffffffd6ab "screen-256col=
or"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0reenter =3D 1
>



--=20
Zhihao Yuan, nickname lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://4bsd.biz/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGsORuDiq%2BgsGyV1Da0mUKj0JBnam584S2z5VFVcKyKM1qsVdw>