× 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: thinknic
  • From: "Jason M. Felice" <jfelice@xxxxxxxxxxxx>
  • Date: Thu, 18 Jan 2001 16:42:27 -0500
  • User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-5.0 i686; en-US; m18) Gecko/20010114

Moravia wrote:

> I've started modifying the filesystem from the iso image at
> thinknic.com.  I may try to burn a CD tonight or tomorrow to see how it
> goes.
> 
> I'm thinking that the best way to do it is to either merge all data from
> /etc/flashupgrade.tar to /etc/flash.tar and create a new
> /etc/flashupgrade.tar OR just add my new info to /etc/flashupgrade.tar.
> Either way, for the scripts alreay present to process my files, I think
> I need to increase the version number on the CD.
> 
> I added the binary for xterm and the library that was not already on the
> cd.  I added my tn5250 binary, the XTerm file (actually, everything from
> /usr/local/share/tn5250/).
> 
> I'm a little stuck on where to put the .tn5250rc though.  I'm guessing
> I can add it to the flashupgrade.tar in the web subdirectory.

Hmm, I don't know where the home directories are, but tn5250 also reads
/etc/tn5250rc if it exists.  This seems to be the right place for any 
configuration
on the nic.  Configuration that shouldn't change, anyway.  I don't know 
about
the flash.

> 
> 
> When running xt5250 without parms, a dialog is displayed asking for host
> or IP.  I know from testing that I can enter a name from my .tn5250rc
> and it will work.  Does it pick up any settings if I haven't specified a
> hostname in .tn5250rc?  (Meaning I always want a particular display
> type, but someone else's AS/400 is going to have a different
> IP address.  I could hardcode mine, but there should be a better way.)

Just add the settings to the tn5250rc file, e.g.

# my rc file
env.TERM=IBM-xxxx
-underscores

And those will get picked up every time unless overrided on the command 
line.

> 
> 
> Is there existing software to maintain the .tn5250rc file?  Perhaps that
> could be added to the cd since the file will be on flash.

Nope.  The gtk/gnome terminal emulator (far from complete) has partial 
dialogs
for editing configuration and reading/writing it, but it doesn't yet work.

> I've been browsing the cd all day and think this might work.  Just
> looking for some insight to do it a "better" way than what I'll come up
> with.  (I'm a "make it work" person and don't think in perspective of
> "do it right")
> 
> I'll post my results as I get them.
> 
Please do.  Is python on that CD?  Is there enough room for it?  If 
there's enough
room for python and pygtk, I'll see if I can refine some of that stuff 
and make
the gui emulator work.

-Jay 'Eraserhead' Felice

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

Follow-Ups:
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.