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
>
> ==
> [EMAIL PROTECTED] / [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
| To subscribe to this list send email to [EMAIL PROTECTED]
| To unsubscribe from this list send email to [EMAIL PROTECTED]
| Questions should be directed to the list owner/operator: [EMAIL PROTECTED]
+---