Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Latest CVS + ZLE_UNICODE_SUPPORT on RHEL3



Andrey Borzenkov wrote:
> attached patch makes it so far as being able to start zsh -f and really input
> something. The relevant parts are actually selfinsert (wchar_t != wint_t) and
> zlelineasstring (length was computed incorrectly and final NULL metafied). 
> Everything else is just part of yesterday's futile attempts :)

Great, thanks.

> Oh, and for some reasons mbrtowc(&outchar, &cnull, 1, &ps) segfaulted on me 
> (Mandrake cooker).

Hmmm... that was the only way I could see to ensure the shift state was
initialised.  The documentation suggested ps was otherwise assumed to be
valid, which it can't be for the first character.  However, I may be
missing the intention.

> I can't commit it as for some reason ssh access to CVS hangs. 

Same for me at the moment, but I'll commit it if I get there first.
If you do, could you change the C++ comment to a C comment (we need
to support original ISO C)?

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author