Re: [dev] st utf8 printing

2012-04-14 Thread Bjartur Thorlacius
On 4/13/12, Connor Lane Smith wrote: > vim *is* a GUI. It's not a line editor, is it? libcurses is a GUI > toolkit too, it just happens to abstract over the hack that is ANSI > escapes. > The curses version is a TUI; it uses characters rather than arbitrary icons or drawing graphics.

Re: [dev] fix numlock bug

2012-04-14 Thread Bjartur Thorlacius
On 4/13/12, Nikolay G. Petrov wrote: > When my "numlock" is active, I can't switching under different workspace > or start the terminal,or by press on mouse button, nothings works! When > I switch off "numlock", all is ok. > Where in source code I can fix that? > Try stepping through updatenumlock

Re: [dev] st utf8 printing

2012-04-14 Thread Connor Lane Smith
On 14 April 2012 16:12, Bjartur Thorlacius wrote: > The curses version is a TUI; it uses characters rather than arbitrary > icons or drawing graphics. So do other vim GUIs. It's a text editor. Looking at my vim I just see a lot of text. Text which I edit. But that aside, the distinction between

[dev] Lightweight UTF-8 library

2012-04-14 Thread Connor Lane Smith
Hey all, I've written a UTF-8 library based on Plan 9's libutf API, with a bunch of improvements [1]. I've tested it on various correct and incorrect inputs and it seems to be 100% Unicode compliant (unlike Plan 9), but if anyone finds any bugs please tell me. Might this be useful to have on hg.

Re: [dev] Lightweight UTF-8 library

2012-04-14 Thread Nick
Looks quite spiffy. One question: is a rune the same as a glyph? Or a codepoint? Or what? Also, a bit of documentation would be nice, just a sentence saying what each function does, plus an example of its use. I know it isn't complicated to work out from the function names, but it's still nice

Re: [dev] Lightweight UTF-8 library

2012-04-14 Thread Robert Ransom
On 2012-04-14, Nick wrote: > One question: is a rune the same as a glyph? Or a codepoint? Or > what? ‘rune’ == ‘Unicode code point’ > Also, a bit of documentation would be nice, just a sentence saying > what each function does, plus an example of its use. I know it isn't > complicated to work o

Re: [dev] Lightweight UTF-8 library

2012-04-14 Thread Connor Lane Smith
On 14 April 2012 19:24, Nick wrote: > Also, a bit of documentation would be nice, just a sentence saying > what each function does, plus an example of its use. I know it isn't > complicated to work out from the function names, but it's still nice > to have around. The functions have descriptive c

Re: [dev] fix numlock bug

2012-04-14 Thread Nikolay G. Petrov
14.04.2012 19:20, Bjartur Thorlacius написал: On 4/13/12, Nikolay G. Petrov wrote: When my "numlock" is active, I can't switching under different workspace or start the terminal,or by press on mouse button, nothings works! When I switch off "numlock", all is ok. Where in source code I can fix t