Re: Ubuntu 9.04 and Spanish tildes
Ernesto Silva <[email protected]>
| Newsgroups | gmane.comp.emulators.tn5250 |
|---|---|
| Organization | CES- Consejo de Educación Secundaria |
| Message-ID | <[email protected]> |
Hi Carey Evans. A co-worker gave me yesterday some tips and we wrote the following script wich actually works fine: --------------------------------------------------------------- #!/bin/bash SERVER=as400.mycompany.com MAP=284 FONT=-adobe-courier-bold-r-normal-*-18-*-*-*-*-*-iso8859-1 LANG=es_ES.ISO-8859-1 XTERM=/usr/bin/xterm TN5250=/usr/bin/tn5250 $XTERM -fn $FONT -e "$TN5250 map=$MAP $SERVER" --------------------------------------------------------------- The FONT variable is to use a bigger font in the Xterm. Best regards to you and the list users, Ernesto. Carey Evans escribió: > On 23/12/2009 12:11, Ernesto Silva wrote: >> We have an AS/400 server and I want to use tn5250 to connect to it and >> the text displayed by the terminal is in spanish (I'm in Uruguay - >> South America) but the tn5250 emulator doesn't show me the correct >> characters like ñ, á, é, í, ó, ú. >> >> I've tried various combinations of the map parameter but nothing seems >> to work. > > Hi Ernesto. > > Have a look at the thread at > http://thread.gmane.org/gmane.comp.emulators.tn5250/1175. It seems to be > related. In particular, xt5250 should be started in an ISO-8859-1 locale. > > It may also be possible to put: > > xt5250.VT100*locale: false > > in the XTerm file, if it's UTF-8 support in xterm that is causing the > problems. > -- This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.