* Marc Lehmann <[email protected]> [31/12/12 12:04]: > On Mon, Dec 31, 2012 at 11:59:49AM +0200, Moshe Kamensky > <[email protected]> wrote: > > to type them on the command line, they are printed with their unicode > > code in angle bracket, like this: > > This is the wrong list for that, as urxvt simply displays what > applications tell it to, so you need to find out which application you are > using (e.g. bash or another shell) and ask them. > > > Each <202a> is still just one character when I move the cursor, but when > > I try to detect it with Ctrl-Shift and left-mouse, it is detected as 6 > > separate characters. > > Because it is 6 separate characters - the terminal does not do cursor > movements in response to keypresses. > > > Can someone explain what is going on? What I would optimally like to > > happen is that these characters are displayed (in vim) as just one > > Ah, so it's vim - then you need to ask the vim maintainer or in a vim > forum about this.
Thank you. I'm still confused, though; urxvt does know, in some sense, that this is one character, rather than 6. For example, when I access the line from a perl extension, using ROW_t, I get just one character. I thought that once urxvt knows what character is there, vim would no longer be involved in displaying it. > > As for the urxvt side of things, urxvt does not support bidi text layout > at the moment, so even if vim can be taught to emit these unicode codes > properly, urxvt will not display them. > > Either your applciation (vim) does bidi on it's own, or you cna try to use > a bidi plugin for urxvt (there is at least one, I don't know how good it > is). Yes, that is what I'm using, a perl extension that applies the bidi algorithm. Thanks, Moshe > _______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
