zsh-workers
 help / color / mirror / code / Atom feed
* Multibyte cursors in zsh
@ 2000-12-25  0:03 Michael C . Wu
  2000-12-27 20:13 ` Clint Adams
  0 siblings, 1 reply; 2+ messages in thread
From: Michael C . Wu @ 2000-12-25  0:03 UTC (permalink / raw)
  To: zsh-workers

Regarding multibyte character support, here is a feature suggestion:            
Say we have two-byte characters (commonly used in Chinese/Japanese/             
Korean) AA, BB, XX, and YY                                                      
                                                                                
The correct behavior when I have the following text:                            
                                                                                
AABBXXYY<cursor>                                                                
and I push "backspace" once                                                     
The result would be:                                                            
AABBXX                                                                          
                                                                                
But zsh does this:                                                             
AABBXXY                                                                         
                                                                                
And we have to push the delete button again, same incorrect behavior            
happens with arrow keys, ^W and etc.                                            
                                                                                
Basically, zsh needs to be taught about multibyte characters.                  
Would you mind modifying zsh behavior to respect an environmental              
shell variable that toggles this as well as the functionality?                  
                                                                                
Merry Christmas and thanks,                                                     

-- 
+------------------------------------------------------------------+
| keichii@peorth.iteration.net         | keichii@bsdconspiracy.net |
| http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. |
+------------------------------------------------------------------+


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Multibyte cursors in zsh
  2000-12-25  0:03 Multibyte cursors in zsh Michael C . Wu
@ 2000-12-27 20:13 ` Clint Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Clint Adams @ 2000-12-27 20:13 UTC (permalink / raw)
  To: Michael C . Wu; +Cc: zsh-workers

> Basically, zsh needs to be taught about multibyte characters.                  
> Would you mind modifying zsh behavior to respect an environmental              
> shell variable that toggles this as well as the functionality?                  

That variable is likely to be LC_CTYPE, and handled through standard
locale support.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-12-27 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-25  0:03 Multibyte cursors in zsh Michael C . Wu
2000-12-27 20:13 ` Clint Adams

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).