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 base system. My proposal is slightly different:

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

2011-03-23 Thread Gary Kline
On Wed, Mar 23, 2011 at 12:39:44AM -0500, Zhihao Yuan wrote: > 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 base system. My proposal is slightly different: > I want to fork

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

2011-03-23 Thread Bernd Walter
On Wed, Mar 23, 2011 at 12:39:44AM -0500, Zhihao Yuan wrote: > 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 base system. My proposal is slightly different: > I want to fork

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

2011-03-23 Thread Alexey Shuvaev
On Wed, Mar 23, 2011 at 12:39:44AM -0500, Zhihao Yuan wrote: > 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 base system. My proposal is slightly different: > I want to fork

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

2011-03-23 Thread Pan Tsu
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 base system. My proposal is slightly different: > I want to fork nvi and make it iconv-awared (or mbyte-m

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

2011-03-23 Thread Matthias Andree
Am 23.03.2011 10:13, schrieb Alexey Shuvaev: > On Wed, Mar 23, 2011 at 12:39:44AM -0500, Zhihao Yuan wrote: >> 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 base system. M

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

2011-03-23 Thread Alexey Shuvaev
On Wed, Mar 23, 2011 at 02:38:20PM +0100, Matthias Andree wrote: > Am 23.03.2011 10:13, schrieb Alexey Shuvaev: > > On Wed, Mar 23, 2011 at 12:39:44AM -0500, Zhihao Yuan wrote: > >> Hi, > >> > >> I'm a Computer Science student at Northern Illinois University, and I > >> used FreeBSD for a long time

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

2011-03-23 Thread Matthias Andree
Am 23.03.2011 16:06, schrieb Alexey Shuvaev: > Yes, nvi-devel is not developed any more, but I was saying that nvi > in base is even older than nvi-devel, and it is worth looking at > it. At least for the iconv support. As for the BDB, maybe strip it just > out, if possible? I don't believe it's

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

2011-03-23 Thread Pan Tsu
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. nvi also lacks some features, e.g. lisp, modelines, sourceany. ex-vi is more lightweight # both built with DEBUG

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. > > nvi also lacks some features, e.g. lisp, modelines, so

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

2011-03-23 Thread Arnaud Lacombe
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 administrators (who opens 100 >>> ssh sessions) agree with that to replace the nvi in base system with >>> this one. >> >

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 administrators (who opens 100 ssh sessions) agree wi

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

2011-03-23 Thread Arnaud Lacombe
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, > in their base systems. A vim.tiny contains much more features compared > with nvi, but it's not c

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, >> in their base systems. A vim.tiny

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

2011-03-23 Thread Kurt Lidl
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: > >> Among *all* the GNU/Linux distributions I used, they include a vim > >> compiled in tiny mode (ln -s it to

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

2011-03-23 Thread Pan Tsu
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 ex-vi. ex-vi memory usage can be reduced a bit, e.g. by ~20% if you drop -DLISPCOD

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 ex-vi. > > ex-vi memory usage