Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!newsxfer.itd.umich.edu!newsxfer3.itd.umich.edu!howland.erols.net!usenet.kornet.nm.kr!xfer.kren.nm.kr!snunews.snu.ac.kr!not-for-mail From: Choi Jun Ho <junker@jazz.snu.ac.kr> Newsgroups: comp.unix.bsd.freebsd.misc Subject: 2-byte cursor movement in vi in EUC locales? Date: 11 Mar 1997 08:55:41 GMT Organization: Seoul National University, Republic of Korea Lines: 23 Message-ID: <5g36md$tvi$1@snunews.snu.ac.kr> NNTP-Posting-Host: jazz.snu.ac.kr Keywords: euc,locale,vi X-Newsreader: TIN [UNIX 1.3 unoff BETA 970212; alpha OSF1 V3.2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36869 Hello, FreeBSD people, In some of asian locale environment, EUC-KR and EUC-JP or such, I want to know whether 2-byte cursor movement is supported in vi or not. Just some example: # LANG=ko_KR vi (in 2.2-GAMMA) # LANG=ja_JP vi (in most env.) If I write some sentence and move cursor to edit this, it moves only 1-byte boundary, not 2-byte boundary of our char. Is 2-byte cursor movement(I think it is up to vi for understanding EUC locales and supporting this) supported in vi in EUC locale environment? or not, someone tell me what is problem and whether someone tried to do so or not... -- --------------------------------------------------------------^^--- Judgement Uninfected Naked Kind & Executive Ranger - J U N K E R from KONAMI 1990 "SD-Snatcher" in MSX2 Choi Jun Ho <junker@jazz.snu.ac.kr> http://jazz.snu.ac.kr/~junker Distributed Computing System Lab, CS Dept., Seoul National Univ.