James Rich | 18 Nov 22:40 2005

support for SAVE PARTIAL SCREEN and possible restructuring

Hi everyone,

It has been awhile since much has happened on the list.  I've been working 
on tn5250 and x5250 but haven't committed anything yet.  I've fixed 
several bugs in x5250 (particularly related to non-US keyboards) and added 
support for SAVE PARTIAL SCREEN to lib5250.so.  This last fix is necessary 
for QSH to work in enhanced mode so it is probably a pretty important fix 
to commit.

I've also been working on organizing the source a little better.  I see a 
few benefits from doing so:  old source is moved out (like the slang 
interface), the code that builds lib5250 vs. the other executables is 
better distinguished, the various executables and library may all be built 
independantly of each other, and builds for external projects like x5250 
are simplified.  So I propose the following two organizational changes for 
your consideration:

structure 1:

Split the source into five top level sub directories of tn5250 like this:

tn5250->
 	curses->
 		files needed for autoconf
 		ChangeLog, etc.
 		src->
 			Makefile.am
 			cursesterm.c
 			cursesterm.h
 			tn5250.c
(Continue reading)

Tony Klamm | 19 Nov 00:23 2005

lp5250d windows print problem

lp5250d automatically drops output 1/2 inch and with font ID 12 no matter
what settings I try in CHGDEVPRT on as400 using no host print transform so
full page output always puts the last two lines on a new page.  Using host
print transform strangely puts the HP DeskJet printer in paper saving mode.
That is some really small print.  Leaving host print transform off has
always worked before with IBM's CA and plain text output but I can't use CA
on the XP home machines here.  Please let me know if there is a fix or
workaround or if I need to give more info.  Thanks for your help.

Tony

--

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

Carey Evans | 21 Nov 09:46 2005
Picon

Re: support for SAVE PARTIAL SCREEN and possible restructuring

James Rich wrote:

> I've also been working on organizing the source a little better.  I see
> a few benefits from doing so:  old source is moved out (like the slang
> interface), the code that builds lib5250 vs. the other executables is
> better distinguished, the various executables and library may all be
> built independantly of each other, and builds for external projects like
> x5250 are simplified.

This sounds great.  I don't think I have much preference for one layout
over the other.  Your first proposal looks like the modularisation for
X, which has had a lot of thought put into it, so it's probably better.

I've got a couple of smaller changes that I'd like to get checked in and
into a Debian package for work.  Can you hold off on making a big change
for a few days until I'm done?

--

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

Holger Schurig | 21 Nov 10:50 2005
Picon

Re: support for SAVE PARTIAL SCREEN and possible restructuring

I like structure 1 slightly more. It's slightly simpler for tools like 
OpenEmbedded to pull the lib5250 and only run autogen.sh inside this to build 
only the lib5250.

But that's only a slight preference.

For my own project, I actually pulled all the files that make up the lib5250, 
put them into one directory and wrote a lib5250.pro file (for Qt's qmake, the 
rest of my project is Qt3.x/Embedded-based).
--

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

Scott Klement | 21 Nov 20:32 2005

Re: support for SAVE PARTIAL SCREEN and possible restructuring


I like option #1 better, though I'm not certain that we want to have a 
separate ChangeLog for every piece of the project? But, other than that it 
looks okay.

Also, we'll need a win32 directory. You omitted that from your list.

---
Scott Klement  http://www.scottklement.com

On Fri, 18 Nov 2005, James Rich wrote:

> Hi everyone,
>
> It has been awhile since much has happened on the list.  I've been working on 
> tn5250 and x5250 but haven't committed anything yet.  I've fixed several bugs 
> in x5250 (particularly related to non-US keyboards) and added support for 
> SAVE PARTIAL SCREEN to lib5250.so.  This last fix is necessary for QSH to 
> work in enhanced mode so it is probably a pretty important fix to commit.
>
> I've also been working on organizing the source a little better.  I see a few 
> benefits from doing so:  old source is moved out (like the slang interface), 
> the code that builds lib5250 vs. the other executables is better 
> distinguished, the various executables and library may all be built 
> independantly of each other, and builds for external projects like x5250 are 
> simplified.  So I propose the following two organizational changes for your 
> consideration:
>
> structure 1:
>
(Continue reading)

Scott Klement | 21 Nov 20:35 2005

Re: lp5250d windows print problem


> lp5250d automatically drops output 1/2 inch and with font ID 12 no matter
> what settings I try in CHGDEVPRT on as400 using no host print transform so
> full page output always puts the last two lines on a new page.

lp5250d converts the spooled file into a very simple text file.  It 
doesn't even try to use different fonts, manage the margins, etc.  It just 
sends a very very simple text file.

If you want more advanced functionality than that, as well as 
finer-grained control, you should use Host Print Transform.

Unless, of course, you're willing to write an scs2gdi module for TN5250. 
In that case, be my guest!
--

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

James Rich | 21 Nov 21:57 2005

Re: Re: support for SAVE PARTIAL SCREEN and possible restructuring

On Mon, 21 Nov 2005, Carey Evans wrote:

> James Rich wrote:
>
>> I've also been working on organizing the source a little better.  I see
>> a few benefits from doing so:  old source is moved out (like the slang
>> interface), the code that builds lib5250 vs. the other executables is
>> better distinguished, the various executables and library may all be
>> built independantly of each other, and builds for external projects like
>> x5250 are simplified.
>
> This sounds great.  I don't think I have much preference for one layout
> over the other.  Your first proposal looks like the modularisation for
> X, which has had a lot of thought put into it, so it's probably better.

Ok, I think all the votes that will be coming in are in, and structure 1 
is the winner (which is what I had already started so that's nice).  The 
other subdirs I didn't mention will not be moved (like win32).

> I've got a couple of smaller changes that I'd like to get checked in and
> into a Debian package for work.  Can you hold off on making a big change
> for a few days until I'm done?

That's no problem.  I'm not ready to commit yet anyway.  It may be some 
time before I have everything building correctly.  Right now I have 
lib5250.so building and installing perfectly, but the rest is still yet to 
be done.

James Rich

(Continue reading)

Tony Klamm | 22 Nov 01:02 2005

RE: lp5250d windows print problem

Thanks for the explanation and suggestion, Scott.  Funny thing is, plain
text output has actually worked best in most printouts here before in other
emulation packages.  HPT usually gets funny results on the output as
described some in my original post.  So I am hoping to find some
initializing in LP5250 that causes the alignment and font ID.  As soon as I
get around to reading it.  I'll let you know then.

Thanks again,
Tony

-----Original Message-----
From: linux5250-bounces@...
[mailto:linux5250-bounces@...]On Behalf Of Scott Klement
Sent: Monday, November 21, 2005 1:35 PM
To: Linux 5250 Development Project
Subject: Re: [LINUX5250] lp5250d windows print problem

> lp5250d automatically drops output 1/2 inch and with font ID 12 no matter
> what settings I try in CHGDEVPRT on as400 using no host print transform so
> full page output always puts the last two lines on a new page.

lp5250d converts the spooled file into a very simple text file.  It
doesn't even try to use different fonts, manage the margins, etc.  It just
sends a very very simple text file.

If you want more advanced functionality than that, as well as
finer-grained control, you should use Host Print Transform.

Unless, of course, you're willing to write an scs2gdi module for TN5250.
In that case, be my guest!
(Continue reading)

Scott Klement | 22 Nov 01:38 2005

RE: lp5250d windows print problem


> Thanks for the explanation and suggestion, Scott.  Funny thing is, plain
> text output has actually worked best in most printouts here before in other
> emulation packages.

Lp5250d isn't as smart as those other packages.  As I've already 
explained, lp5250d does not attempt to send any sort of page formatting 
data to the printer, because it doesn't understand how to relay that 
information to the printer.

The other emulation packages are smarter. They understand how Windows GDI 
works. They take the settings that the iSeries sends, and they use it to 
tell the printer how to format the paper.

lp5250d isn't that smart, because it's not written specifically for 
Windows. It doesn't understand the Windows GDI. It can't interact with 
the Windows printer driver because nobody has written code that teaches 
lp5250d how to do that.

I would've written the code, but I'm happy with Host Print Transform. 
With HPT, the iSeries does all of the page formatting (and more!) for me, 
so I don't need to spend months of my free time writing a GDI driver for 
lp5250d.

lp5250d is an open source project that's written by volunteers.  If you 
want that sort of code added, you'll need to add it yourself (or convince 
someone else to.)

> HPT usually gets funny results on the output as described some in my 
> original post.  So I am hoping to find some initializing in LP5250 that 
(Continue reading)

yasin saltýk | 24 Nov 11:54 2005
Picon

Turkish 857 code page support for TN5250.

We are working on a thin client project in Turkey and
we faced with a problem with connection to AS/400
servers with Turkish 857 Code Page.

Is it possible to add  Turkish 857 Code Page to
TN5250. Because Turkish users need that code page
support when they want to use TN5250 emulator.

If its possible can we add it to program ? Or can  the
next update include Turkish 857 Code Page support?

Yasin Saltýk

Merpa Bilgi Islem

istanbul/Turkey

		
__________________________________________
Yahoo! DSL – Something to write home about.
Just $16.99/mo. or less.
dsl.yahoo.com

--

-- 
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
(Continue reading)


Gmane