[GSoC] About the idea: Unicode support in vi

2011-03-23 Thread Zhihao Yuan
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-mode tunable, like tcsh), so that

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 iny...@gmail.com wrote: Zhihao Yuan lich...@gmail.com 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

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 nvi

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 nvi

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 nvi

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

2011-03-23 Thread Pan Tsu
Zhihao Yuan lich...@gmail.com 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

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. My proposal

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. I'm

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 lich...@gmail.com 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

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 iny...@gmail.com wrote: Zhihao Yuan lich...@gmail.com 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.

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 lich...@gmail.com wrote: On Wed, Mar 23, 2011 at 11:05 AM, Pan Tsu iny...@gmail.com wrote: Zhihao Yuan lich...@gmail.com writes: I'm not sure whether the FreeBSD system administrators (who opens 100 ssh sessions) agree with that to replace the

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 lacom...@gmail.com wrote: Hi, On Wed, Mar 23, 2011 at 4:36 PM, Zhihao Yuan lich...@gmail.com wrote: On Wed, Mar 23, 2011 at 11:05 AM, Pan Tsu iny...@gmail.com wrote: Zhihao Yuan lich...@gmail.com writes: I'm not sure whether the FreeBSD system

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 lich...@gmail.com 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,

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 lacom...@gmail.com wrote: Hi, On Wed, Mar 23, 2011 at 7:32 PM, Zhihao Yuan lich...@gmail.com 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

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 lacom...@gmail.com wrote: Hi, On Wed, Mar 23, 2011 at 7:32 PM, Zhihao Yuan lich...@gmail.com wrote: Among *all* the GNU/Linux distributions I used, they include a vim compiled in

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

2011-03-23 Thread Pan Tsu
Zhihao Yuan lich...@gmail.com 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