Re: Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-15 Thread Michael Knudsen
On Mon, Nov 14, 2011 at 02:24:15PM +, Christian Weisgerber wrote: > > I'm running nvi in tmux with -u, ksh and the following LC_* settings: > [...] > > LC_TIME=en_DK.UTF-8 > > English as spoken in Denmark, really? That locale doesn't exit. This is something you really don't want to listen to

Re: Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-14 Thread Simon Kuhnle
On Mon, Nov 14, 2011 at 02:24:15PM +, Christian Weisgerber wrote: > > I'm running nvi in tmux with -u, ksh and the following LC_* settings: > [...] > > LC_TIME=en_DK.UTF-8 > > English as spoken in Denmark, really? That locale doesn't exit. > (Not that it would matter for nvi.) I just had to

Re: Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-14 Thread Christian Weisgerber
Simon Kuhnle wrote: > > > http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt > > > > Actually, I get a warning "Invalid input. Truncated." > > Really? Oops, my bad. I had some ISO Latin 1 cruft left in my ~/.exrc. nvi's error/warning is perfectly correct. -- Christian "naddy" Weisge

Re: Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-14 Thread Christian Weisgerber
Simon Kuhnle wrote: > > > http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt > > > looks good in it, too. > > > > Actually, I get a warning "Invalid input. Truncated." > > Really? Yep. Just LANG=en_US.UTF-8 here. > I'm running nvi in tmux with -u, ksh and the following LC_* settings:

Re: Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-14 Thread Simon Kuhnle
On Mon, Nov 14, 2011 at 01:07:21PM +, Christian Weisgerber wrote: > Simon Kuhnle wrote: > > > I just built it on sparc64. > > > > Opened and edited a few files. > > > > http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt > > looks good in it, too. > > Actually, I get a warning "Inva

Re: Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-14 Thread Christian Weisgerber
Simon Kuhnle wrote: > I just built it on sparc64. > > Opened and edited a few files. > > http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt > looks good in it, too. Actually, I get a warning "Invalid input. Truncated." > One problem is, that 'undo' (hitting 'u') leads to SIGBUS. That

Re: Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-13 Thread Simon Kuhnle
On Sun, Nov 13, 2011 at 12:14:18PM +0100, Christian Weisgerber wrote: > nvi2 is a Google Summer of Code project by Zhihao Yuan for FreeBSD > that "keeps the behaviors and the license of nvi-1.79 in the base > system and adopts the multibyte encoding support from nvi-1.8x." > > This will be a poten

Experimental: editors/nvi 2.0.1 (UTF-8 vi)

2011-11-13 Thread Christian Weisgerber
nvi2 is a Google Summer of Code project by Zhihao Yuan for FreeBSD that "keeps the behaviors and the license of nvi-1.79 in the base system and adopts the multibyte encoding support from nvi-1.8x." This will be a potential path for adding multibyte support to our base vi as well. I've attached a