On Friday 28 February 2003 8:22 pm, [EMAIL PROTECTED] 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

[EMAIL PROTECTED]:~$ xt5250 DEV1 

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

Regards, Martin
-- 
[EMAIL PROTECTED]  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 is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Reply via email to