On Friday 28 February 2003 8:22 pm, MWalter@xxxxxxxxxxxxxxx wrote:
> Just loaded up my first Linux workstation. Using Slackware 8.1 w/ KDE
> 3.0. Downloaded tn5250 (0.16.5)  from sourceforge.net and installed it.
> If I issue from terminal: tn5250 env.DEVNAME='LINUX01' 192.168.0.2.
> Everything works fine. However when I try to create a desktop link to
> this application, it will try to initialize then just quit. If I tell
> the 'shortcut' (I'm a windows guy) to run in  terminal, it tries to
> start a terminal session then just quits. Here is the string I'm using:
> '/usr/local/bin/tn5250' env.DEVNAME='LINUX01' 192.168.0.2

Hi Mark

As James pointed out, try it with xt5250 instead. That will fire up an 
xterm running tn5250 for you. You might like to create/update the 
.tn5250rc file in your home directory to include your settings. That way 
you can give a set of settings a name and just use 'xt5250 name' in your 
desktop icon. My ~/.tn5250 is along these lines:

DEV1 {
 host = 172.16.0.2
 map = 285
 env.TERM = IBM-3477-FC
 env.DEVNAME = MROWELINUX
 font_80 = 9x15
 font_132 = 8x13
}
LIV1 {
 host = 172.16.0.1
 map = 285
 env.TERM = IBM-3477-FC
 env.DEVNAME = MROWELINUX
 font_80 = 9x15
 font_132 = 8x13
}

so I just need to type this to launch it

mrowe@xxxxx:~$ xt5250 DEV1 

If you're creating a link, there's no need to specify use a terminal, just 
run it as is.

Regards, Martin
-- 
martin@xxxxxxxxxx  AIM/Gaim: DBG400dotNet  http://www.dbg400.net   /"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open    \ /
Source free test environment tools and others (file/spool/misc)     X
Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news  / \


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].