× 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: Hyperlinks in tn5250
  • From: Jason Felice <jfelice@xxxxxxxxxxxx>
  • Date: Mon, 09 Oct 2000 09:42:46 -0400
  • Organization: Cronosys, LLC

Martin Rowe wrote:
> 
> Hi all
> 
> I recently replied to a comp.sys.ibm.as400.misc posting about clicking on a 
>url on a 5250 screen and having it launch the browser. Client Access handles 
>this, and it makes a handy way to link graphics & scanned documents to 
>straight text on the screen. Is this sort of thing possible to implement into 
>tn5250 (or
> gnome-5250)?

If you want to try running tn5250 in a gnome-terminal, you'll notice
that gnome-terminal
automagically recognizes and makes clickable hyperlinks.  You can
Ctrl+click them to open
a browser (or the equivalent program for that type of link).  (NOTE:
This feature was an
addition for gnome 1.2, I think.)

This would probably require some mucking with termcap to make it work.

I'm not familiar enough with the gnome URL functions to implement this
in gnome-5250, and I
unfortunately still do not have enough time to work on it *sigh*

> 
> On a slightly related note - is it possible to trigger a command to run on a 
>linux box from a tn5250 screen? I've used RUNRMTCMD in the past, but that 
>requires Client Access. I was wondering about monitoring a folder for a 
>particular file (FTP'd across or via NFS) and running a command on arrival. Is 
>there a better, more secure way of doing this? The AS/400 FTP server has the 
>SYSCMD command to issue a CL command, but I'm not aware of a Linux equivalent.

The equivalent on Linux/*NIX is SITE EXEC, but some ftp servers disable
it, and most ftp
servers don't allow it by default - you'll have to look at the docs for
whatever ftp server
you have installed (usually wu-ftpd).

The better way to do this, though, is by using the AS/400's REXEC
command - I've never
actually tried it, but this is the tried-and-true 'NIX way to execute
commands on remote
machines.  You'll have to configure the Linux box to allow remote
commands from that
particular address.

> 
> Regards, Martin
> 
> ==
> martin@dbg400.net / jamaro@firstlinux.net
> http://www.dbg400.net - Free AS/400 software for setting up test 
>environments. Other utilities available.
> 
> _____________________________________________________________
> Want a new web-based email account ? ---> http://www.firstlinux.net

Good luck,
-Jason M. 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 ...

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.