Re: Can you help???

Matt Weiss <mweiss-2Q/[email protected]> Tue, 21 Jun 2011 09:46:53 -0500
Newsgroups gmane.comp.emulators.tn5250
Message-ID <[email protected]>
It may be an un-popular answer, but I have had tremendous success just 
installing the windows version of tn5250 under wine and running it that 
way, it is re-sizable and you can maximize it.  I usually use 
dejavu-sans-mono font and all is well in the world.

I put tn5250.exe and lib5250.dll and tn5250rc in
~/.wine/drive_c/tn5250

This is my rc file when I do that

map=37
font_80=DejaVu Sans Mono
font_132=DejaVu Sans Mono
+resize_fonts
+enhanced
+local_print_key
+pc_backspace
+unix_like_copy
colsep_style=none

SESSION1 {
env.DEVNAME=WHATEVER
env.TERM = IBM-3477-FC
host = IPADDRESS
}


Then I add
/usr/local/bin/l_tn5250  and point my shortcuts to it

in that file is:
#!/bin/bash
if ! [ -d ~/.wine/drive_c/tn5250 ]; then
mkdir -p ~/.wine/drive_c/tn5250
fi

cd ~/.wine/drive_c/tn5250

if ! [ -f fontfix.reg ]; then
cat >> fontfix.reg <<'AA'
REGEDIT4

[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
"FontSmoothingOrientation"=dword:00000001
"FontSmoothingType"=dword:00000002
"FontSmoothingGamma"=dword:00000578
AA
wineboot -i 2> /dev/null
wine regedit fontfix.reg 2> /dev/null
fi

wine start /max tn5250.exe SESSION1 2> /dev/null


On 6/21/2011 9:27 AM, John Aldrich wrote:
> All I really want is a big, full-screen (or nearly so) window for the AS/400 client. The default size is unreadable unless you've got a 12" monitor!!

-- 
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.