Scott Klement | 1 Dec 2006 19:28
Favicon

RFC 4777 on IBM's iSeries Telnet Enhancements (fwd)


---------- Forwarded message ----------
Date: Fri, 01 Dec 2006 12:04:42 -0600
From: Jeff Stevens <jstevens@...>
Reply-To: Midrange Systems Technical Discussion <midrange-l@...>
To: midrange-l@...
Newsgroups: midrange.midrange-l
Subject: RFC 4777 on IBM's iSeries Telnet Enhancements

A new Request for Comments is now available in online RFC libraries.

         RFC 4777

         Title:      IBM's iSeries Telnet Enhancements
         Author:     T. Murphy Jr., P. Rieth,
                     J. Stevens
         Status:     Informational
         Date:       November 2006
         Mailbox:    murphyte@...,
                     rieth@...,
                     jssteven@...
         Pages:      47
         Characters: 104243
         Obsoletes:  RFC2877
         See-Also:

         I-D Tag:    draft-murphy-iser-telnet-04.txt

         URL:        http://www.rfc-editor.org/rfc/rfc4777.txt

(Continue reading)

Matt Weiss | 18 Dec 2006 20:40

Re: tn5250 on Windows

Hello,

There is a tn5250 client for windows.  You can download it here

http://downloads.sourceforge.net/tn5250/tn5250-0.17.3-setup.exe

or by going to  tn5250.sourceforge.net.

You can edit a tn5250rc file to adjust your keymaps, security, fonts, etc..

Hope that helps, there is a manual included in the download.

-Matt
USA

linux5250-request@... wrote:
> Send LINUX5250 mailing list submissions to
> 	linux5250@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.midrange.com/mailman/listinfo/linux5250
> or, via email, send a message with subject or body 'help' to
> 	linux5250-request@...
>
> You can reach the person managing the list at
> 	linux5250-owner@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of LINUX5250 digest..."
>
(Continue reading)

James Rich | 18 Dec 2006 20:47

Re: Sorry to ask a solution for using tn5250 under windows 2000/XP

On Mon, 18 Dec 2006, Olivier Litzler wrote:

> We are using a remote tn5250 in a konsole after having been
> connected with ssh to a local linux machine in our office.
> It's working both side under linux in a konsole(KDE software)
> We want to have a way to connect with a PC under windows
> without using a huge installation of cygwin !
> Cygwin works, but we never succeed in changing the size of the fonts.
> Do you have a solution to connect to a linux konsole under
> windows, so that we can then use the remote tn5250 to access
> our iseries wih maximal security and with all the good
> key mapping for france ?

It sounds to me like you are looking for an X11 server for windows so you 
can display the konsole window on your MS Windows desktop.  Am I right? 
If so, there are several X11 servers for Windows available.  You could 
also use VNC.  Google should give you good results.

James Rich

It's not the software that's free; it's you.
 	- billyskank on Groklaw
--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.
(Continue reading)

Olivier Litzler | 18 Dec 2006 16:39

Sorry to ask a solution for using tn5250 under windows 2000/XP

Hi,

We are using a remote tn5250 in a konsole after having been
connected with ssh to a local linux machine in our office.
 It's working both side under linux in a konsole(KDE software)
We want to have a way to connect with a PC under windows
 without using a huge installation of cygwin !
Cygwin works, but we never succeed in changing the size of the fonts.
Do you have a solution to connect to a linux konsole under
windows, so that we can then use the remote tn5250 to access
our iseries wih maximal security and with all the good
key mapping for france ?

Thanks in advance

Olivier LITZLER
France

--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Jack Woehr | 20 Dec 2006 18:32
Picon

sslstream.c:715: error: `FIONBIO' undeclared (first use in this function)

Did a search of the archives on midrange.com and didn't find this one
but it sounds familiar. I apologize if I am tedious-ing up the list with 
a FAQ :(

Building on Open Solaris:

    bash-3.00$ uname -a
    SunOS simandl 5.11 snv_50 i86pc i386 i86pc Solaris
    bash-3.00$ head -39 config.log
    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    It was created by tn5250 configure 0.17.4, which was
    generated by GNU Autoconf 2.61.  Invocation command line was

      $ ./configure

    ## --------- ##
    ## Platform. ##
    ## --------- ##

    hostname = simandl
    uname -m = i86pc
    uname -r = 5.11
    uname -s = SunOS
    uname -v = snv_50

    /usr/bin/uname -p = i386
    /bin/uname -X     = System = SunOS
    Node = simandl
(Continue reading)

Scott Klement | 20 Dec 2006 19:01
Favicon

Re: sslstream.c:715: error: `FIONBIO' undeclared (first use in this function)

Hi Jack,

>    sslstream.c:715: error: `FIONBIO' undeclared (first use in this
>    function)

Did you also upgrade your copy of Open Solaris?  FIONBIO is not part of 
OpenSSL, it's an ioctl that's used to switch a socket to non-blocking 
mode, and should be part of your operating system, or at least, the C 
runtime.

Both sslstream.c and telnetstr.c use it to put the socket in non-blocking 
mode.  They do this:

   u_long ioctlarg = 1;
   ioctl(sockfd, FIONBIO, &ioctlarg);

As far as I know, this is part of Mike Madore's original code in the 
emulator... it's always been that way, this is the first time I've heard 
of a problems with it.
--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request@...
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.

Jack J. Woehr | 20 Dec 2006 19:18

Re: sslstream.c:715: error: `FIONBIO' undeclared (first use in this function)

Scott Klement wrote:
> Did you also upgrade your copy of Open Solaris?  FIONBIO is not part of 
> OpenSSL, it's an ioctl
Okay, fixed that:

    Index: lib5250/sslstream.c
    ===================================================================
    RCS file: /cvsroot/tn5250/tn5250/lib5250/sslstream.c,v
    retrieving revision 1.2
    diff -r1.2 sslstream.c
    24a25
     > #define  HAVE_SYS_FILIO_H 1
    Index: lib5250/telnetstr.c
    ===================================================================
    RCS file: /cvsroot/tn5250/tn5250/lib5250/telnetstr.c,v
    retrieving revision 1.2
    diff -r1.2 telnetstr.c
    21a22
     > #define  HAVE_SYS_FILIO_H 1
    Index: lib5250/utility.c
    ===================================================================
    RCS file: /cvsroot/tn5250/tn5250/lib5250/utility.c,v
    retrieving revision 1.2
    diff -r1.2 utility.c
    21a22
     > #define  HAVE_SYS_FILIO_H 1

Now I get to:

    Making all in curses
(Continue reading)

Scott Klement | 20 Dec 2006 20:12
Favicon

Re: sslstream.c:715: error: `FIONBIO' undeclared (first use in this function)


>    cursesterm.c:42: error: syntax error before "attr_t"
>    cursesterm.c:42: warning: no semicolon at end of struct or union
>    cursesterm.c:46: error: elements of array `colorlist' have
>    incomplete type

Here's what I see in the source code at that point:

#ifndef NCURSES_COLOR_T
#define NCURSES_COLOR_T short
#endif

/* Mapping of 5250 colors to curses colors */
struct _curses_color_map {
    char *name;
    NCURSES_COLOR_T ref;
    attr_t bld;
};
typedef struct _curses_color_map curses_color_map;

static curses_color_map colorlist[] =
{
   { "black",     COLOR_BLACK         },
   { "red",       COLOR_RED,   A_BOLD },

    .. more interesting colors listed here ..

line 32 is the line that says "attr_t bld".  I don't see a missing 
semicolon anywhere, and it compiles without trouble on all of my systems. 
(Again, this isn't new code, it's been around for quite awhile, though 
(Continue reading)

Michele Faresin | 21 Dec 2006 13:29
Picon
Favicon

lp5250 fonts & page alignement

Hello everybody.

First, excuse me for my english. I'm italian, and my english is very 
poor... :-(.
I've successfully installed tn5250 on my linux-box, following this fantastic 
how-to: http://www.chowhouse.com/~james/tn5250-HOWTO.pdf
For my HP lasejet color printer 4500, and for GENICOM label printer, I use 
this:

lp5250d env.DEVNAME=PRTxx env.IBMMFRTYPMDL='*HP4' AS400

Label printing works perfectly, not so for the normal printing. The pages are 
printed vertical instead horizontal, and font size is bigger than it was with 
windows. In windows emulator, obtaining this kind of printing, required only 
an operation: in the setup options of the emulator, it was enough to deselect 
the field containing "convert in ascii on as400", and everithing worked fine.
I tried also 

env.DEVNAME = device-name-to-use
    env.IBMMFRTYPMDL = *HP4
    outputcommand= scs2ascii|lpr -Pbar
    host = as400.example.com

but no results.

Thanks for your patience.

Regards, Michele.
--

-- 
Gli analfabeti telepatici riescono a *leggere* il pensiero?
(Continue reading)

Scott Klement | 21 Dec 2006 19:12
Favicon

Re: lp5250 fonts & page alignement


Hello Michele,

Your English is very easy to understand!

When you use env.IBMMFRTYPMDL, you're telling the AS/400 to convert from 
SCS/AFPDS to (in thie example) the printer language for the HP4 line of 
printers.

This is a good thing to do because it lets your AS/400 (or iSeries or 
System i5) choose the fonts, graphics, orientation, etc.  With the Windows 
software, you were telling Windows to select those things for you, which 
gives your programs less control.

For example, I can write an RPG program on the AS/400 that prints the 
report headings in a large helvetica font, prints a barcode, and prints 
the rest of the report in a small courier font.  If I ran it through the 
Windows configuration that you mention in your message, the Windows 
program will make all of the fonts be the same, and make them all he same 
size.  It'll discard the barcode completely.   However, the way you're 
currently doing it with IBMMFRTYPMDL, these settings will be preserved. 
And that's a GOOD thing, because you want your programs to be able to 
control this stuff if they want to.

All of the problems you mention are configuration options on the AS/400 
that you have set improperly.  You don't like the size of the font? 
Change it.  You don't like the paper orientation?  Change it.  Or turn 
*AUTO orientation off!

For example, print screens will (by default) use the print file named 
(Continue reading)


Gmane