[GSoC] About the idea: Unicode support in vi

2011-03-22 Thread Zhihao Yuan
), so that it can deal with more encodings. Can that be a GSoC project proposal? -- Zhihao Yuan The best way to predict the future is to invent it. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-

Re: [GSoC] About the idea: Unicode support in vi

2011-03-23 Thread Zhihao Yuan
On Wed, Mar 23, 2011 at 2:23 AM, Pan Tsu wrote: > Zhihao Yuan writes: > >> Hi, >> >> I'm a Computer Science student at Northern Illinois University, and I >> used FreeBSD for a long time. I'm interested in the idea that to >> improve the nvi in the

Re: [GSoC] About the idea: Unicode support in vi

2011-03-23 Thread Zhihao Yuan
On Wed, Mar 23, 2011 at 11:05 AM, Pan Tsu wrote: > Zhihao Yuan writes: > >>> Why not just use "traditional vi"? >>> >>>   http://ex-vi.sourceforge.net/ (lives under editors/2bsd-vi) >> >> This one lacks of many feature, compared with nvi.

Re: [GSoC] About the idea: Unicode support in vi

2011-03-23 Thread Zhihao Yuan
On Wed, Mar 23, 2011 at 4:50 PM, Arnaud Lacombe wrote: > Hi, > > On Wed, Mar 23, 2011 at 4:36 PM, Zhihao Yuan wrote: >> On Wed, Mar 23, 2011 at 11:05 AM, Pan Tsu wrote: >>> Zhihao Yuan writes: >>>> I'm not sure whether the FreeBSD system administrator

Re: [GSoC] About the idea: Unicode support in vi

2011-03-23 Thread Zhihao Yuan
On Wed, Mar 23, 2011 at 7:26 PM, Arnaud Lacombe wrote: > Hi, > > On Wed, Mar 23, 2011 at 7:32 PM, Zhihao Yuan wrote: >> Among *all* the GNU/Linux distributions I used, they include a vim >> compiled in tiny mode (ln -s it to vi), which doubles the size of nvi, >&g

Re: [GSoC] About the idea: Unicode support in vi

2011-03-23 Thread Zhihao Yuan
On Wed, Mar 23, 2011 at 10:46 PM, Pan Tsu wrote: > Zhihao Yuan writes: > >> If you really want to use vi in a 32MB mem environment, the ex-vi may >> make sense. It consumes 1600KB memory while nvi consumes 2000KB. Note >> that the ee editor uses same amount memory as

Re: Timecounter Project (GSoc2011)

2011-03-24 Thread Zhihao Yuan
sd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org" > -- Zhihao Yuan The best way to predict the future is to invent it. __

Re: [GSoC] About the idea: Unicode support in vi

2011-03-24 Thread Zhihao Yuan
On Thu, Mar 24, 2011 at 6:11 AM, Bernd Walter wrote: > On Wed, Mar 23, 2011 at 08:20:07PM -0500, Zhihao Yuan wrote: >> On Wed, Mar 23, 2011 at 7:26 PM, Arnaud Lacombe wrote: >> > Hi, >> > >> > On Wed, Mar 23, 2011 at 7:32 PM, Zhihao Yuan wrote: >> &g

Re: Timecounter Project (GSoc2011)

2011-03-24 Thread Zhihao Yuan
On Thu, Mar 24, 2011 at 7:27 AM, Ivan Voras wrote: > On 24/03/2011 12:21, Zhihao Yuan wrote: >> >> On Thu, Mar 24, 2011 at 5:39 AM, Ivan Voras  wrote: >>> >>> On 24/03/2011 10:00, Jing Huang wrote: >>>> >>>> Hi Everyone, >>>

Re: [GSoC] About the idea: Unicode support in vi

2011-03-24 Thread Zhihao Yuan
On Thu, Mar 24, 2011 at 5:07 PM, Julian H. Stacey wrote: > Zhihao Yuan wrote: > >> ed seems works, but it's not either vi or ex. >> I'm not typically like ee... I sill wondering why we kept it in base >> system. It does not work when termcap is not correct, so I

Re: [GSoC] About the idea: Unicode support in vi

2011-03-24 Thread Zhihao Yuan
On Thu, Mar 24, 2011 at 5:17 PM, Johan van Selst wrote: > Zhihao Yuan wrote: >> 2. nvi does not use iconv, nvi-m17n only supports limited non-Unicode >> mbyte encodings, nvi-devel has too many problems. So we don't have a >> nvi which comes with fully mbyte enconding sup

Re: [GSoC] About the idea: Unicode support in vi

2011-03-25 Thread Zhihao Yuan
On Fri, Mar 25, 2011 at 8:45 AM, Kurt Lidl wrote: > On Fri, Mar 25, 2011 at 10:40:44AM +0100, Johan van Selst wrote: >> Zhihao Yuan wrote: >> > > Could you please eleborate on the nvi-devel problems? I'm the current >> > > maintainer of this port, and

Re: [GSoC] About the idea: Unicode support in vi

2011-03-25 Thread Zhihao Yuan
On Fri, Mar 25, 2011 at 1:39 PM, Zhihao Yuan wrote: > On Fri, Mar 25, 2011 at 8:45 AM, Kurt Lidl wrote: >> On Fri, Mar 25, 2011 at 10:40:44AM +0100, Johan van Selst wrote: >>> Zhihao Yuan wrote: >>> > > Could you please eleborate on the nvi-devel problems? I&#x

Re: [GSoC] About the idea: Unicode support in vi

2011-03-26 Thread Zhihao Yuan
On Sat, Mar 26, 2011 at 3:45 AM, Paul Schenkeveld wrote: > On Wed, Mar 23, 2011 at 08:20:07PM -0500, Zhihao Yuan wrote: >> On Wed, Mar 23, 2011 at 7:26 PM, Arnaud Lacombe wrote: >> > Hi, >> > >> > On Wed, Mar 23, 2011 at 7:32 PM, Zhihao Yuan wrote: >>

Re: New Boot-Loader

2011-03-28 Thread Zhihao Yuan
for sysadmins > already annoyed by the ever increasing POST delay rapidly pressing > 6 when the boot0 menu appears. > > Thanks for your work! > > Paul Schenkeveld > ___ > freebsd-hackers@freebsd.org mailing list > http://lis

my GSoC proposal "Multibyte Encoding Support in Nvi"

2011-04-03 Thread Zhihao Yuan
Hi, The whole document in HTML is available at: http://socghop.appspot.com/gsoc/proposal/review/google/gsoc2011/zy/1 The reStructuredText source is available at: https://github.com/lichray/gsoc2011 Thanks to everyone who replied my post before :) -- Zhihao Yuan The best way to predict the

Re: [RFC] Replacing our regex implementation

2011-05-08 Thread Zhihao Yuan
concerned, re2 is good as a re engine in some applications, but may not fit the requirements for a regex in libc. > ___ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe,

Re: [PATCH] build config(8) on GNU systems

2011-07-03 Thread Zhihao Yuan
|| dp->d_name[i + 1] != 'h') >>                       continue; > > Why not simply use strlen() unconditionally? > > -- >  Ed Schouten >  WWW: http://80386.nl/ > -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent

[GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-13 Thread Zhihao Yuan
and run perl/tcl outside. I regard it as feature creep, and I don't like it. Any comments? -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ ___

Fwd: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-14 Thread Zhihao Yuan
Both the guy and me failed to reply to the group. Let me forward it. -- Forwarded message -- From: Zhihao Yuan Date: Thu, Jul 14, 2011 at 3:58 AM Subject: Re: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi To: Sebastian Chmielewski On Thu, Jul 14, 2011 at 3

Re: Fwd: [GSoC]I want to remove everything perl/tcl/gtags in the new nvi

2011-07-14 Thread Zhihao Yuan
M. Collins wrote: > On 7/14/11 1:07 PM, Zhihao Yuan wrote: >> I regards nvi as a trustful editor when you login into other ppl's >> machines. > > Yes - this is the exact use case for Vi in my mind. If I needed features > I'd install vim. Come to think of it, sinc

Re: matlab on Linux, any success stories?

2011-08-03 Thread Zhihao Yuan
__ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org" > -- Zhihao Yuan, nickname lichray The best way to predic

[nvi-iconv]Call for test

2011-08-14 Thread Zhihao Yuan
ait for your testing reports and fix possible bugs. Thank you for giving me the opportunity to participate in GSoC. -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BS

Re: [nvi-iconv]Call for test

2011-08-14 Thread Zhihao Yuan
On Sun, Aug 14, 2011 at 10:39 AM, Zhihao Yuan 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

Re: [nvi-iconv]Call for test

2011-08-17 Thread Zhihao Yuan
16, 2011 at 5:56 PM, Test Rat wrote: > Zhihao Yuan writes: > >> On Sun, Aug 14, 2011 at 10:39 AM, Zhihao Yuan wrote: >>> Hi, hackers: >>> >>> My GSoC2011 project, "Multibyte Encoding Support in Nvi" is ready for >>> testing. The propos

Re: [nvi-iconv]Call for test

2011-08-18 Thread Zhihao Yuan
ew this message in context: > http://freebsd.1045724.n5.nabble.com/nvi-iconv-Call-for-test-tp4698373p4711635.html > Sent from the freebsd-hackers mailing list archive at Nabble.com. > ___ > freebsd-hackers@freebsd.org mailing list > http

Re: [nvi-iconv]Call for test

2011-08-18 Thread Zhihao Yuan
otherwise new directories won't be created. This is documented > in patch(1). And cl_bsd.c ended up in current directory (/usr/src) > >  $ diffstat ~/nvi2-freebsd-2011-08-17.diff.gz | fgrep cl_bsd.c >   contrib/nvi2/cl/cl_bsd.c                |  346 +++ zzz... I always use -p0 b

snd_hda does no output to headphones

2011-08-19 Thread Zhihao Yuan
e must be some people who knows how to configure this here. Please give me some instructions. Thanks. -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4b

Re: snd_hda does no output to headphones

2011-08-19 Thread Zhihao Yuan
On Fri, Aug 19, 2011 at 2:54 PM, Matt wrote: > On 08/19/11 09:15, Zhihao Yuan wrote: >> >> Hi, >> >> I think I must get this problem resolved. I work at night, so without >> the headphones support, I can listen to music or watch video at that >> time.

Re: [nvi-iconv]Call for test

2011-08-21 Thread Zhihao Yuan
have ncurses in -stable and -current. And the SYS5_TTY is enabled, since we support it in -stable and -current. On Thu, Aug 18, 2011 at 10:15 PM, Zhihao Yuan wrote: > On Thu, Aug 18, 2011 at 9:26 PM, Test Rat wrote: >> timp writes: >> >>> Hi! >>> I jus

Re: [nvi-iconv]Call for test

2011-08-23 Thread Zhihao Yuan
On Tue, Aug 23, 2011 at 12:51 PM, Ulrich Spörlein wrote: > On Thu, 2011-08-18 at 22:15:47 -0500, Zhihao Yuan wrote: >> On Thu, Aug 18, 2011 at 9:26 PM, Test Rat wrote: >> > timp writes: >> > >> >> Hi! >> >> I just tried you patch on latest c

Re: [nvi-iconv]Call for test

2011-08-26 Thread Zhihao Yuan
BSD's base system, if it's possible. On Tue, Aug 23, 2011 at 3:33 PM, Zhihao Yuan wrote: > On Tue, Aug 23, 2011 at 12:51 PM, Ulrich Spörlein > wrote: >> On Thu, 2011-08-18 at 22:15:47 -0500, Zhihao Yuan wrote: >>> On Thu, Aug 18, 2011 at 9:26 PM, Test Rat wrote: >

[nvi-iconv]I need some help on testing/code review

2011-10-02 Thread Zhihao Yuan
libc. Which means, not all libc locales work. For example, LC_CTYPE=zh_CN.GBK won't work; use zh_CN.eucCN instead. And I need some help on code review. The code is based on nvi-1.79 and nvi-1.8x (which is used by NetBSD). A committer with some experience on libiconv is preferred. -- Zhihao

[nvi-iconv]I need some help on testing/code review

2011-10-02 Thread Zhihao Yuan
les work. For example, LC_CTYPE=zh_CN.GBK won't work; use zh_CN.eucCN instead. And I need some help on code review. The code is based on nvi-1.79 and nvi-1.8x (which is used by NetBSD). A committer with some experience on libiconv is preferred. -- Zhihao Yuan, nickname lichray The best way t

Re: .eh_frame, .eh_frame_hdr - how to remove that trash

2011-10-20 Thread Zhihao Yuan
nderstand. > > No warranty for any blown-off extremities, though. > > __**_ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**hackers<http://lists.freebsd.org/mailman/listinfo/freebsd-hackers> > To unsubscribe, send any mail

Re: [nvi-iconv]Call for test

2011-10-29 Thread Zhihao Yuan
ngual editing. Affected LC_CTYPE in FreeBSD: ko_KR.CP949, ko_KR.eucKR ja_JP.eucJP zh_CN.GB2312, zh_CN.GBK, zh_CN.eucCN If you any locale above (especially for Japanese, Korean users), please help me test whether the CJK text (in any kind of encodings) are being handled correctly. Thanks. -- Zhihao

To implement RFC 5848 (Signed Syslog Messages)?

2011-12-01 Thread Zhihao Yuan
reebsd Not sure whether his code is accessible or not. -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ ___ freebsd-hackers@freeb

Re: To implement RFC 5848 (Signed Syslog Messages)?

2011-12-02 Thread Zhihao Yuan
2011/12/2 Martin Schütte : > On 12/01/11 10:01, Zhihao Yuan wrote: >> trivial. How about to implement RFC 5848 in our syslogd? > > In 2008 I implemented the syslog RFCs for NetBSD's syslogd, so if you > are interested please take a look at the syslog code in NetBSD-cur

Re: [nvi-iconv]Call for test

2011-12-07 Thread Zhihao Yuan
. 32-bit clean regex. According to the PRs and commit log, I don't have enough confidence in NetBSD's code here. Although the current regex in use is only 24-bit clean, but it works correctly and, my final solution is to use TRE in base directly. Comments and test reports are welcome. -- Zhi

Re: High-res Timers

2012-05-16 Thread Zhihao Yuan
bsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org" -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ _

Interesting facts about AI_ADDRCONFIG

2012-07-14 Thread Zhihao Yuan
27;s much better then what we have in libc. So... What we going to do? -- Zhihao Yuan, nickname lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ ___ freebsd-hackers@free

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Zhihao Yuan
be, send any mail to "freebsd-hackers-unsubscr...@freebsd.org" I definitely agree with this. Sun has a book, "UNIX Essentials featuring the Solaris...", and GUI takes a big part in the book. A default GUI is essential to a modern UNIX. FreeBSD can no longer regard GUI a

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Zhihao Yuan
; Never attribute to malice what can adequately be explained by incompetence. > ___ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Zhihao Yuan
On Mon, Sep 17, 2012 at 11:20 AM, Poul-Henning Kamp wrote: > In message > > , Zhihao Yuan writes: >>On Mon, Sep 17, 2012 at 10:42 AM, Poul-Henning Kamp >>wrote: >>> In message , Lorenzo Cogotti >>> writ >>> es: >>>>Hi, >&g

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Zhihao Yuan
On Mon, Sep 17, 2012 at 11:14 AM, Lars Engels wrote: > On Mon, Sep 17, 2012 at 11:00:21AM -0500, Zhihao Yuan wrote: >> On Mon, Sep 17, 2012 at 10:35 AM, Lorenzo Cogotti >> wrote: >> > Hi, >> > I was wondering about the possibility of FreeBSD to provide an

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Zhihao Yuan
On Mon, Sep 17, 2012 at 11:28 AM, Poul-Henning Kamp wrote: > In message > > , Zhihao Yuan writes: >>On Mon, Sep 17, 2012 at 11:20 AM, Poul-Henning Kamp wrote: > >>> My suggest was 100% serious: Assume X11 _is_ the graphical >>> environment, pick a toolkit w

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Zhihao Yuan
officially supported modern desktop environment is essential to FreeBSD. On Mon, Sep 17, 2012 at 12:06 PM, Mike Meyer wrote: > On Mon, 17 Sep 2012 11:40:33 -0500 > Zhihao Yuan wrote: >> GUI is a concept. People can use WM or DE as their GUIs. X11 is not >> usable from a user&#x

Re: Providing a default graphical environment on FreeBSD

2012-09-17 Thread Zhihao Yuan
On Mon, Sep 17, 2012 at 1:05 PM, Poul-Henning Kamp wrote: > In message > > , Zhihao Yuan writes: > >>Well, let's make it more straightforward. I hope people can agree with >>this: a default, officially supported modern desktop environment is >>essential to

My explanation to "a default DE" (was "Providing a default graphical environment on FreeBSD")

2012-09-17 Thread Zhihao Yuan
${DE}, so that the users can use pkg_add desktop-environment to install ${DE}. 3. Implement the missing modern features, Wifi helpers, auto-mounters, etc., officially. That's all I want, without affecting any non-GUI users' experience, or any other non-${DE} users&#x

Re: My explanation to "a default DE" (was "Providing a default graphical environment on FreeBSD")

2012-09-17 Thread Zhihao Yuan
On Sep 17, 2012 4:04 PM, "Guido Falsi" wrote: > > On 09/17/12 21:13, Zhihao Yuan wrote: >> >> 1. Maximize graphical user experience by officially implementing Wifi >> helpers, auto-mounters; > > > A good automounter definitely does not need a GUI. >

Creative X-Fi Audio Notebook (SB0950) support?

2013-05-25 Thread Zhihao Yuan
e keys found. OSSv4 (including the latest versions in hg) does not work either, -- Zhihao Yuan, ID lichray The best way to predict the future is to invent it. ___ 4BSD -- http://4bsd.biz/ ___ freebsd-hackers@free