Re: [Tn5250j-general] [ tn5250j-Bugs-1161363 ] Slovenian (SVN) support for TN5250j

2005-06-07 Thread Marko Daris
On Mon, 2005-06-06 at 17:54 +0200, Kenneth Pouncey wrote:
 Marko
 
 No problem.  I am leaving soon and we can pick it back up tomorrow.
Busy day today - need to wait for system to become available. 

 
 Now that is going to be interesting to see what the characters are for both 
 ways
 of doing the mapping.
 
 Tomorrow then.
 
 Regards
 
 Kenneth
 
 Quoting Marko Daris [EMAIL PROTECTED]:
 
  On Mon, 2005-06-06 at 17:24 +0200, Kenneth Pouncey wrote:
   Marko
   
   You will need to unzip the file and use the jt400.jar file from the zip
  archive.
   
   java -classpath .:..:path_to_jt400.jar tn5250j.jar
   
   That should do it.
   
   If you received the new .jar file I sent you we may not have to do that
  right
   now.  If it works that is :-)
  With the new version I get both the cp852 AND the Java Toolbox checkbox
  (without using CLASSPATH and jtopen)... I tested both: see attachments.
  All the characters are trash (I can't login either) because in the
  meantime we changed the logon language from Slovenian to English... 
  
  So I need to change the default language back to Slovenian. I'll have to
  ask our IBM guy to help me with that. Please be patient (or if you know
  how to change it...).
  
  Marko
  
   
   Use the new .jar and see if the option shows up.  That might not be there
  in the
   version from the site.  Can not remember as it has been to long.
   
   Kenneth
   
   Quoting Marko Daris [EMAIL PROTECTED]:
   
On Mon, 2005-06-06 at 16:51 +0200, Kenneth Pouncey wrote:
 Marko
 
 Are you also using the jt400 toolbox?  If you are we can test the 
 cp852
  by
using
 that option.
Will need help with this: I just downloaded jtopen_4_7-1.zip from IBM. 
How do I install this? Where must this be installed on Linux or on
AS400? I followed the instructions but had no luck (using CLASSPATH)...


 
 On the properties page you can select the AS/400 Toolbox checkbox and
  it
will
Properties where? The ones from the main tn5250j menu?

 load the code pages from the jt400 packages instead.  At least that
  will
help us
 do a test.
 
 Forgot all about that.
 
 Regards
 
 Kenneth
 
 
 Quoting Marko Daris [EMAIL PROTECTED]:
 
  On Mon, 2005-06-06 at 16:29 +0200, Kenneth Pouncey wrote:
   Marko
   
   Crap. 
   
Recoding is too complex for a mere table
   
   That is a message that is obtained with the newer versions of
  recode. 
I
  had to
   downgrade to 3.5 to generate the tables.  I am assuming you have
  3.6
or
  higher.
Wow now what to do.
  Will try to downgrade recode to 3.5.
  I checked some old machines that SHOULD have old versions - but
  Murphy's
  law is in action...
  
   
   No you can not select those others because I do not have them in
  the
  emulator
   yet.  If you could have sent me a text file from recode then we
  could
have
  put
   it in.
   
   The version you will be testing with will be the one I send you. 
  Will
have
  to
   change the code to implement it, recompile and then send you a new
binary
  to
   test with.
   
   Huu  what to do now?
  Just wait that I get an old version of recode and build it...
  
   
   Anybody else have any success with this?
   
   Regards
   
   Kenneth
   
   Quoting Marko Daris [EMAIL PROTECTED]:
   
On Mon, 2005-06-06 at 15:25 +0200, Kenneth Pouncey wrote:
 Hummm will have to think about this one.  Am pretty sure if I
  put
the
  1250
in
 there it will not work or will have to do a recode of 852.  No
linux
machine
 right now either.
 
 Marko can you do a recode and place the mappings in a text 
 file
  for
me.
  
For
 example:
 
 recode -v -h  cp852  ebcdic852.txt

[EMAIL PROTECTED] markod]$ recode -v -h  cp852
Request: IBM852..ISO-10646-UCS-2..:libiconv:..CHAR
Shrunk to: IBM852..ISO-10646-UCS-2..CHAR
Recoding is too complex for a mere table

 
 you can get a list of these by doing a 'recode -l'.
 
I guess we need: 
IBM852/CR-LF 852/CR-LF CP852/CR-LF pcl2 pclatin2
ISO-8859-2 912/CR-LF CP912/CR-LF csISOLatin2 IBM912/CR-LF
  ISO8859-2
iso-
ir-101 ISO_8859-2 ISO_8859-2:1987 l2 latin2


[EMAIL PROTECTED] markod]$ recode -v -h IBM852
Request: IBM852..ISO-10646-UCS-2..:libiconv:..CHAR
Shrunk to: IBM852..ISO-10646-UCS-2..CHAR
Recoding is too complex for a mere table

[EMAIL PROTECTED] markod]$ recode -v -h ISO-8859-2
Request: ISO-8859-2..:libiconv:..CHAR
Shrunk to: ISO-8859-2..CHAR
Recoding is too complex for a mere

Re: [Tn5250j-general] [ tn5250j-Bugs-1161363 ] Slovenian (SVN) support for TN5250j

2005-06-06 Thread Marko Daris
On Mon, 2005-06-06 at 15:37 +0200, Kenneth Pouncey wrote:
 Also as for the font names, the one that is defined in the fonts list will be
 the one selected on linux.  So if that is the only lucidabrigh-xxx font
 defined in the system fonts then that one will be loaded.
The fonts on Linux are separated by encoding. For example: 
-bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-1
-bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-2
-bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-4
-bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-5
-bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-7
-bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-9

So only the font name is not enough.. I mean I don't know how you get
the list of fonts in Setting-Fonts. If you specify somewhere (some API)
that is it iso8859-2 than those fonts should be ok.

 
 I know a long while back there was a problem with the JDK and loading the
 correct font but that should have been fixed a long time ago for 1.3 
 versions.  
I'm using: 
/usr/java/j2re1.4.2_05/bin/java -jar /usr/local/tn5250j/tn5250j.jar

[EMAIL PROTECTED] markod]$ /usr/java/j2re1.4.2_05/bin/java -version
java version 1.4.2_05
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)

 
 Make sure you are using the international versions of the JRE or JDK as well 
 or
 you will not get the correct font displayed either.  That has been on the 
 list a
 number of times and I always forget about it when someone reports a display
 problem for code pages.
Can you tell from -version above if this is the international one?

Marko


 
 Regards
 
 Kenneth
 
 Quoting Marko Daris [EMAIL PROTECTED]:
 
  On Mon, 2005-06-06 at 13:49 +0200, Kenneth Pouncey wrote:
   Marko
   
   Could you tell me what codepage to use.  The character set as well for
  windows
   would be good as well.
  
  Here's a link from M$: 
  
  http://www.microsoft.com/globaldev/nlsweb/default.asp?submitted=424
  
  The codepage (ANSI) is 1250 (Win). OEM is 852 / LCID 424 (DOS). I don't
  know which value you need - I guess the ANSI is the correct one for
  Windows.
  
  Font (Linux):
  http://nl.ijs.si/gnusl/cee/iso8859-2.html
  
  Should be iso8859-2. Note: is the Right-Click menu Settings / Fonts
  there is no way to select iso8859-2 - only the font name can be
  selected. 
  
  xlsfonts | grep iso9959-2
  
  -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-2
  -bh-lucidabright-demibold-r-normal--0-0-0-0-p-0-iso8859-2
  -bh-lucidabright-medium-i-normal--0-0-0-0-p-0-iso8859-2
  -bh-lucidabright-medium-r-normal--0-0-0-0-p-0-iso8859-2
  ...
  
  Here's another link (look for: Slovenian) that summarizes the different
  codepages per OS: 
  http://www.slovo.info/eurocp.htm
  
  Marko
  
  
   
   Quoting Marko Daris [EMAIL PROTECTED]:
   
Kenneth,

registered with tn5250j-general like you requested... 

regarding Slovenian support for tn5250j:
please let me know how to proceed. 

Marko



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

   
   
   
   
   
   
   ---
   This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
  shotput
   a projector? How fast can you ride your desk chair down the office luge
  track?
   If you want to score the big prize, get to know the little guy.  
   Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
   ___
   Tn5250j-general mailing list
   Tn5250j-general@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/tn5250j-general
  
  
  ---
  This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
  shotput
  a projector? How fast can you ride your desk chair down the office luge
  track?
  If you want to score the big prize, get to know the little guy.  
  Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
  
 
 
 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
 a projector? How fast can you ride your desk chair down