× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Setting up tn5250
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Fri, 18 Aug 2000 16:09:37 -0500 (CDT)



Hi Chris,


On Fri, 18 Aug 2000, Chris Whisonant wrote:

> Thank you Scott!  I'm definitely making some progress, but I have a couple of
> more questions to expect from a newbie..
> 
> Is the configuration file you're talking about "tn5250-config"?  If so, where
> do I put the following?

No, "tn5250-config" is not a configuration file.  Rather, it can be used
to determine which libraries are required to link programs to the tn5250
shared libraries.   Similar in nature to "glib-config"

The configuration file that I'm referring to is ~/.tn5250rc  Which is
used for storing tn5250 configuration.  Though, I don't remember what
version of tn5250 it first appeared in?   (0.15.9?)

If you're using an older version (did you say 15.8?) then you need to 
do it from the command line.

type "tn5250" at the command prompt (by itself) and see what options it
lists.  If the options are things like -m for map, and -s for session,
then you're using the old-style setup.   if you've got things like
"map=" or "env.DEVNAME=" then you're using a newer one.

> 
> This is what I type in my terminal window, right?
> > 
> > then type:
> > xt5250 conn1 &
> > xt5250 conn2 &
> > xt5250 conn3 &

That would be for the new-style config options.   For the old style, you'd 
do it like this:

xt5250 -s dsp01 as400-1.mydomain.com &
xt5250 -s dsp02 as400.somewhereelse.org &
xt5250 -s dsp44 192.168.0.11 &
(etc)

> 
> I sort of randomly put in the part about conn1{.....} in the
> tn5250-config file and it will just bring up a blank screen.  I still
> have the defaule xt5250 script file that looks for host, and then will
> prompt for one if not found.  Do I need to edit this to use the
> "conn1"?
> 
> Thanks,
> Chris Whisonant
> 

No... you don't need to change xt5250 to choose which host to connect to.

I just have no concept of when Mr. Felice introduced the new-style config
options :)  I'm so used to them, that I just about forgot about the old
way of doing it.

There have been a lot of bug fixes since 0.15.8, it may be worth your
while to upgrade.


+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.