"ksh"/"bash" with wide-char support ?

"ksh"/"bash" with wide-char support ?

Post by Roland Main » Sat, 29 Apr 2000 04:00:00



Hi !

----

Are there any versions of ksh/bash with build-in wide-char support ?

----

Bye,
Roland

--
  __ .  . __


  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359

 
 
 

"ksh"/"bash" with wide-char support ?

Post by Elias Martenso » Sat, 29 Apr 2000 04:00:00



> Are there any versions of ksh/bash with build-in wide-char support ?

Can you explain what problem you have in ksh wrt multi-byte support?
Bash seems to have problems though.

--
Elias Martenson
elias.martenson (atsign) sweden.sun.com

 
 
 

"ksh"/"bash" with wide-char support ?

Post by Roland Main » Sat, 29 Apr 2000 04:00:00



> > Are there any versions of ksh/bash with build-in wide-char support ?

> Can you explain what problem you have in ksh wrt multi-byte support?
> Bash seems to have problems though.

(I posted this already in the "*Perl 5.6*"-thread...)
-- snip --
Test this (Solaris 2.7/MU4):
1. Login into CDE with en_US.UTF-8 as locale
2. Open a dtterm
3. Start ksh
4. Open Netscape, browse to http://www.yahoo.co.jp/
5. Select some of the funny chars there, copy them to dtterm
6. Try to remove _one_ of the funny chars in the middle of the string
Result: The character position gets corrupted, "echo" on the string
produces cryptic chars ;-(
-- snip --

----

Bye,
Roland

--
  __ .  . __


  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359

 
 
 

"ksh"/"bash" with wide-char support ?

Post by Roland Main » Sun, 30 Apr 2000 04:00:00



> > > Are there any versions of ksh/bash with build-in wide-char support ?

> > Can you explain what problem you have in ksh wrt multi-byte support?
> > Bash seems to have problems though.

> (I posted this already in the "*Perl 5.6*"-thread...)
> -- snip --
> Test this (Solaris 2.7/MU4):
> 1. Login into CDE with en_US.UTF-8 as locale
> 2. Open a dtterm
> 3. Start ksh
> 4. Open Netscape, browse to http://www.yahoo.co.jp/
> 5. Select some of the funny chars there, copy them to dtterm
> 6. Try to remove _one_ of the funny chars in the middle of the string
> Result: The character position gets corrupted, "echo" on the string
> produces cryptic chars ;-(
> -- snip --

Sorry for the rant... it seems to work :-)
/etc/profile was broken ("khs" instead of "ksh" - the complete ksh-specific
setup was NOP which itself was hidden by my user's ~/.kshrc (I don't have a
~/.kshrc myself because I'm using bash2...)).
But bash2 and dtksh don't work ;-(

----

Bye,
Roland

--
  __ .  . __


  /O /==\ O\  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
 (;O/ \/ \O;) TEL +49 641 99-13193 FAX +49 641 99-41359