Re: [Tn5250j-general] The web 5250 site is up.

2006-01-11 Thread Kenneth Pouncey

Nice Pete!

Pete Helgren wrote:


Yeah, I know I have been promising this for about a year but I finally

got a site up where you can try the Web 5250 servlet in a live 
environment.  Perhaps that will get some interest going in the project.


Right now the downloads and instructions are from my server.  We 
should either get this established as a sub-project or something in 
the SF world.  I could also get a CVS site going but SF seems more 
logical.


I haven't extensively tested it and the demo user has very limited 
access to the iSeries.  Give it a whirl (if it works) and let me know 
what you think.


http://www.web5250.com

Pete





---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
files

for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Export file to .xls

2005-12-30 Thread Kenneth Pouncey

Bom Dia Mário

I notice you are from Portugual so you might want to try playing for 
with comma and period for numeric values.  The emulator tries to use the 
one for your locale but it depends the data from the AS400.


Try that and let us know.

Regards

Kenneth

[EMAIL PROTECTED] wrote:


Hi all!!

I having a problem when I try to export a file from a AS400 server to my local
area, whatever the file format I use. The  output from the tn5250j is like
this:

SENT: USER linius
331 Enter password.
SENT: PASS 
230 LINIUS logged on.
SENT: SYST
215  OS/400 is the remote operating system. The TCP/IP version is V5R2M0.
SENT: PWD
257 EJGEN is current library.
SENT: RCMD dspffd FILE(MPGOPFK) OUTPUT(*OUTFILE) OUTFILE(QTEMP/FFD)
250 Command dspffd FILE(MPGOPFK) OUTPUT(*OUTFILE) OUTFILE(QTEMP/FFD) successful.
SENT: PORT 10,176,7,34,130,197
200 PORT subcommand request successful.
SENT: RETR QTEMP/FFD
150 Retrieving member FFD in file FFD in library QTEMP.
I/O error!


So far I didn't found any documentation that helped me in this subject, so if
any one could tell what can couse this error or tell me where can I find proper
documewntation to help me on this subjects I would be most greatfull!!!

Thans for the atention!!!

Mário Duarte






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865opÌk
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


 




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


[Tn5250j-general] Another change sent in

2005-11-03 Thread Kenneth Pouncey


Patrick

Just saw the commit.  Great!!!

Here is another one.

The change is in module Gui5250Frame.java method name removeSessionView.

This fixes a problem with the closing the last session tab on the frame by
clicking on the X close icon.  It causes an error and does not shut down all
the sessions because the session counts are off.  This also was fix for the
Last Session View as well because the counts are not zero then the new session
view was not being saved at the end.

--

   public void removeSessionView(SessionGUI targetSession) {

  if (hideTabBar  sessionPane.getTabCount() == 0) {
 for (int x=0; x  getContentPane().getComponentCount(); x++) {

if (getContentPane().getComponent(x) instanceof SessionGUI) {
   getContentPane().remove(x);
}
 }
  }
  else {

 int index = sessionPane.indexOfComponent(targetSession);
 log.info(session found and closing down  + index);
 targetSession.removeSessionListener(this);
 targetSession.removeSessionJumpListener(this);
 sessionPane.remove(index);

 // get the tab count to be used later
 int tabs = sessionPane.getTabCount();

 // if the index removed is the same as the number of tabs
 //   we need to decrement the index offset or we will get
 //   an error because we went over the tab limit which starts
 //   at zero offset.
 if (tabs == index)
index--;

 if (tabs  0  index  tabs) {
sessionPane.setSelectedIndex(index);
sessionPane.setForegroundAt(index,Color.blue);
sessionPane.setIconAt(focused,index);
((SessionGUI)sessionPane.getComponentAt(index)).requestFocus();
 }
 else {

if (tabs  0) {
   sessionPane.setSelectedIndex(0);
   sessionPane.setForegroundAt(0,Color.blue);
   sessionPane.setIconAt(focused,0);
   ((SessionGUI)sessionPane.getComponentAt(0)).requestFocus();
}

 }
  }
   }

--



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


[Tn5250j-general] tn5250j patch

2005-10-26 Thread Kenneth Pouncey




Patrick another 

Mitch Blevins [EMAIL PROTECTED]
There
appears to be a bug where if a ScreenListener removes itself during an
onScreenChanged() call, the firing code will continue to loop through
the now-structurally changed Vector. This causes indeterminate
behavior and has resulted in several crashes on my side. Fixes in the
patch below for you review.
Mitch
Blevins
IT
Manager
International
Environmental
http://www.iec-okc.com/
Index:
C:/eclipse/workspace/Jumper2/src/org/tn5250j/framework/tn5250/Screen5250.java
===
---
C:/eclipse/workspace/Jumper2/src/org/tn5250j/framework/tn5250/Screen5250.java
(revision 1499)
+++
C:/eclipse/workspace/Jumper2/src/org/tn5250j/framework/tn5250/Screen5250.java
(revision 1500)
@@
-3897,12 +3897,12 @@
 */

private void fireScreenChanged(int which, int startRow, int startCol,

int endRow, int endCol) {
-

if (listeners != null) {
-
int size = listeners.size();
+ 
Vector lc = new Vector(listeners);
+
int size = lc.size();

for (int i = 0; i  size; i++) {

ScreenListener target =
-
(ScreenListener)listeners.elementAt(i);
+
(ScreenListener)lc.elementAt(i);

target.onScreenChanged(1,startRow,startCol,endRow,endCol);

}
 }
@@
-3933,10 +3933,11 @@

int startCol = getCol(lastPos);


if (listeners != null) {
-
int size = listeners.size();
+ 
Vector lc = new Vector(listeners);
+
int size = lc.size();

for (int i = 0; i  size; i++) {

ScreenListener target =
-
(ScreenListener)listeners.elementAt(i);
+
(ScreenListener)lc.elementAt(i);

target.onScreenChanged(update,startRow,startCol,startRow,startCol);

}
 }
@@
-3949,10 +3950,11 @@

private void fireScreenSizeChanged() {


if (listeners != null) {
-
int size = listeners.size();
+ 
Vector lc = new Vector(listeners);
+
int size = lc.size();

for (int i = 0; i  size; i++) {

ScreenListener target =
-
(ScreenListener)listeners.elementAt(i);
+
(ScreenListener)lc.elementAt(i);

target.onScreenSizeChanged(numRows,numCols);

}
 }




[Tn5250j-general] tn5250j applet session file

2005-10-26 Thread Kenneth Pouncey





Jean-Eric JEG [EMAIL PROTECTED]



Hi,


I'm trying to setup the session file.


1) it's OK when I try on my pc (client)


java -jar tn5250j.jar -s my00107


one 5250 session is openned on as400 "my00107"


in my applet, with keyword "host" and ip adress it works fine



2) some problem with session file (when applet is stored on as400) ,
it doesn't work


= window is grey and in "console java" :


java.lang.NullPointerException

at java.util.Hashtable.put(Unknown Source)

at org.tn5250j.My5250App.jbInit(Unknown Source)

at org.tn5250j.My5250App.init(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)



below my session file and my source applet



Thanks for your help


Eric


___

sessions file




#-- Session Information 

#Wed Jul 27 12:24:11 CEST 2005

emul.frame0=0,0,1024,768

emul.logLevel=1

emul.default=my00101

emul.width=1024

emul.height=768

emul.restricted=

my00107=142.XXX.YY.30 -f my00107 -e





__



 CODEBASE = "" CODE = "org.tn5250j.My5250App.class" NAME =
"tn5250 - Java tn5250 Client " WIDTH = 985 HEIGHT = 540 HSPACE = 0
VSPACE = 0 ALIGN = top ARCHIVE = stn5250j.jar




  

  
  
  
  
  

  

PARAM NAME ="-s" VALUE="my00107" /


/APPLET

/BODY

/HTML





[Tn5250j-general] can't build

2005-10-26 Thread Kenneth Pouncey




Boris Breslav [EMAIL PROTECTED]

Hi all
I tried to run ant and got the
following message:

C:\TN5250J\build.xml:401: taskdef
class com.loomcom.ant.tasks.jarbundler.JarBund
ler cannot be found

Is there something I'm missing?





[Tn5250j-general] tn5250j langauge assistant

2005-10-26 Thread Kenneth Pouncey

Mabundit [EMAIL PROTECTED]

Dear K JP,

Let me introduce myself, my name is Mabundit Muangkhum.
I am an AS/400 System engineer and have a plan to implement client Linux in
my company.
Our company use AS/400 for backend application like Acc, Billing,..etc, and
use CA/400 for display emulator.
And also using Thai font for Thai language that made by IBM Thailand.
But now we need to implement in linux environment so I try for searching in
tn5250 on linux and found your.
I would like to ask you for using your great thing.
When I read your document for quick start and found that I need to ask you
for the code page.
The Thai code is 838(EBCDIC) and 874(ASCII).
Would you please add this code page to your tn5250 and suggest me to using
it ?
Thank you very much and hope you do the great job for our world.

Regards;
Mabundit M.



---
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] tn5250j on linux with java 1.5.0

2005-10-26 Thread Kenneth Pouncey




Patrick and all

The previous are messages that I had copy pasted in my todo list
because they were sent to my private e-mail. Thought I would throw
them out there to see if they need to be worked on or have already been
fixed.

Regards

Kenneth

Kenneth Pouncey wrote:

  
Patrick
  
Here is a problem just reported a couple of days ago with a code fix
attached:
  
  Bugs item #1333978, was opened at 2005-10-21 12:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=376973aid=1333978group_id=22923

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: User Interface
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: manote (manote)
Assigned to: Kenneth J. Pouncey (kjp1)
Summary: Key mapping

Initial Comment:
OS = linux 2.6.5 Suse 9.1
System = pIV 512MB
JDK version = 1.5.0_05

In the dialog for get the key, the label never get the
focus and  can't set the key.
Changing to the following piece of code, int the
KeyConfigure class: 		

JOptionPane opain = new JOptionPane(

message,

JOptionPane.PLAIN_MESSAGE,

JOptionPane.DEFAULT_OPTION, // option type

null,

options,

options[0]);

by this other:

JOptionPane opain = new JOptionPane(

message,

JOptionPane.PLAIN_MESSAGE,

JOptionPane.DEFAULT_OPTION, // option type

null,

options,

null);


 the label can obtain the focus and can set the key.
Regards
  
Kenneth
  
Patrick Bielen wrote:
  Hi guys,

Recently i installed Ubuntu Linux (which is the best distro i've seen
in the last 7 years imho) and that is where the troubles began.

Running java 1.5.0_05 on my linux box gives the next troubles...

1) Splashscreen stays on top and the connection window is below
it, there is not way to remove it until you actually make the
connection to the iseries.

2) Keymapping does nothing... no matter which key you press,
nothing happens andyou have to manually edit the keymap file.
xdev gives other values then the values used in the keymap file,
which makes it hard to find out which value you actually need.

No need to say this is very frustrating, cause you loose a lot of
functionality in the first place.

The second thing... a dutch user contacted me about the jython
commands that can be used in tn5250j. A few years ago i was
using this functionality a lot, but since i became SCJP i lost the
attention to the scripting feature in tn5250j. So there is a lot
changed in meanwhile, and commands changed also. The
website was never made up-to-date so it's damned hard to
actually find out what the exact commands are. Anybody that
knows what actually was changed ? _session.getscreen() seems
not to work anymore cause things are changed.

So i think after almost one year of inactivity, that it becomes time
we pickup the project again and do the very last bugfixes, and
also remove the 1.3 code crap, to become some more up-to-dated.
I know the most of you guys are working on the browser version
of tn5250j, but that is not that interesting for the most users, cause
tn5250j standalone just does what it needs to do. So maybe we
can focus back on the program itself and make it bugfree on
windows and linux (and mac) for once and for all.

Ofcourse i'm not the project leader, but seems he lost his interests
in the project cause we haven't heard him anymore for a very long
time. As i'm one of the people that joined the project in the very
first beginning it should be nice if we could make a deal, that i will
try to lead the team until Kenneth returns.

What do you guys think ?

Well maybe my java skills do not go that far as most of you, but
i will try to lead the project into the right directions. The most
important goal is to make it stable now, so we actually can
release a FINAL (stable) version. I'm into Linux now, so i can
heavily test the program on that platform now.

Best Regards,

Patrick Bielen




  

   has notified the sender that this message has been
received.

  


  





Re: [Tn5250j-general] tn5250j on Linux with Java 1.5.0

2005-10-25 Thread Kenneth Pouncey




Pete

 Pete will have to look at all the bug reports out there to see
which
have been fixed or not.

Woops sorry this meant to read that "I" will have to look at the bug
reports out there not you.

Sorry for the confusion.

Kenneth

Kenneth Pouncey wrote:

  
Hello all
  
Saw the messages. I think that is a great idea you all have. Do not
want to see the project go to the wayside.
  
Patrick I have not lost interest but lost access to an AS/400.
Actually have not slung any java code in quite a few months as most of
the work has been .NET lately and systems work.
  
Actually put in a bid at one of my old clients to rewrite their Teller
system and am still waiting on them to decide. If the contract comes
through I will then have access.
  
Pete will have to look at all the bug reports out there to see which
have been fixed or not.
  
I can help with the general knowledge of the system but probably not
any code so the programmers out there will have to carry the load for
any fixes.
  
Other than that would love to see things rolling again.
  
As far as updates and bug fixes go everyone out there participating on
the list has CVS developer access so the only thing stopping bug fixes
and enhancements is people actually changing the code and making the
updates.
  
If you guys feel that branching the project is in your best interests
please go ahead and do so. You can set up another project if you feel
that would be better for you as well. I hope you do not feel the need
but thought it best that I let you know that as can not lend any real
code slinging at this time.
  
Regards
  
Kenneth
  
Pete Helgren wrote:
  

We should probably tidy it all up. There are 32 open bugs that go all
the way back to 2002. Kenneth is the Admin so I think only he can
"close" them. If we could figure out what is still "open" we might be
able to assign a few to each of the programmers on the list to get them
fixed.

It would be nice to finish the project with a nice clean release. We
are at the .6 release level so I am not sure of what all is still
missing that would make this a 1.0 release.

I wish Kenneth would check in so we'd know what is up with him. Hope he
is OK.

Pete


Richard Houston wrote:

  Hey guys,

I am all for getting things going again. I am not a programmer but I can
relay my clients issues and help find bugs.

On Patrick's issues re: the splash screen, I had the same splash screen
issue but the latest cvs version fixed that for me. We are running on
Linux as well including Fedora Core 4 Centos and Ubuntu. ON Sun jdk
1.4.2_09 and 1.5.0_05.

I agree Ubuntu is very nice. 5.10 is a great improvement over 5.04

We have found a few issues. Should we all be putting these issues in the
bug database on the sourceforge site so they don't get lost?

Thanks!


Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Tue, October 25, 2005 1:38 am, Patrick Bielen wrote:
  
  
Hi guys,


Recently i installed Ubuntu Linux (which is the best distro i've seen
in the last 7 years imho) and that is where the troubles began.

Running java 1.5.0_05 on my linux box gives the next troubles...


1) Splashscreen stays on top and the connection window is below
it, there is not way to remove it until you actually make the connection to
the iseries.

2) Keymapping does nothing... no matter which key you press,
nothing happens and  you have to manually edit the keymap file. xdev gives
other values then the values used in the keymap file, which makes it hard
to find out which value you actually need.

No need to say this is very frustrating, cause you loose a lot of
functionality in the first place.

The second thing... a dutch user contacted me about the jython
commands that can be used in tn5250j. A few years ago i was using this
functionality a lot, but since i became SCJP i lost the attention to the
scripting feature in tn5250j. So there is a lot changed in meanwhile, and
commands changed also. The website was never made up-to-date so it's
damned hard to actually find out what the exact commands are. Anybody that
 knows what actually was changed ? _session.getscreen() seems not to work
anymore cause things are changed.

So i think after almost one year of inactivity, that it becomes time
we pickup the project again and do the very last bugfixes, and also remove
the 1.3 code crap, to become some more up-to-dated. I know the most of you
guys are working on the browser version of tn5250j, but that is not that
interesting for the most users, cause tn5250j standalone just does what it
needs to do. So maybe we can focus back on the program itself and make it
bugfree on windows and linux (and mac) for once and for all.

Ofcourse i'm not the pro

[Tn5250j-general] Re: tn5250j

2005-07-25 Thread Kenneth Pouncey
Alexander

I have such a mess with system meltdown and restoring the mails it totally
forgot to respond.  Sorry about that.

Let's do something here.  Sign up to the Mailing list tn5250j-general that way
we can get others involved with the discussions and you will not have so long a
wait for a response.  Most of the people on the list probably know the emulator
better than I do now.

Look up jython on the internet http://www.jython.org also a link is here
http://tn5250j.sourceforge.net/scripting.html. I do believe is the site or
google it.  There are a lot of examples and documentation for jython there to
get you started.

You can get the screen position by obtaining the plains from the screen object.
I will look it up and post an example when I have access to the source.

There are also some sample scripts in the cvs checkout under the scripts 
directory.

Calling a script from a cl is not yet possible and not sure when or if it will
be possible in the future.

Passing parameters is another thing.  When called from the emulator you will
only get a referrence for the session that it is called from.  There are some
examples that show this in the cvs checkout.

Hope that helps to get you started for now.  Go through it a little and then
repost any questions.

Regards

Kenneth

Quoting Alexander Schell [EMAIL PROTECTED]:

 Hello,
 
 I know that you have got some trouble at the moment but perhaps you'll 
 find some time to give us some little Information.
 
 All these questions are about the Python script language.
 
 1.How can we get the Cursor to a special position and fetch the text 
 written there?
We also want to know how to interpret the text with : if xxx then 
 and if yyy then...
 
 2.How can we call a script in a 5250 Emulation that is to say from a CL 
 Programm or  
with a CL-command?
 
 3.How are we able to transfer parameters from / into a script?
 
 Thank you for answer!
 
 Best Regards
 Alexander Schell
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Startup with last view

2005-07-15 Thread Kenneth Pouncey




Pete

As long as the start default still works I see no problem at all in
committing this. Once it is committed I will test it tonight to see if
what I normally do works as well. Will also test a default setup as
well.

Again thank you very much for the analysis and the fix.

Regards

Kenneth

Pete Helgren wrote:

  
OK!
  
I found a couple of things that might be causing the problem. Kenneth,
you can check my assumptions before I update CVS with my changes.
  
These two changes start at around line 348 in My5250.java
  
1. There is a startNewSession(); there even before we start to
iterate through the specific sessions retrieved. I think that will
just start a default session (not sure where it gets it from). 
2.  We start the sessions stored in the vector (os400_sessions) at 1
rather than 0. That skips the first session that was configured.
  
I commented out the startNewSession() and then changed the for loop to
start at 0 rather than 1.
  
That took care of my problems. Do you want me to commit those changes?
  
Pete
  
  
  
  
Pete Helgren wrote:
  

Is this version from a clean check out of CVS today?

Not today. I pulled from CVS and built my jar before Kenneth had
finished the patch for the splash screen. I could rebuild again since
I updated last night but there is enough weirdness going on that I am
going to run in debug and see if I can figure this out on my own.

I am pretty busy right now but I might get a chance to look at this
later today.

Pete




Richard Houston wrote:

  Pete,

Is this version from a clean check out of CVS today?
Just wondering.




Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Thu, July 14, 2005 9:38 am, Pete wrote:
  
  
Originally this wasn't working for me but now it is.  However, when one
of the sessions starts, it still shows the -s.  For example:



These are both active sessions but the system name on the first session
shows as -s.

It may have something to do with how the sessions are initially saved.
Where is the information about the "last view" stored.  I can clear that
info then re-test (or debug) the program.

Pete




  
  



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

  

  





Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Kenneth Pouncey

Wow Pete do not for the life of me understand why.  It is in the .tn5250j folder
under your user profile.  The file to look for is sessions and the element is
emul.view

emul.view=-s luxdev -s luxdev-gui -s luxdev-gui -s luubps01-gui -s luubps01-gui 

This is mine and it works like a charm.

Do you have a Device Name defined for those session?

Regards

Kenneth

Quoting Pete [EMAIL PROTECTED]:

 Originally this wasn't working for me but now it is.  However, when one 
 of the sessions starts, it still shows the -s.  For example:
 
 
 
 These are both active sessions but the system name on the first session 
 shows as -s.
 
 It may have something to do with how the sessions are initially saved.  
 Where is the information about the last view stored.  I can clear that 
 info then re-test (or debug) the program.
 
 Pete
 
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Kenneth Pouncey
Pete

Thanks for looking at that for me if you can and have the time.  I have a very
hectic C# project and no AS/400 connection here.

Thanks

Kenneth

Quoting Pete [EMAIL PROTECTED]:

 Originally this wasn't working for me but now it is.  However, when one 
 of the sessions starts, it still shows the -s.  For example:
 
 
 
 These are both active sessions but the system name on the first session 
 shows as -s.
 
 It may have something to do with how the sessions are initially saved.  
 Where is the information about the last view stored.  I can clear that 
 info then re-test (or debug) the program.
 
 Pete
 
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Startup with last view

2005-07-14 Thread Kenneth Pouncey

Pete

Try it with a device name defined.  Anything will do.

Quoting Pete Helgren [EMAIL PROTECTED]:

 No...No device name defined.  Let me look at a few things and I'll get 
 back to you,
 
 Pete
 
 
 Kenneth Pouncey wrote:
 
 Wow Pete do not for the life of me understand why.  It is in the .tn5250j
 folder
 under your user profile.  The file to look for is sessions and the element
 is
 emul.view
 
 emul.view=-s luxdev -s luxdev-gui -s luxdev-gui -s luubps01-gui -s
 luubps01-gui 
 
 This is mine and it works like a charm.
 
 Do you have a Device Name defined for those session?
 
 Regards
 
 Kenneth
 
 Quoting Pete [EMAIL PROTECTED]:
 
   
 
 Originally this wasn't working for me but now it is.  However, when one 
 of the sessions starts, it still shows the -s.  For example:
 
 
 
 These are both active sessions but the system name on the first session 
 shows as -s.
 
 It may have something to do with how the sessions are initially saved.  
 Where is the information about the last view stored.  I can clear that 
 info then re-test (or debug) the program.
 
 Pete
 
 
 
 
 
 
 
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
   
 
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Update

2005-07-13 Thread Kenneth Pouncey




Richard

I tested your file here and it seems to work fine. Could you do a
fresh checkout. Meaning not an update but a full checkout and
rebuild. Am thinking maybe something in your base did not get updated
correctly.

Regards

Kenneth

Richard Houston wrote:

  If it helps at all here is the contents of my sessions file:

-- Defaults 
#Tue Jul 12 12:02:16 CDT 2005
emul.startLastView=
emul.protocol.http=firefox
emul.frame0=0,0,1280,745
emul.logLevel=2
emul.width=1280
qtraf=XXX..XX.XX -p 23 -e -t -132 -spp 1080 -d
emul.view=-s qtraf -s qtraf
emul.height=745
emul.restricted=

Is it possible that the emul.view=-s qtraf -s qtraf is the line causing
the issue?

Thanks

Rich





Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Tue, July 12, 2005 10:39 am, Richard Houston wrote:
  
  
For sure, Let me know what you need. I will do what I can.





Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |


| WWW www.rlhc.net  ^^-^^|
+--+



On Tue, July 12, 2005 10:06 am, Kenneth Pouncey wrote:



  Thanks for letting me know Richard.



Let's see if we can get together on that -s problem.  I may need a
couple of files from you to see how things are working, well in this
case not working :-)

Will you be around tomorrow?  Actually it does not have to be Richard
so tomorrow anybody that has problems with this can help me.  If anybody
is willing to help out tomorrow let me know by answering this message
and I will contact them personally for some debug information.

Regards



Kenneth



Quoting Richard Houston [EMAIL PROTECTED]:



  
  
Updated my cvs copy and all is working as expected.



Thanks guys!



FYI, the "startup with last view" still starts with one tab marked
"-s"



Thanks!





Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |



| WWW www.rlhc.net  ^^-^^|
+--+




On Tue, July 12, 2005 1:17 am, Kenneth Pouncey wrote:




  Hello Richard and Pete




The splash screen should not be fixed in CVS.  If not let me know.




Regards




Kenneth




Pete Helgren wrote:




  
  
Richard (and Kenneth),




I re-booted into Linux, and I stand corrected.  0.5.7 pre3 has
the splash screen that doesn't disappear and displays over the
Connections
panel.  AND, the latest version 0.6.1.Alpha 1 does the same thing.
 It is
as though the "splash" screen doesn't know how to close.  I ran it
 under SUSE 9.2 with the same JDK I use in Windows (1.4.2_06)



So, it looks like you'll have to take a look at it and figure out
 what's up.  Works fine in Windows though.

So, it IS broken in Linux.




Pete





Richard Houston wrote:






  Also, did your previous version have the splash screen
disappear before the connection screen comes up?




Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+





On Mon, July 11, 2005 10:45 am, Pete Helgren wrote:





  
  
And, in my case, it displays in *front* of the splash screen.





I am running SUSE 9.2 on my other partition.  I'll boot into
Linux
and see what I get.

Pete






Richard Houston wrote:









  On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote:








  
  
No.  The connection panel comes up right after the splash
 screen for me (Windows XP, JDK 1.4.2_06)






  
  Just to clarify, the screen pops up but is behind the
splash screen. On Linux you need to click on the panel to
bring it forward. It's not a failure but an annoyance
really. Now on the version be for this one, the splash
screen would pop up and diapered after the connection panel
is displayed.  This is on Linux and Sun JDK 1.4.2_08.



Thanks all,





Rich








---
This SF.Net email is sponsored by the 'Do More With Dual!'
webinar happening July 14 at 8am PDT/11am EDT. We invite you
 to explore the latest in dual core and dual graphics
technolo

Re: [Tn5250j-general] Update

2005-07-12 Thread Kenneth Pouncey
Thanks for letting me know Richard.

Let's see if we can get together on that -s problem.  I may need a couple of
files from you to see how things are working, well in this case not working :-)

Will you be around tomorrow?  Actually it does not have to be Richard so
tomorrow anybody that has problems with this can help me.  If anybody is willing
to help out tomorrow let me know by answering this message and I will contact
them personally for some debug information.

Regards

Kenneth

Quoting Richard Houston [EMAIL PROTECTED]:

 Updated my cvs copy and all is working as expected.
 
 Thanks guys!
 
 FYI, the startup with last view still starts with one tab marked -s
 
 Thanks!
 
 
 
 Best regards,
 +--+
 | Richard Houston  .^. |
 | R.L.H.  Consulting   /V\ |
 | E-Mail  [EMAIL PROTECTED]/(   )\   |
 
 | WWW www.rlhc.net  ^^-^^|
 +--+
 
 
 On Tue, July 12, 2005 1:17 am, Kenneth Pouncey wrote:
  Hello Richard and Pete
 
 
  The splash screen should not be fixed in CVS.  If not let me know.
 
 
  Regards
 
 
  Kenneth
 
 
  Pete Helgren wrote:
 
 
  Richard (and Kenneth),
 
 
  I re-booted into Linux, and I stand corrected.  0.5.7 pre3 has the
  splash screen that doesn't disappear and displays over the Connections
  panel.  AND, the latest version 0.6.1.Alpha 1 does the same thing. It is
  as though the splash screen doesn't know how to close.  I ran it under
  SUSE 9.2 with the same JDK I use in Windows (1.4.2_06)
 
 
  So, it looks like you'll have to take a look at it and figure out
  what's up.  Works fine in Windows though.
 
  So, it IS broken in Linux.
 
 
  Pete
 
 
 
  Richard Houston wrote:
 
 
  Also, did your previous version have the splash screen disappear
  before the connection screen comes up?
 
 
 
 
  Best regards,
  +--+
  | Richard Houston  .^. |
  | R.L.H.  Consulting   /V\ |
  | E-Mail  [EMAIL PROTECTED]/(   )\   |
  | WWW www.rlhc.net  ^^-^^|
  +--+
 
 
 
  On Mon, July 11, 2005 10:45 am, Pete Helgren wrote:
 
 
 
  And, in my case, it displays in *front* of the splash screen.
 
 
 
  I am running SUSE 9.2 on my other partition.  I'll boot into Linux
  and see what I get.
 
  Pete
 
 
 
 
  Richard Houston wrote:
 
 
 
 
 
  On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote:
 
 
 
 
 
 
  No.  The connection panel comes up right after the splash
  screen for me (Windows XP, JDK 1.4.2_06)
 
 
 
 
 
  Just to clarify, the screen pops up but is behind the splash
  screen. On Linux you need to click on the panel to bring it
  forward. It's not a failure but an annoyance really. Now on the
  version be for this one, the splash screen would pop up and
  diapered after the connection panel is displayed.  This is on
  Linux and Sun JDK 1.4.2_08.
 
 
  Thanks all,
 
 
 
  Rich
 
 
 
 
 
 
  ---
  This SF.Net email is sponsored by the 'Do More With Dual!' webinar
   happening July 14 at 8am PDT/11am EDT. We invite you to explore
  the latest in dual core and dual graphics technology at this free
  one hour event hosted by HP, AMD, and NVIDIA.  To register visit
  http://www.hp.com/go/dualwebinar
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 
 
 
 
 
 
 
 
 
 
  ---
  This SF.Net email is sponsored by the 'Do More With Dual!' webinar
  happening July 14 at 8am PDT/11am EDT. We invite you to explore the
  latest in dual core and dual graphics technology at this free one hour
  event hosted by HP, AMD, and NVIDIA.  To register visit
  http://www.hp.com/go/dualwebinar
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 
 
 
 
 
 
 
 
 ---
 This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
 July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
 core and dual graphics technology at this free one hour event hosted by HP, 
 AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA

Re: [Tn5250j-general] Update

2005-07-11 Thread Kenneth Pouncey

Hello Richard and Pete

I will take a look at that tonight.  I wonder what changed.  I never got a
chance to look at the SSL sorry about that.  Got to take the work as it comes
and they do not have an AS/400.

Regards

Kenneth


Quoting Richard Houston [EMAIL PROTECTED]:

 Also, did your previous version have the splash screen disappear before
 the connection screen comes up?
 
 
 
 
 Best regards,
 +--+
 | Richard Houston  .^. |
 | R.L.H.  Consulting   /V\ |
 | E-Mail  [EMAIL PROTECTED]/(   )\   |
 | WWW www.rlhc.net  ^^-^^|
 +--+
 
 
 On Mon, July 11, 2005 10:45 am, Pete Helgren wrote:
  And, in my case, it displays in *front* of the splash screen.
 
 
  I am running SUSE 9.2 on my other partition.  I'll boot into Linux and
  see what I get.
 
  Pete
 
 
 
  Richard Houston wrote:
 
 
  On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote:
 
 
 
  No.  The connection panel comes up right after the splash screen for
  me (Windows XP, JDK 1.4.2_06)
 
 
 
 
  Just to clarify, the screen pops up but is behind the splash screen. On
   Linux you need to click on the panel to bring it forward. It's not a
  failure but an annoyance really. Now on the version be for this one, the
   splash screen would pop up and diapered after the connection panel is
  displayed.  This is on Linux and Sun JDK 1.4.2_08.
 
  Thanks all,
 
 
  Rich
 
 
 
 
 
  ---
  This SF.Net email is sponsored by the 'Do More With Dual!' webinar
  happening July 14 at 8am PDT/11am EDT. We invite you to explore the
  latest in dual core and dual graphics technology at this free one hour
  event hosted by HP, AMD, and NVIDIA.  To register visit
  http://www.hp.com/go/dualwebinar
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 
 
 
 
 
 
 
 
 ---
 This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
 July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
 core and dual graphics technology at this free one hour event hosted by HP, 
 AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Update

2005-07-11 Thread Kenneth Pouncey




Pete you are a committer

Pete Helgren wrote:

  
No sweat. We are ALL busy!
  
I am not a committer in the project (or I would have committed the
patch myself) but the SSL/Applet patch is easy. Let me know if you
need more info on it.
  
Pete
  
  
Kenneth Pouncey wrote:
  
Hello Richard and Pete

I will take a look at that tonight.  I wonder what changed.  I never got a
chance to look at the SSL sorry about that.  Got to take the work as it comes
and they do not have an AS/400.

Regards

Kenneth


Quoting Richard Houston [EMAIL PROTECTED]:

  

  Also, did your previous version have the splash screen disappear before
the connection screen comes up?




Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Mon, July 11, 2005 10:45 am, Pete Helgren wrote:

  
And, in my case, it displays in *front* of the splash screen.


I am running SUSE 9.2 on my other partition.  I'll boot into Linux and
see what I get.

Pete



Richard Houston wrote:


  

  On Fri, July 8, 2005 6:10 pm, Pete Helgren wrote:




  
No.  The connection panel comes up right after the splash screen for
me (Windows XP, JDK 1.4.2_06)



  
  
  Just to clarify, the screen pops up but is behind the splash screen. On
 Linux you need to click on the panel to bring it forward. It's not a
failure but an annoyance really. Now on the version be for this one, the
 splash screen would pop up and diapered after the connection panel is
displayed.  This is on Linux and Sun JDK 1.4.2_08.

Thanks all,


Rich





---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening July 14 at 8am PDT/11am EDT. We invite you to explore the
latest in dual core and dual graphics technology at this free one hour
event hosted by HP, AMD, and NVIDIA.  To register visit
http://www.hp.com/go/dualwebinar
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general






  
  

---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general









---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

  
  





[Tn5250j-general] Update

2005-07-08 Thread Kenneth Pouncey

Hello all

I have updated CVS with the bug fixes and new functionality today.

Test it and let me know if all is ok. 

Again sorry for the delay and if your bug or request did not get fixed 
please let me know.  I may have missed something.


Regards

Kenneth


---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar

___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] SSL support

2005-07-08 Thread Kenneth Pouncey




Richard and Pete

I just tested from my base here and all worked fine for connecting. It
asked me to accept the certificate and then created a SSL link using
both SSL2 and TLS. Not sure what the problem is. Oh and this was
straight from CVS. I wonder if maybe it is the build file not
including everthing or maybe we need to add another jar to the
classpath.

Interesting though. Anybody have any other information about this
problem if they are using it?



Regards

Kenneth

Pete Helgren wrote:

  
There is a pretty good setup article in the IBM iSeries knowledge base.
  
  http://www-912.ibm.com/s_dir/slkbase.nsf/slkbase
  
Search using "17615517" (the
document number) you should have a hit on "SSL and Secure Telnet
Server Configuration". Make sure you have the correct licensed
programs installed (Cryptographic Access Provider and Digital
Certificate Manager).
  
The Mochasoft site has a good overview as well.
(http://www.mochasoft.dk/tn5250.htm)
  
It has been a little while since I have set this up but I'll give you
help where ever I can. Once the Certificate is set up and assigned to
telnet, you just want to make sure that your telnet settings allow SSL
(CHGTELNA ALWSSL (*YES) )
  
The SSLInstructions.html just has this:
  
- Tested with Sun JRE 1.4.0_01-b03
on Win2K  XP
  Security Policy File Installation
1. Download Security Policy java.policy.
2. Read Instructions in java.policy to install/setup policy file.
3. Restart Browser
  
That is about it.
  
Pete
  
  
Richard Houston wrote:
  
Thanks Pete,

Do  you know where that doc is? Sorry for my ignorance here. :/

Also do we know if the ssl 5250 port is on by default on the AS/400 or do
we need to turn it on?




Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Wed, July 6, 2005 1:55 pm, Pete Helgren wrote:
  

  This works for me in 0.5.7 pre3.  When I start the session I am prompted
to accept the SSL cert and then I get the signon screen.  It was been quite
a while since I set this up but I don't recall doing much more than just
following the SSLInstructions.html document.

Pete



Richard Houston wrote:



  
Yeah, the no connect error is the same thing I got.
Kenneth, do you have any insight on how to get the ssl working?





Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+



On Wed, July 6, 2005 12:55 am, Patrick Bielen wrote:



  

  Hi Richard,






  
Does anyone have a good howto on getting
ssl support on tn5250j to work?


  
  
  Well i never got it running here at stafa.
When i enable it i get no connect, so i never
even tried it again.

Maybe there is somebody else with better luck.



Met vriendelijke groeten,
Best Regards,



Patrick Bielen



System-Administrator Stafa Holland BV
Microsoft Certified Professional
Sun Certified Java Programmer






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general










---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general




  
  





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

  
  





Re: [Tn5250j-general] Update

2005-07-08 Thread Kenneth Pouncey




Anybody else experiencing a problem with this?

Richard Houston wrote:

  Hey Kenneth,

One thing right off the top is that in this new version the splash screen
pops up over the connections window again at start up. The version be for
this would send the splash screen away.

Also once I enable connections/options/restore last view, once I restart
the app it gives me a session that is disconnected and is mark in the tab
as "-S". Any ideas?



Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Fri, July 8, 2005 1:25 am, Kenneth Pouncey wrote:
  
  
Hello all


I have updated CVS with the bug fixes and new functionality today.


Test it and let me know if all is ok.


Again sorry for the delay and if your bug or request did not get fixed
please let me know.  I may have missed something.

Regards


Kenneth



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar
happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest
in dual core and dual graphics technology at this free one hour event
hosted by HP, AMD, and NVIDIA.  To register visit
http://www.hp.com/go/dualwebinar
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general




  
  



---
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.

  





Re: [Tn5250j-general] SSL support

2005-07-07 Thread Kenneth Pouncey




Hello all

Have been away. I will take a look at the SSL to see if it works.

Regards

Kenneth

Pete Helgren wrote:

  
There is a pretty good setup article in the IBM iSeries knowledge base.
  
  http://www-912.ibm.com/s_dir/slkbase.nsf/slkbase
  
Search using "17615517" (the
document number) you should have a hit on "SSL and Secure Telnet
Server Configuration". Make sure you have the correct licensed
programs installed (Cryptographic Access Provider and Digital
Certificate Manager).
  
The Mochasoft site has a good overview as well.
(http://www.mochasoft.dk/tn5250.htm)
  
It has been a little while since I have set this up but I'll give you
help where ever I can. Once the Certificate is set up and assigned to
telnet, you just want to make sure that your telnet settings allow SSL
(CHGTELNA ALWSSL (*YES) )
  
The SSLInstructions.html just has this:
  
- Tested with Sun JRE 1.4.0_01-b03
on Win2K  XP
  Security Policy File Installation
1. Download Security Policy java.policy.
2. Read Instructions in java.policy to install/setup policy file.
3. Restart Browser
  
That is about it.
  
Pete
  
  
Richard Houston wrote:
  
Thanks Pete,

Do  you know where that doc is? Sorry for my ignorance here. :/

Also do we know if the ssl 5250 port is on by default on the AS/400 or do
we need to turn it on?




Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Wed, July 6, 2005 1:55 pm, Pete Helgren wrote:
  

  This works for me in 0.5.7 pre3.  When I start the session I am prompted
to accept the SSL cert and then I get the signon screen.  It was been quite
a while since I set this up but I don't recall doing much more than just
following the SSLInstructions.html document.

Pete



Richard Houston wrote:



  
Yeah, the no connect error is the same thing I got.
Kenneth, do you have any insight on how to get the ssl working?





Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+



On Wed, July 6, 2005 12:55 am, Patrick Bielen wrote:



  

  Hi Richard,






  
Does anyone have a good howto on getting
ssl support on tn5250j to work?


  
  
  Well i never got it running here at stafa.
When i enable it i get no connect, so i never
even tried it again.

Maybe there is somebody else with better luck.



Met vriendelijke groeten,
Best Regards,



Patrick Bielen



System-Administrator Stafa Holland BV
Microsoft Certified Professional
Sun Certified Java Programmer






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general










---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general




  
  





---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

  
  





Re: [Tn5250j-general] Update

2005-07-07 Thread Kenneth Pouncey




Richard and all

Sorry about the misinformation. I did not get a chance to get it out
like I thought. I had to leave and have just not gotten back. Will
hopefully get the updates in tomorrow night or saturday.

Again sorry about the confusion.

Regards

Kenneth

Richard Houston wrote:

  These new features are look pretty cool. I will get this out to my users
asap and let you know what falls out of it.

Thanks!!






Best regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+


On Fri, July 1, 2005 3:55 am, Kenneth Pouncey wrote:
  
  
  
  
Hello all


Been quite busy with this new Withholding Tax crap that seems all the EU
countries are participating in so have not had a lot of time.  Brain fried
with studying for the certs as well.

I will be updating CVS tonight or tomorrow.  Most of the changes are to
do with adding 1.4 stuff that I have been wanting to do for a very long
time.

There are also some new options to try out.


1.  The mouse wheel now can be used to change to next and previous
sessions. 2.  You can drag and drop tabs to reorder them
3.  A new option was added to the Connections - Options screen to Startup
with last view.  This will load the last view you had before shutting down
the emulator.  The default is off. 4.  Hopefully fixed the two bugs
reported by Marc.  I sent him a new .jar this morning so if he has the
time before the weekend he will let us know.

If you see anything here that you would like to discuss or do not like
please let me know.

For the developers I will have changed how some objects are being created
and how many.  Also synchronized some methods after implementing the show
last view option.

Like I said not a lot of time to really debug anything deeply like the
data stream stuff and remote command implementation.  Maybe next update.

If anybody sees any difference what soever with speed or responsiveness
of the the emulator, good or bad, let me know.

Regards


Kenneth




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to speed,
fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general




  
  



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.

  





[Tn5250j-general] Update

2005-07-01 Thread Kenneth Pouncey


Hello all

Been quite busy with this new Withholding Tax crap that seems all the EU
countries are participating in so have not had a lot of time.  Brain fried with
studying for the certs as well.

I will be updating CVS tonight or tomorrow.  Most of the changes are to do with
adding 1.4 stuff that I have been wanting to do for a very long time.

There are also some new options to try out.

1.  The mouse wheel now can be used to change to next and previous sessions.
2.  You can drag and drop tabs to reorder them
3.  A new option was added to the Connections - Options screen to Startup with
last view.  This will load the last view you had before shutting down the
emulator.  The default is off.
4.  Hopefully fixed the two bugs reported by Marc.  I sent him a new .jar this
morning so if he has the time before the weekend he will let us know.

If you see anything here that you would like to discuss or do not like please
let me know.

For the developers I will have changed how some objects are being created and
how many.  Also synchronized some methods after implementing the show last view
option.

Like I said not a lot of time to really debug anything deeply like the data
stream stuff and remote command implementation.  Maybe next update.

If anybody sees any difference what soever with speed or responsiveness of the
the emulator, good or bad, let me know.

Regards

Kenneth



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] compiler 1.5 Vs 1.4

2005-06-30 Thread Kenneth Pouncey

Richard

If you compile with 1.5 you will not be able to run in a 1.4 JDK.  There are
compatibility modes for the 1.5 to output 1.4 instructions so you might want to
try that.

I had all sort of problems with this for 1.3 and 1.4.  Just putting out a
release was an 8 step process.  First compile with 1.3 then second run with .14
to get those then jar it then ...  A reall pain.  Right now the 0.6.0
release was all compiled with 1.4 jdk so has helped a lot.

The suggestion you make with the compile of 1.4 linux and then distribute is
really the only way I know of except for trying the compile compatibility
options for the 1.5 jdk.  Give it a shot that way.

Regards

Kenneth

Quoting Richard Houston [EMAIL PROTECTED]:

 Hi all,
 
 Quick question: If I compile tn5250j on SunJDK 1.4.2_08 I can run it on a
 system with 1.4.2_X and 1.5.X but if I compile it in SunJDK 1.5.0_03 I can
 not run it on 1.4.2.XX. Does this make seance?
 
 This is not a big issue as I compile on the 1.4.2_08 machine, Linux, and
 distribute to the windows machines, windows 2k SunJDK 1.5.0_02. Was just
 wondering.
 
 
 
 
 Best regards,
 +--+
 | Richard Houston  .^. |
 | R.L.H.  Consulting   /V\ |
 | E-Mail  [EMAIL PROTECTED]/(   )\   |
 | WWW www.rlhc.net  ^^-^^|
 +--+
 
 
 
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Emulator hangs

2005-06-28 Thread Kenneth Pouncey

Wim


Quoting [EMAIL PROTECTED]:

 Hello Kenneth,
 
 problem is we cannot easily recreate the problem either. It just happens 
 once and a while. So I cannot send you a guaranteed test case.

That sucks.  Those are the worse kinds of problems.  Is this only happening with
sending keys during the signon sequence or do you already have a session open
and then send keys to it?  Both?  Is it only while sending keys or does it
happen during live keying as well from an operator?

Can you go ahead and try the reset keystroke within the stream and let's see
what happens? Not sure if it is feasable for you guys or not.  Just trying to
help with an idea.

Regards

Kenneth
 
 Wim
 
 
 
 
 
 Kenneth Pouncey [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 28/06/2005 11:36
 Please respond to
 tn5250j-general@lists.sourceforge.net
 
 
 To
 tn5250j-general@lists.sourceforge.net
 cc
 
 Subject
 Re: [Tn5250j-general] Emulator hangs
 
 
 
 
 
 
 
 Hello Wim
 
 That is what I was thinking that it was the left-ctrl that might be 
 causing
 the problem when sending the keys via the keyboard handler.
 
 If you sent it within the stream as a keystroke it does not go through the
 keyboard handler but straight to the keystroke simulator.  That way we can
 narrow the problem area.
 
 Can you send me an example of this so I can take a look at it?  It does 
 not
 happen within the emulator itself or else I do not know how to recreate it 
 on my
 side.
 
 Regards
 
 Kenneth
 
 Quoting [EMAIL PROTECTED]:
 
  Kenneth, 
  
  when the emulator hangs, it hangs. A reset (using eg left-ctrl) 
 doesn't 
  solve the problem.
  
  HTH,
  Wim.
  
  
  
  
  
  
  Kenneth Pouncey [EMAIL PROTECTED] 
  Sent by: [EMAIL PROTECTED]
  24/06/2005 17:55
  Please respond to
  tn5250j-general@lists.sourceforge.net
  
  
  To
  tn5250j-general@lists.sourceforge.net
  cc
  
  Subject
  Re: [Tn5250j-general] Emulator hangs
  
  
  
  
  
  
  
  Wim and Ignacio
  
  I was thinking about this little problem.  To see if it is the 
  keybuffering that
  is causing the problem let's try something.
  
  At the end of your keys that your are sending insert as the last key 
  sequence
  [reset].
  
  The last thing it will do is clear the keybuffer after all is done.  If 
  this
  solves it then we will need to debug the keybuffering if I can get an 
  example
  from you guys and reproduce the code.
  
  Let me know if it works.  I am not sure but it could depend on the 
 version 
  of
  the code that you are running against because I remember having a 
 problem 
  with
  not being able to even send a reset key at one time (not sure of the 
  release
  right now).  If you can run the code base and create the KB at the the 
  bottom
  then press the reset key the KB should go off and the buffered keys 
 should 
  be
  cleared.
  
  Regards
  
  Kenneth
  
  
  
  
  Quoting Kenneth Pouncey [EMAIL PROTECTED]:
  
   
   Hola Ignacio
   
   You have not stolen the thread at all.  We need all the input that we 
  can
   get
   and is the reason this list exists.  At least we know that it is not 
  just
   one
   person having this problem and it is reproducable. 
   
   You must be doing that same things as Wim and his company so if both 
 or 
  one
   of
   you can send me some sample code on how you are calling this I can 
 give 
  it a
   debug.
   
   Gracias
   
   Kenneth
   
   Quoting [EMAIL PROTECTED]:
   
Hello,

We don't pass data by keystroke emulation, however, sometimes our 
  users
tell us about similar problems: while they were working on the 
  emulation,
sometimes it hangs showing KB at the bottom part of display. At the
   moment,
we don't have much information about it.

( I am sorry, I have stolen this thread )

Ignacio.





[EMAIL PROTECTED] con fecha 24/06/2005 14:49:17

Por favor, responda a tn5250j-general@lists.sourceforge.net

Destinatarios: tn5250j-general@lists.sourceforge.net
CC:(cci: Ignacio Lacosta/RIU/ES)
Asunto:   [Tn5250j-general] Emulator hangs




Hello all,

We use the emulator embedded in our apps. When called upon we create 
 a
session, pass is userid, password, initial command etc and display 
 the
emulator. All data is injected into the system by keystroke 
 emulation. 
  As
such the user sees the login and bootstrap process. To minimize this 
 
  we
hold the emulator invisible for a while (configurable amound of
millisecs).

What we noticed now at a customer site is that, the emulator often 
  hangs
on the launching on the command, not in system X mode, but in KB 
 mode. 
  You
can not do anything to unblock this, nor do you see anything special 
 
  at
AS/400 side for the job. You can just stop the emulator and restart. 
 
  If we
however augment our invisibility period to a longer time, the hangs 
  occur
much less frequent.

Does anybody have any

Re: [Tn5250j-general] PASTE in pop-menu does not work

2005-06-28 Thread Kenneth Pouncey
Marc

Thanks for that.  Can you open another bug report please?

Also did you get my other e-mails about the field exit?

Regards

Kenneth


Quoting Marc Vos [EMAIL PROTECTED]:

 Hi Kenneth,
 
 The last few days I exerienced that the normal pasting of copied text with
 the pop-up menu does not work. Only typing ALT-V works.
 
 Paste special works.
 
 -Marc Vos
 
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] JDK version

2005-06-28 Thread Kenneth Pouncey
Wim

Thanks for the feedback.


Quoting [EMAIL PROTECTED]:

 Hello Kenneth,
 
 I remembered Patrick asking this upgrade, but not from the point of using 
 'new' technologies like nio, I think. Rather to cleanout 1.3 specific code 
 and integrating new APIs. Probably Swing related APIs most of the times.

Ahhh.  Boy misunderstood that then.

 
 As I understood NIO it mostly helps for doing async io indeed but also 
 allow better scalable IO. This is however more server oriented than this 
 client side project is. 

Yes correct the same thing as I thought.

So this would not directly benefit us. However a 
 lot of the multithreading things that are in the code base right, would be 
 gone. You wouldn't have to start a comm-thread for every emulator but use 
 one thread on a channel as a switcher. As you mostly use one emulator 
 session at the time, this wouldn't pose performance problems and do the 
 same thing with less resources.

Well this is what I have been thinking about when using asynchronous but could
not see the benefit of the single thread issue.  I say this because all the
emulator instances can interact at different times not just in one and only one.

For instance I have a query running on one terminal and it updates the screen
while I am on another terminal waiting for the other to finish.  I can still
work on the other terminals and the interaction is still going on in the others.
 There are also timing marks that are sent and heartbeat-keepalives that still
have to be used between the other terminals as well.

I apoligize for my blindnes for all those out there that understand the
asynchronous better than I do but do not see how to handle this situation in the
channel switching code.  Will this work?  If it will then it is an option for me
to continue with.  I would really hate to tear all of that code apart again just
to find out it will not work.  Like I said have only used the asynchronous in a
small server part but my mind will not wrap around putting this to use on the
client side.

Maybe I am not seeing the forest for the trees in front.

Thanks for the feedback Wim.

Regards

Kenneth

 
 HTH,
 Wim.
 
 
 
 
 
 Kenneth Pouncey [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 28/06/2005 11:44
 Please respond to
 tn5250j-general@lists.sourceforge.net
 
 
 To
 tn5250j-general@lists.sourceforge.net
 cc
 
 Subject
 [Tn5250j-general] JDK version
 
 
 
 
 
 
 
 
 Hello all 
 
 I remember a post, from Patrick I think, that was asking to move the 
 emulator up
 to 1.4 and use some of the features for those greater than 1.3.
 
 I am assuming that would mean to use the NIO streams, channels and the 
 such correct?
 
 If that is the case what would using the NIO help us achieve that can not 
 be
 done now?  Would it be better?  What would be the goal?
 
 I ask because after having used the NIO in a couple of small projects it 
 really
 only helps for asynchronous correct?  We really use synchronous on the 
 client
 side and really do not see any speed enhancment or anything like that when 
 using
 the synchronous model.
 
 If anyone suggests the asynchronous model for doing this could they tell 
 me why
 that would help.  I do not see it but am open to learning the benefits and 
 the
 coding if it will help us reach a goal.
 
 Regards
 
 Kenneth
 
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Emulator hangs

2005-06-24 Thread Kenneth Pouncey
Hello Wim

Do you have a code snippet for me to test with and example signon scenario?

I have not done this so would need to actually see the code to give it a try and
debug if there is a problem with the Key handling routines.

Regards

Kenneth


Quoting [EMAIL PROTECTED]:

 Hello all,
 
 We use the emulator embedded in our apps. When called upon we create a 
 session, pass is userid, password, initial command etc and display the 
 emulator. All data is injected into the system by keystroke emulation. As 
 such the user sees the login and bootstrap process. To minimize this we 
 hold the emulator invisible for a while (configurable amound of 
 millisecs). 
 
 What we noticed now at a customer site is that, the emulator often hangs 
 on the launching on the command, not in system X mode, but in KB mode. You 
 can not do anything to unblock this, nor do you see anything special at 
 AS/400 side for the job. You can just stop the emulator and restart. If we 
 however augment our invisibility period to a longer time, the hangs occur 
 much less frequent. 
 
 Does anybody have any ideas about what is causing this problem?
 
 Thanks for any input on this,
 Wim Van Leuven.
 
 
 
 
 
 
 Kenneth Pouncey [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 02/06/2005 10:12
 Please respond to
 tn5250j-general@lists.sourceforge.net
 
 
 To
 tn5250j-general@lists.sourceforge.net
 cc
 
 Subject
 Re: [Tn5250j-general] New to tn5250j
 
 
 
 
 
 
 What would you call these keying actions?
 
 Like for instance the ALT + arrow left/right is called Cursor Next Word 
 and
 Cursor Previous Word.  What would be the description of these?
 
 Quoting Marc Vos [EMAIL PROTECTED]:
 
  Kenneth,
  
   2) ALT + arrow left/right is great! Quickly moving across the screen 
 could
   be enhanced when you could add a CTRL + arrow left/right/up/down
  combination
   which would jump 3 spaces left/right or lines up/down. Can I configure
  that
   myself?
   
   ---
   
   Actually have thought about this myself but never really got around to
   implementing it.  Humm will have to think about it.
   
   Could you open up a request for enhancement out on the site for me?
  
  Done.
  
  -Marc
  
  
  
  
  ---
  This SF.Net email is sponsored by Yahoo.
  Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
  Search APIs Find out how you can build Yahoo! directly into your own
  Applications - visit 
 http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
  
 
 
 
 
 
 
 ---
 This SF.Net email is sponsored by Yahoo.
 Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
 Search APIs Find out how you can build Yahoo! directly into your own
 Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Exception on startup with 0.6.0

2005-06-24 Thread Kenneth Pouncey
Stefan

Thank you for the information.  I never seem to be rid of that darn message.  I
will change it though so that we will not get it anymore.  The message was left
there on purpose during all the graphic refactoring but I think can be gotten
rid of now.  Like you said it still runs when this error occurs so can trap it
and do some wait code until it is not null.

I will post when the code has actually been implemented if you can test for me
to make sure I do not mess something else up.  That pops up here once in a blue
moon so can not seem to actually trap the sequence.

Regards

Kenneth

Quoting Stefan Bayer [EMAIL PROTECTED]:

 I get following exception on startup, but session seems to run normally, so
 I don't know if this is important for you.
 I'm using JRE 1.5.0_3 on WindowsXP Prof. SP2
 
 
 No other instances of tn5250j running.
 0[main] INFO  org.tn5250j.framework.common.SessionManager  - New session
 Man
 ager initialized
 78   [main] INFO  org.tn5250j.framework.Tn5250jController  - plugin
 directory is
 : C:\Programme\tn5250j\bin\ext
 78   [main] INFO  org.tn5250j.framework.Tn5250jController  - Tn5250j plugin
 mana
 ger created
 94   [Thread-2] INFO  org.tn5250j.framework.Tn5250jController  - Tn5250j
 plugin
 manager started
 Exception in thread AWT-EventQueue-0 java.lang.NullPointerException
 at org.tn5250j.GuiGraphicBuffer.getDrawingArea(Unknown Source)
 at org.tn5250j.GuiGraphicBuffer.drawCursor(Unknown Source)
 at org.tn5250j.GuiGraphicBuffer.onScreenChanged(Unknown Source)
 at org.tn5250j.framework.tn5250.Screen5250.fireCursorChanged(Unknown
 Sou
 rce)
 at org.tn5250j.framework.tn5250.Screen5250.updateCursorLoc(Unknown
 Sourc
 e)
 at org.tn5250j.framework.tn5250.Screen5250.setCursorOn(Unknown
 Source)
 at org.tn5250j.framework.tn5250.Screen5250.setCursorActive(Unknown
 Sourc
 e)
 at org.tn5250j.GuiGraphicBuffer.actionPerformed(Unknown Source)
 at javax.swing.Timer.fireActionPerformed(Unknown Source)
 at javax.swing.Timer$DoPostEvent.run(Unknown Source)
 at java.awt.event.InvocationEvent.dispatch(Unknown Source)
 at java.awt.EventQueue.dispatchEvent(Unknown Source)
 at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
 Source)
 
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
 Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
 at java.awt.EventDispatchThread.run(Unknown Source)
 
 
 
 hope that helps
 
 Stefan
 
 [EMAIL PROTECTED]
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Fieldexit with plus-key

2005-06-21 Thread Kenneth Pouncey

Marc

I will try and make some time tomorrow.  I will write a personal mail to 
you because I will need some debug info.


Regards

Kenneth

Marc Vos wrote:


Hi Kenneth,

I had a strange experience. When I'm in UPDDTA and position the cursor on
the last visible character of a text input field and press the +-key from
the keypad (positive advance next field), the character remains. But should
be removed Example:

   ABCDEF__

Put the cursor on F and press the +-key. F remains: ABCDEF__

Put the cursor on the E and press the +-key: EF is deleted: ABCD

Put the cursor on the A and press the +-key: ABCD is deleted: 

Now, do the same on 1-character input field: you won't be able to remove the
character that's there. Example:

   A

Put cursor on A and press +-key of the keypad. A remains. It won't go away.
But it should go away.


This does not happen with PDM, Query, QCMD, my own programs, etc. So what
kind of fields are they, these fields in UPDDTA?


Regards,

Marc Vos




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.

 




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Release

2005-06-17 Thread Kenneth Pouncey




Richard

I have heard that before but have never gotten that. Maybe a 1.5
problem but without testing can not be sure. Anyway this should be
fixed in CVS now. Update and give it a try.

Richard Houston wrote:

  One small thing. I seem to have an issue when starting th5250j. Once the
connection screen pops up it is behind the tn5250j splash screen. If I
click on the connection screen the connection screen will not pop above
the splash screen.

The splash screen seems frozen and will not move and no window will pop
above it. Once I connect the splash screen goes away and all is good
again.

Any ideas?

I am testing with sun jdk 1.5.0_3 complied with the same version on Linux.

Also the spawn issue with firefox work now!




Regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+

Kenneth Pouncey said:
  
  

Hello all

What is in CVS will be frozen as of tomorrow my time unless there are some
show
stoppers.  I will put out a release tomorrow or saturday.

The release number will be 0.6.0.  If anybody has any opinions on this let
me know.

Regards

Kenneth



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general



  
  


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.

  





Re: [Tn5250j-general] Release

2005-06-17 Thread Kenneth Pouncey
Oh and great about the external browser problem.  I just hope it works for 95%
of the cases.

Regards

Kenneth
Quoting Kenneth Pouncey [EMAIL PROTECTED]:

 Richard
 
 I have heard that before but have never gotten that.  Maybe a 1.5 
 problem but without testing can not be sure.  Anyway this should be 
 fixed in CVS now.  Update and give it a try.
 
 Richard Houston wrote:
 
 One small thing. I seem to have an issue when starting th5250j. Once the
 connection screen pops up it is behind the tn5250j splash screen. If I
 click on the connection screen the connection screen will not pop above
 the splash screen.
 
 The splash screen seems frozen and will not move and no window will pop
 above it. Once I connect the splash screen goes away and all is good
 again.
 
 Any ideas?
 
 I am testing with sun jdk 1.5.0_3 complied with the same version on Linux.
 
 Also the spawn issue with firefox work now!
 
 
 
 
 Regards,
 +--+
 | Richard Houston  .^. |
 | R.L.H.  Consulting   /V\ |
 | E-Mail  [EMAIL PROTECTED]/(   )\   |
 | WWW www.rlhc.net  ^^-^^|
 +--+
 
 Kenneth Pouncey said:
   
 
 Hello all
 
 What is in CVS will be frozen as of tomorrow my time unless there are some
 show
 stoppers.  I will put out a release tomorrow or saturday.
 
 The release number will be 0.6.0.  If anybody has any opinions on this let
 me know.
 
 Regards
 
 Kenneth
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 
 
 
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 .
 
   
 
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


[Tn5250j-general] Samples/Examples

2005-06-17 Thread Kenneth Pouncey

Good Morning Wim and all

My example will be using the Applet version and a servlet.  The next was going
to be a sample for SessionBean and attaching to a custom JFrame as we mentioned
in the portal thread.  If you will be doing something like this I can go on to
something else.

Does anybody out there have any ideas/suggestions for sample code they would
like to see?

So far we have the following:

1) Applet with servlet interface to obtain user signon information.
2) Applet with use of scanner() interface.
3) Applet with use of scanner() interface and SessionListener.

In progress for myself:
1) A basic example of using headless to control a session and send keys.  The
Web5250 interface is a great example of this but is a little complicated for an
example.

Any others please update here so we do not step on each other.

1) ...

Suggestions:

1) ...

Regards

Kenneth



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


[Tn5250j-general] STRPCCMD - STRPCO uses?

2005-06-17 Thread Kenneth Pouncey


Hello all

I have seen a couple of people now trying to use this command.  Does anybody
have any ideas on it's use or do they use it?  If so then how?

The reason I ask is that I do beleive we can do this within the emulator as
well.   That would work for linux environments as well :-))

If there is enough interest in this I will give it a try for the next release?

Also if anybody has any technical documentation on this and would share it with
me that would be great.

Regards

Kenneth



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] STRPCCMD - STRPCO uses?

2005-06-17 Thread Kenneth Pouncey

Wim

I have been thinking about this ever since Ignacio posted to the list.  My idea
was to implement our own STRPCCMD command maybe called STRPCCMDJ or something
stupid like that.  Here we just attach a scan listener like you do in one of the
modules maybe My5250 and take care of it that way.  When we get the command we
can parse it and anything that has #!STRPCCMD x in it we just execut it.
 Was going to be one of my sample/examples :-)

Technical question?  Is there a special stream passed back for this type of
call?  If there is would it be the -128 code that Ignacio posted?  If it is
where did he get the information from?

Also what do they use it for?  Sorry but can not really think of a use.  Am just
a lowly programmer and not into the solutions that you and the others out there 
do.

Cool!!!  Let's make this sucker jump through some hoops now that the code base
is stable.  This could turn out to be a lot more flexible that what CA provides
as well.  We could also allow a custom implementation to be loaded from the
command line so the clients can load their own modules to handle this in their
own way.

Regards

Kenneth

Quoting [EMAIL PROTECTED]:

 Hello Kenneth,
 
 I've been looking on this issue also, because STRPCCMD is used by almost 
 all of our customers. So, I think we should implement it next to the 
 scanning solution. I was wondering though if the streamdetection should do 
 a callback to an interface, or should immediately run the command as it is 
 so basic/standard functionality that a callback would be overhead. 
 
 Not sure though what to scan for.
 
 Wim.
 
 
 
 
 
 
 Kenneth Pouncey [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 17/06/2005 09:36
 Please respond to
 tn5250j-general@lists.sourceforge.net
 
 
 To
 tn5250j-general@lists.sourceforge.net
 cc
 
 Subject
 [Tn5250j-general] STRPCCMD - STRPCO uses?
 
 
 
 
 
 
 
 
 Hello all
 
 I have seen a couple of people now trying to use this command.  Does 
 anybody
 have any ideas on it's use or do they use it?  If so then how?
 
 The reason I ask is that I do beleive we can do this within the emulator 
 as
 well.   That would work for linux environments as well :-))
 
 If there is enough interest in this I will give it a try for the next 
 release?
 
 Also if anybody has any technical documentation on this and would share it 
 with
 me that would be great.
 
 Regards
 
 Kenneth
 
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 






---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Passing User ID and Password in Applet

2005-06-16 Thread Kenneth Pouncey

and link to the archives.

Scroll down to tn5250j portal thread.

http://www.mail-archive.com/tn5250j-general@lists.sourceforge.net/

Pete Helgren wrote:

I had posted some of this about two years ago when I first started 
working with the 5250 applet.  The problems that I had (and still 
have) have to do with the passing of UserID and password in the clear 
when I start an applet session.  Gaurav posted some code that has a 
servlet that talks to the applet and passes the password back to it.  
I think I can follow the approach but wanted to know if anyone else 
had solved this problem in a different way.


We have an HTML based menuing system that runs on the iSeries (under 
an Apache web server).  The user logs in via an HTML login prompt and 
then the menu(s) are generated from there.  Some of the menu items are 
HTML based but some are 5250 apps and we launch them using tn5250j in 
an applet.  We generate the HTML that launches the applet on the fly 
using a template but so far we have had to pass the password in the 
clear, not a good solution.  So, if you have any ideas that we could 
use to start the applet without passing the password in the clear, I'd 
like to hear about it.


We also have a need to end the application gracefully when the users 
are done running the 5250 application.  Right now, we display a 
message that says Click the Exit link to end the program and the 
user has to click the link to end the session.  What I would like to 
do is have the applet close when the 5250 application has ended 
automatically.  I am not sure how to accomplish this since the 5250 
session would have to tell the applet to close


I'd appreciate anyone's idea as to how to solve these two issues as 
simply as possible.

Thanks,

Pete Helgren


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.




---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Passing User ID and Password in Applet

2005-06-16 Thread Kenneth Pouncey




Pete

Here is the part about the flow control that he uses and is actually
quite cool for the implementation. Had not thought of doing it that
way. It would be a change on the host but very small as the original
command is wrapped and the application process is not changed in anyway.

=
- What we normally do, is to wrap the
normal command they want to launch in a special command of our own.
E.g.
instead of issuing a WRKUSRJOB USER(user) we issue a STRCMD
CMD('WRKUSRJOB
USER(user)'); the only thing our STRCMD does is launching the command,
but when the normal command ends and we fall back in the program
stacking
onto our wrapper command, we send the !# event or just do a signof with
disconnect. The emulator at the Java side knows to close itself then.
In
GUI mode we can then even issue 5250 as modal dialogs etc without a
problem.
So we do make it interactive! We can not however send back information
towards the web application directly as we can keep synchronisations in
there. We did once start to cache the 5250 sessions, but that poses
more
of problem than it brings advantages. The only thing I still would like
is to be able to create a protocol bean, connect it, start the initial
command and only then hook it to a interactive terminal. This way the
user
would'n see the login and launch scenario pass by as they do now.



Here is the link to the full message:

http://www.mail-archive.com/tn5250j-general@lists.sourceforge.net/msg00219.html

This should solve just about everything except the user and password
problem but am thinking of the applet to servlet would take care of
this or the SessionBean and wrapping everything up yourself in your own
Applet code.

Regards

Kenneth

Pete Helgren wrote:
I had
posted some of this about two years ago when I first started working
with the 5250 applet. The problems that I had (and still have) have to
do with the passing of UserID and password in the clear when I start an
applet session. Gaurav posted some code that has a servlet that talks
to the applet and passes the password back to it. I think I can follow
the approach but wanted to know if anyone else had solved this problem
in a different way.
  
  
We have an HTML based menuing system that runs on the iSeries (under an
Apache web server). The user logs in via an HTML login prompt and then
the menu(s) are generated from there. Some of the menu items are HTML
based but some are 5250 apps and we launch them using tn5250j in an
applet. We generate the HTML that launches the applet on the fly using
a template but so far we have had to pass the password in the clear,
not a good solution. So, if you have any ideas that we could use to
start the applet without passing the password in the clear, I'd like to
hear about it.
  
  
We also have a need to end the application gracefully when the users
are done running the 5250 application. Right now, we display a message
that says "Click the Exit link to end the program" and the user has to
click the link to end the session. What I would like to do is have the
applet close when the 5250 application has ended automatically. I am
not sure how to accomplish this since the 5250 session would have to
"tell" the applet to close
  
  
I'd appreciate anyone's idea as to how to solve these two issues as
simply as possible. 
Thanks,
  
  
Pete Helgren
  
  
  
---
  
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
  
from IBM. Find simple to follow Roadmaps, straightforward articles,
  
informative Webcasts and more! Get everything you need to get up to
  
speed, fast.
http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
  
___
  
Tn5250j-general mailing list
  
Tn5250j-general@lists.sourceforge.net
  
https://lists.sourceforge.net/lists/listinfo/tn5250j-general
  
  
.
  
  





Re: [Tn5250j-general] Applet [was]Passing User ID and Password in Applet

2005-06-16 Thread Kenneth Pouncey




Hello Gaurav

Yes been a while. Just some questions if you have the time.

What did you find annoying about using the emulator as an applet? Pete
says that it was back in 2003 that you were doing this correct? Also;
only for straight emulation and sending keystrokes. You never needed
to manipulate the emulator within any application framework correct?

If using the ActiveX you were stuck using IE and windows so no other
OS's to support I assume. Does there ActiveX component allow you to
catch events and manipulate it in anyway besides keystrokes?

I ask these questions because I really have no use for applets and was
just trying to get some feedback on the usefulness of them and the
why's and where fores of using them.

If you were to change anything in the 5250j applet what would it be?

Regards

Kenneth

[EMAIL PROTECTED] wrote:

  Hi Pete/Kenneth,
  
  
  Been a while, but I keep following
the
goings-on in this group from time to time.
  
  I had done a POC a couple of years
ago
as Pete mentioned. I was successfully able to pass the
username/password
to the applet from a servlet. The applet had to be signed for this
purpose.
The username/password pair was present in a text file in my local file
system. The password was encrypted using a simple encryption tool.
  
  But the business users still had a
problem
putting the password, even though encrypted, in a text file. Some other
team in my project has been working on the project now and they have
dropped
the web aspect of it, i.e. the applet-HTML interface. From a web page,
they launch and use the Mocha 8.0 emulator combined with an ActiveX
control
to pass the keystrokes to the emulator.
  
  Do lemme know if I can provide you
any
more info.
  
  
BR/ Gaurav
  
  
  
  
  

  
Kenneth
Pouncey [EMAIL PROTECTED]

Sent by:
[EMAIL PROTECTED]
06/16/2005 12:07 PM

  

  
  Please
respond to
tn5250j-general@lists.sourceforge.net
  

  






  

  
  To
  
  tn5250j-general@lists.sourceforge.net
  


  
  cc
  
  
  


  
  Subject
  
  Re:
[Tn5250j-general] Passing User ID
and Password in Applet

  



  

  
  
  
  
  

  



  

  
  
  
  
  Pete
  
Here is the part about the flow control that he uses and is actually
quite
cool for the implementation. Had not thought of doing it that way.
It would be a change on the host but very small as the original
command
is wrapped and the application process is not changed in anyway.
  
=
- What we normally do, is to wrap the normal command they want to
launch
in a special command of our own. E.g. instead of issuing a WRKUSRJOB
USER(user)
we issue a STRCMD CMD('WRKUSRJOB USER(user)'); the only thing our
STRCMD
does is launching the command, but when the normal command ends and we
fall back in the program stacking onto our wrapper command, we send the
!# event or just do a signof with disconnect. The emulator at the Java
side knows to close itself then. In GUI mode we can then even issue
5250
as modal dialogs etc without a problem. So we do make it interactive!
We
can not however send back information towards the web application
directly
as we can keep synchronisations in there. We did once start to cache
the
5250 sessions, but that poses more of problem than it brings
advantages.
The only thing I still would like is to be able to create a protocol
bean,
connect it, start the initial command and only then hook it to a
interactive
terminal. This way the user would'n see the login and launch scenario
pass
by as they do now.

  
  
Here is the link to the full message:
  
  http://www.mail-archive.com/tn5250j-general@lists.sourceforge.net/msg00219.html
  
This should solve just about everything except the user and password
problem
but am thinking of the applet to servlet would take care of this or the
SessionBean and wrapping everything up yourself in your own Applet code.
  
Regards
  
Kenneth
  
Pete Helgren wrote: 
  
  I had posted some of this about two years ago when I
first
started working with the 5250 applet. The problems that I had (and
still have) have to do with the passing of UserID and password in the
clear
when I start an applet session. Gaurav posted some code that has
a servlet that talks to the applet and passes the password back to it.
I think I can follow

[Tn5250j-general] CVS update

2005-06-14 Thread Kenneth Pouncey

Hello all

I have committed the changes for Marc's request for pasting long text 
lines and the URL problem for hotspots reported by Richard.


Also updated the build.xml to output the correct version information.

Regards

Kenneth


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Terminal type in tnvt and STRPCCMD

2005-06-14 Thread Kenneth Pouncey
Hola Ignacio

Si no intiendes algo me dices y puedo explicartelo en espanol.

This is what I was wondering how you implemented.

In the writeToDisplay you added a -128 byte code?  If so where is -128 defined
and how do you receive it?  Did you change the application displays to get it 
there?

If you did change the the applications then I think we have a better way to
handle this within the code base called command scanning.  It was an idea I
had with an elementary implementation in the code base but Wim and his company
went on to make if a full fledged implementation that they use for exactly that
reason.

Within tnvt.java from cvs take a look at:

// WVL - LDC : TR.000300 : Callback scenario from 5250
/**
 * When command scanning is activated, the terminal reads the first and
 * second character in the datastream (the zero position allows to
 * devisualize the scan stream). If the sequence code#!/code is
 * encountered and if this sequence is strongnot /strong followed 
by a
 * blank character, the [EMAIL PROTECTED] parseCommand(ScreenChar[])}is 
called.
 */
private void scan() {


So if this might work a little better for you and is a cleaner implementation.

Regards

Kenneth


Quoting [EMAIL PROTECTED]:

 
 Hi Kenneth,
 
 
 (I am sorry if got wrong sending mail to incorrect list.)
 
 I am not able to check the list daily, but I should do it.
 
 For enable STRPCCMD we add this code to tnvt class in method
 writeToDisplay:
 
 case -128: //strpccmd
 String
 comparar=-4-41-61-4264-125-128-95-128-128;
 String comparar2=;
 for (int i=1;i11;i++)
 comparar2+=bk.getNextByte();
 if(comparar.equals(comparar2))
 {
 String comando=;
 int currentbyte=0;
 while(currentbyte!=2)
 {
 
 comando+=ebcdic2uni(currentbyte);
 
 currentbyte=bk.getNextByte();
 }
 
 ejec(comando.substring(1,comando.length()));
 bk.setPrevByte();
 
 screen52.sendKeys(screen52.MNEMONIC_ENTER);
 }else{
 for (int i=1;i11;i++)
 bk.setPrevByte();
 }
 
 The ejec call performs a simple execution of local program specified by
 the argument, which can contains arguments in the same string, eg:
 ejec(/var/bin/firefox http://intranet/help.jsp?book=13;)
 
 In AS400 part, we can made STRPCO (Start Personal Communications) and then
 STRPCCMD with the string referred in the above example. In Client Access
 there is a component pco.exe which gets this call and executes the local
 process.
 
 When user ends his AS400 session he gets a message telling PCO.EXE IS NOT
 FOUND. PRESS ENTER. We were solving this make up issue by sending the
 intro automatically after log out.
 
 One minor problem we have, (as I consider but not our users), is at the
 begining of applet loading. When the applet is started and you can see the
 first screen, you have to do a few mouse clicks within before you are able
 to type in. This behaviour does not happen when we use tn5250j in desktop
 way.
 
 We are going to use tn5250j in a very intensive way 7/24 and our users are
 very, very demanding, especially about keys behaviour. I am sure we will
 have problems keeping our code with the project cvs.
 
 (I hope my English would be a little clear. I am not very confident with
 it.)
 
 Regards
 
 Ignacio.
 
 
 
 Ignacio
 
 Could you please join our tn5250j-general mailing list.  I
 would really like to discuss this with you and there are
 quite a few people that would be interested in this.  If you
 could please copy and paste this last message when you join
 because I have a few questions about the change and what it
 did and why.  This comment area is not a good medium to chat
 back and forth with.
 
 Also if you would like to change the source in cvs I can
 give you access so we can keep up to date.
 
 Am very interested in your implementation of the STRPCCMD
 and what you are doing here.
 
 Well that is if you guys are willing to discuss this with us.
 
 Congrats on finding that because I never would have.
 
 Please join us as I am looking forward to some discussions
 with other developers that are actually changing the code.
 
 Regards
 
 Kenneth
 
 

Re: [Tn5250j-general] Hotspot issue with http and https

2005-06-13 Thread Kenneth Pouncey
Richard

Found the problem with this.  I can send you the fix if you would like for 
testing.


Regards

Kenneth

Quoting Kenneth Pouncey [EMAIL PROTECTED]:

 Richard
 
 Richard Houston wrote:
 
 Hey all,
 
 Just wanted to let you know we have been testing 0.5.8 Alpha2 all day and
 all seams good with the exception of one issue. It seem that the http and
 https based hotspots are broken. :0
   
 
 
 What is happening?  I tested on a windows machine and it worked.
 
 If I single or double click on a https link nothing happens. The XSystem
 in the bottom left corner flashes quickly bit nothing happens after that.
   
 
 hummm  that is weird
 
 Now if I click on a http link nothing happens but if I double click on the
 http link it is like I hit the F3 key an it exits the screen.
   
 
 Do you have the option for double click sends enter turned on?
 
 Very strange. Anything I can do to help debug? This is on Linux and JDK
 1.4.2_06
   
 
 There should be a debug message that is sent when a link is clicked.  I 
 will have to go in and look again though.
 
 The message should read something like : Sending to external browser: 
 http://xx
 
 Kenneth
 
 Thanks!
 
 
 
 Regards,
 +--+
 | Richard Houston  .^. |
 | R.L.H.  Consulting   /V\ |
 | E-Mail  [EMAIL PROTECTED]/(   )\   |
 | WWW www.rlhc.net  ^^-^^|
 +--+
 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
 a projector? How fast can you ride your desk chair down the office luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 .
 
   
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
 a projector? How fast can you ride your desk chair down the office luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


RE: [Tn5250j-general] CVS update

2005-06-10 Thread Kenneth Pouncey

Patrick

Thanks for the offer but it is already done.  It should all be there now.

Kenneth

Quoting Patrick Bielen [EMAIL PROTECTED]:

 Hi Kenneth,
  
  Oh man am not looking forward 
  to updating cvs at all.
 
 I know how you feel :-)
 
  I would like to extend an open offer to anybody 
  with cvs update access to help me out or anybody 
  that would like to have cvs access.  I can send 
  them the sources and we can take parts and update 
  them to cvs.  That will go faster and that way 
  we have a couple of people to help out.  
 
 Sure, i'll help, it'll be a bitch to handle anyway,
 cause almost every frigging file is different.
 
  I have to prepare my machine and a development 
  environment before I can do this myself.
 
 I understand.
 
  Any takers?
 
 Sure, send me the sources again so that i'm completely
 up-to-date with the source that should be in CVS.
 
 Met vriendelijke groeten,
 Best Regards,
  
 Patrick Bielen
  
 System-Administrator Stafa Holland BV
 Microsoft Certified Professional
 Sun Certified Java Programmer
 
 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
 a projector? How fast can you ride your desk chair down the office luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] New problems arise after build from cvs

2005-06-10 Thread Kenneth Pouncey
Patrick

Try using a fresh check out instead of a refresh.

After compileing do an 

ant run

And see if it works that way.


Quoting Patrick Bielen [EMAIL PROTECTED]:

 Hi All,
  
 Just refreshed and builded tn5250j from CVS.
 When i run tn5250j from netbeans then all is ok (run the my5250.class)
 but when i build with ant, and then copy the tn5250j.jar from the
 build to the production dir (which is C:\tn5250j on all the windows-boxes
 here) and then run tn5250j then i get the next error.
  
 C:\tn5250jjava -jar tn5250j.jar
 No other instances of tn5250j running.
 Exception in thread main java.lang.NullPointerException
 at javax.swing.ImageIcon.init(Unknown Source)
 at org.tn5250j.tools.GUIGraphicsUtils.createImageIcon(Unknown
 Source)
 at org.tn5250j.gui.TN5250jSplashScreen.init(Unknown Source)
 at org.tn5250j.My5250.init(Unknown Source)
 at org.tn5250j.My5250.main(Unknown Source)
  
 So seems there is something wrong with the classpath after the build of the
 jar.
  
 Anyway, gonna track the problem now, but keep in mind that when you
 distribute the jar to new users that problems can arise...
  
 Met vriendelijke groeten,
 Best Regards,
  
 Patrick Bielen
  
 System-Administrator Stafa Holland BV
 Microsoft Certified Professional
 Sun Certified Java Programmer
  
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Selection rectangle

2005-06-10 Thread Kenneth Pouncey

Marc

never noticed that before but it does happen the way you say.  Will look at it.

Kenneth

Quoting Marc Vos [EMAIL PROTECTED]:

 Hi Kenneth,
 
 
 I noticed that the selection rectangle behaves different when you select a
 portion of the screen with the mouse or by holding down the shift key and
 moving with the arrow keys.
 
 Selecting a portion with keys in this order:
 ---
 - Pressing RESET: rectangle remains visible, selection remains active.
 - Pressing ENTER: rectangle dissappears, selection remains active
 - Pressing ENTER again: rectangle remains invisible, selection remains
 active.
 - Call a program: rectangle remains invisible, selection remains active.
 
 So there's no way to get the rectangle to appear again.
 
 Selecting a portion with the mouse in this order:
 --
 - Pressing RESET: rectangle dissappears, selection remains active.
 - Pressing ENTER: rectangle re-appears, selection remains active
 - Pressing ENTER again: rectangle still visible, selection remains active.
 - Call a program: rectangle still visible, selection remains active.
 
 
 Regards,
 
 -Marc Vos
 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
 a projector? How fast can you ride your desk chair down the office luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] Selection rectangle

2005-06-10 Thread Kenneth Pouncey

Marc

Well I thought it might be easy to fix but really do not feel like digging into
the painting code right now.  Will put this on the back burner for now.  

If it was not for the utmost importance to have a copy paste I swear I would rip
that darn bounding rectangle out :-/

Kenneth

Quoting Kenneth Pouncey [EMAIL PROTECTED]:

 
 Marc
 
 never noticed that before but it does happen the way you say.  Will look at
 it.
 
 Kenneth
 
 Quoting Marc Vos [EMAIL PROTECTED]:
 
  Hi Kenneth,
  
  
  I noticed that the selection rectangle behaves different when you select a
  portion of the screen with the mouse or by holding down the shift key and
  moving with the arrow keys.
  
  Selecting a portion with keys in this order:
  ---
  - Pressing RESET: rectangle remains visible, selection remains active.
  - Pressing ENTER: rectangle dissappears, selection remains active
  - Pressing ENTER again: rectangle remains invisible, selection remains
  active.
  - Call a program: rectangle remains invisible, selection remains active.
  
  So there's no way to get the rectangle to appear again.
  
  Selecting a portion with the mouse in this order:
  --
  - Pressing RESET: rectangle dissappears, selection remains active.
  - Pressing ENTER: rectangle re-appears, selection remains active
  - Pressing ENTER again: rectangle still visible, selection remains active.
  - Call a program: rectangle still visible, selection remains active.
  
  
  Regards,
  
  -Marc Vos
  
  
  
  
  ---
  This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
  shotput
  a projector? How fast can you ride your desk chair down the office luge
  track?
  If you want to score the big prize, get to know the little guy.  
  Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
  
 
 
 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
 a projector? How fast can you ride your desk chair down the office luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] tn5250j portal

2005-06-09 Thread Kenneth Pouncey
Wim

Beleive me I will be the first to admit that the code is not the best OO code
base.  Although it is a hell of a lot better than it used to be.  I think the
refactoring went well over all IMHO.

Actually started to write him about the SessionBeans class but decided not to
get in the middle.  Am thinking maybe he based this off of an old distribution
code base and not CVS as he mentions in the article to download the latest
source bundle.

Anyway it is good to see something different for the use of the codebase so it
can not be too bad.

What exactly are going to try to do with this if you do not mind me asking? 
Will you be using portals like the article mentions?  If so what are the
benefits and or uses of this over an applit or starting from java webstart?

I ask so that maybe we can get something written up to some extent on how you
will actually go about doing this without all the modifications.  We can put it
out on the website or your company website.

Regards

Kenneth

Quoting [EMAIL PROTECTED]:

 Hello Kenneth, 
 
 Maybe what he says is true, but if you start hacking the GUI class to 
 inject you own user credentials, you do worse then structuring not the 
 best OO code. Why doesn't he just use the SessionBeans class and wrap it 
 up in his own JFrame to webstart that one?
 
 We have a project under way next weeks that has to do exactly what that 
 guy is talking about.
 
 
 Regards,
 Wim.
 
 
 
 
 Kenneth Pouncey [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 08/06/2005 22:10
 Please respond to
 tn5250j-general@lists.sourceforge.net
 
 
 To
 tn5250j-general@lists.sourceforge.net
 cc
 
 Subject
 [Tn5250j-general] tn5250j portal
 
 
 
 
 
 
 Hello all
 
 I thought this was pretty cool:  
 http://www.itjungle.com/fhg/fhg042005-story01.html
 
 Only negative part was the part of :
 
 From an object-oriented perspective, the TN5250j code base is not the 
 best, but the application itself is really stable.
 
 But other than that nice article.
 
 Kenneth
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] tn5250j portal

2005-06-09 Thread Kenneth Pouncey

Wim

Theoretically that should be possible.  The reason I say theoretically is that
the only thing the gui would do is attach listeners for the object events it
wants to see.  So you should be able to send keys and as long as there are no
listeners attached the events will not be sent.  

After all the keys are sent and the screen you want is there you then send this
through to the GUITerminal which will obtain the information from the object(s)
and then create the event consumers.  Once the consumers are there is when the
gui will start receiving the painting instructions.

Now I have not looked at those in a while but I am not sure why it could not be
done with what is there.  Well I am saying what is there in CVS now for
headless.  Not sure how much code you used from the new headless code or what
was changed but I can not see a problem with doing this at all.

Like I said it would kind of be what is being done with the Web5250 stuff.

If there is a problem with doing it this way I would not think it would be to
much of a problem to change it to work that way.

Damn the flow in my head says it works this way but without an acutal test

Regards

Kenneth




Quoting [EMAIL PROTECTED]:

 Kenneth,
 
 the modals are very simple: you are in a GUI panel, click a button, 5250 
 terminal comes up positioned on a specific screen. The user keys in his 
 information, hits enter and the emulator automatically closes. The GUI 
 underneath picks the use case up again and goes on. While the emulator is 
 open, the GUI is inaccesible.
 
 Secondly, I know the emulator support headless operation throught the 
 protocol bean. But can I create a protocol bean, to everything I need and 
 next create a GUI terminal that hooks up to the protocol bean? Like an new 
 GUITerminal(myProtocolBean). 
 
 wim
 
 
 
 
 
 Kenneth Pouncey [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 09/06/2005 14:56
 Please respond to
 tn5250j-general@lists.sourceforge.net
 
 
 To
 tn5250j-general@lists.sourceforge.net
 cc
 
 Subject
 Re: [Tn5250j-general] tn5250j portal
 
 
 
 
 
 
 Wim
 
 Thanks for taking the time to answer my questions.
 
 Quoting [EMAIL PROTECTED]:
 
  Kenneth, 
  
  - Indeed the SSL is not necessary in our case as it's across VPN or 
  something. The customer has it setup as some special service from their 
  provider using straight through ADSL connections on some kind of 
 corporate 
  infrastructure.
 
 OK
 
  - We'll be working through the sessionbeans indeed; In this case it'll 
 be 
  standard 5250 as we all use it. Not the screenscraping part. 
  - What we normally do, is to wrap the normal command they want to launch 
 
  in a special command of our own. E.g. instead of issuing a WRKUSRJOB 
  USER(user) we issue a STRCMD CMD('WRKUSRJOB USER(user)'); the only thing 
 
  our STRCMD does is launching the command, but when the normal command 
 ends 
  and we fall back in the program stacking onto our wrapper command, we 
 send 
  the !# event or just do a signof with disconnect. The emulator at the 
 Java 
  side knows to close itself then. In GUI mode we can then even issue 5250 
 
  as modal dialogs etc without a problem. 
 
 Could you explain this of the modal dialogs.  Did you have to change the
 application programs to do this?
 
 So we do make it interactive! We 
  can not however send back information towards the web application 
 directly 
  as we can keep synchronisations in there. We did once start to cache the 
 
  5250 sessions, but that poses more of problem than it brings advantages. 
 
  The only thing I still would like is to be able to create a protocol 
 bean, 
  connect it, start the initial command and only then hook it to a 
  interactive terminal. This way the user would'n see the login and launch 
 
  scenario pass by as they do now.
 
 But I think it can work that way now in the code base that is in CVS. 
 Maybe I
 am misunderstanding this because the Web5250 works mostly this way in 
 headless.
 
  - I would really like to donate the screen scraper back to the 
 community. 
  Honestly. The problem right now is that you need a specific view factory 
 
  to scrape the screens correctly. At this point we only have one factory 
  that interprets customer specific screens and is not generally usable. 
 We 
  would like to build such a factory for the IBM 5250 guidelines as we use 
 
  them in all our appliations Then it would become very useful for 
  everybody. We however do not have the time at this point. It is however 
  just a work of a few days. Note that the customer specific factory even 
  translates functions to menu's and toolbar buttons. Another major 
  enhancement would to recognize subfiles and translate them to tables. 
 
 No problems.  Am sure we will get around to it sometime.  We all work 
 within
 time constraints.
 
  
  Hope this helps,
 
 Yes
 
 Regards
 
 Kenneth
  Wim.
  
  
  
  
  
  
  Kenneth Pouncey [EMAIL PROTECTED] 
  Sent by: [EMAIL PROTECTED]
  09/06/2005 11:24

[Tn5250j-general] tn5250j portal

2005-06-08 Thread Kenneth Pouncey




Hello all

I thought this was pretty cool:
http://www.itjungle.com/fhg/fhg042005-story01.html

Only negative part was the part of :

From an object-oriented
perspective, the TN5250j code base is not the best, but the application
itself is really stable.

But other than that nice article.

Kenneth




RE: [Tn5250j-general] Two issues.....

2005-06-07 Thread Kenneth Pouncey

Also this was compiled with a 1.4 version of the JDK so maybe compiling with a
1.5 version is causing the problem.

Patrick can you try compiling with 1.4 version and running it with 5.0 and let's
see if that solves the issue.  If it does compile with 5.0 with 1.4 compat flag
as you mentioned yesterday and see what happens.

If it does not solve it then am not sure exactly what we can do about it.

Regards

Kenneth

Quoting Kenneth Pouncey [EMAIL PROTECTED]:

 
 Hello all
 
 Now isn't this funny.  I found a computer here with a 1.5 beta2-b51 on it
 and
 here is what I get.  It is working fine so it should be something that was
 changed between beta 2 and the release version.
 
 Any thoughts?
 
 Kenneth
 
 Quoting Kenneth Pouncey [EMAIL PROTECTED]:
 
  Hell all
  
  Quoting [EMAIL PROTECTED]:
  
   Hello Patrick,
   
   I do understand your concern about this 5.0 issue. Normally an
 application
  
   written for 1.4 should run on 5.0. Maybe for some minor
 incompatibilities.
  
   The fact that the copy/paste function doesn't work on windows boxes
 should
  
   also be a minor problem as it's just a popup menu that gets used. 
  
  Am thinking the same thing.
  
   
   However your suggestion of starting a complete new project/source tree 
   just for the sake of having a version that is fully windows-compatible 
   with the latest JDK is a bad idea I think. 
  
  I agree with Wim here.  If you feel that it is necassary go for it.  That
 is
  the
  idea behind open source.  I will tell you though that I will definately
 have
  no
  part in trying to keep them both up to date.  Hell I can not keep one up
 to
  date :0)
  
  You'll soon get version 
   incompats etc. You are right however that developing for multi-platform 
   must be managed. But possible! The easiest way would be to separate OS 
   specific stuff in seperate classes and deploy them differently for 
   different OSs. That would be the easiest way!
  
  I agree but really there have not been any need to do this so far.  There
  have
  been in the past a reason to do it with the Mac but with the updated
 releases
  of
  the jdk for mac that code has actually been taken out.  It was just a full
  screen update all the time and was a known problem with the Mac jdk.  Thus
  it
  has been fixed.
  
  There is a module out there called OperatingSystem.java that does specific
  code
  calculations for gui parts depending on the OS but other than specific OS
  modules that has not been necassary so far.  Damn I hope we will not get
 to
  that
  point either.
  
   
   Installers are also possible. A simple solution would already be in using
 
   JavaWebStart which allows to generate an MSI package for windows. 
   Otherwise some installer product could be used. 
  
  I went the open source route for that.  If anybody has a better solution
  please
  let  me know.
  
  Kenneth
   
   Wim Van Leuven.
   
   
   
   
   
   
   
   Patrick Bielen [EMAIL PROTECTED] 
   Sent by: [EMAIL PROTECTED]
   07/06/2005 08:39
   Please respond to
   tn5250j-general@lists.sourceforge.net
   
   
   To
   tn5250j-general@lists.sourceforge.net
   cc
   
   Subject
   RE: [Tn5250j-general] Two issues.
   
   
   
   
   
   
   Hi Kenneth,

   Related to the Selection Bug on 1.5.0
   
Yes and not sure I can fix this for the 1.5. 
It will have to wait.
   
   If you tell me where to look i can give it a try.
   But anyway, beside of the fact there are so many
   negative reactions on the 1.5.0 part, i again ask
   to some programmers to help me to get it stable 
   for 1.5.0 and release a new 1.5.0 compiled version
   on sourceforge for the ppl that DO want to be
   up-to-date and use the very last JDK or JRE.
   
   I will manage this release if you want to, but
   i keep saying there SHOULD be a 1.5.0 compatible
   stable version, beside the fact you are up-to-date
   or not. I simply do not like to freeze because of
   OLD JDK or JRE (or even J2EE) versions. Or otherwise 
   a second separate windows-version always compiled 
   with the very last JDK should be released. In the 
   past we already used some tricks to make the puppy 
   compatible with the old 1.3 so why should we not 
   be able to do the same for 1.5.0 ???
   
   I really don't care about the linux and/or mac
   versions, but here at Stafa (and a lot of other
   companies) we DO use the very last java version (and
   the very last windows), so it's never wrong to have
   a windows-version that runs perfect on the very last
   JDK. Or maybe i should start a new project on
   java.net or even on the BerliOS website (which is
   almost the same as sourceforge) and start a windows
   version (compiled with the very last STABLE JDK) there.
   I was thinking about a name like JTN5250W so that it
   is clear that this version is java based for Windows.
   
   Let me know what you think.
   
   Oh and by the way, before you guys are staring a new
   windows-linux-mac flame-war... I

[Tn5250j-general] SSL support

2005-06-07 Thread Kenneth Pouncey


Steve Kennedy

Thanks

If you are still out there I just wanted to say nice work on the SSL code.  I
finally merged it into my code base here and it works great.  Now works with
V5.2 where it did not before.  Nice implementation as well.



Regards

Kenneth



---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


RE: [Tn5250j-general] Two issues.....

2005-06-07 Thread Kenneth Pouncey
hahahaha  Yep. Have about 22 certification tests on the table right now.

Cisco CCNP and CCVP (heck who knows maybe CCIE in the future), linux, MCSE 2003
and CWNP.  Have two security certs but realized I did not like it that much so
am going for the other ones listed above.  I love networks with routing and
switching and is why I took the other contracts.  Although off those are hung
windows and linux work stations thus those certs.  Am really interested in voice
and wireless but have to have the base certs first as requirements for these.  

I set up an Astriks server at the house for playing around with voice.  Really 
cool.

Time to put knowledge to paper.  Whether you can do the job or not seems
irrelevent without the certs and with them it does not seem to mean anything. 
Catch 22 as per one of my previous rants to the list.  Want to get my company
partnered with some of these.  

You have to have so many CERTIFIED EMPLOYEES, yes that is in quotes
sarcastically, to be partnered and contractors do not count.




Quoting [EMAIL PROTECTED]:

 Studying?
 
 
 
 
 
 Kenneth Pouncey [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 07/06/2005 15:37
 Please respond to
 tn5250j-general@lists.sourceforge.net
 
 
 To
 tn5250j-general@lists.sourceforge.net
 cc
 
 Subject
 RE: [Tn5250j-general] Two issues.
 
 
 
 
 
 
 
 Patrick
 
 That is using 5.0 to compile and run?  If it is then absolutely great. 
 
 Yeah I did a lot of work on the rubber banding code that I have here.  Had 
 to
 redo it all because of all the changes that were made to structure.  Wim 
 still
 reported a bug against the code so.
 
 Great.  Great. Great.
 
 Now if we get some feedback from Richard about the field exit working that 
 will
 just make my day.  Can actually start studying with a clear conscience 
 tonight.
 
 Thanks for testing Patrick
 
 Kenneth
 
 Quoting Patrick Bielen [EMAIL PROTECTED]:
 
  Hi Kenneth, 
  
   Now isn't this funny. 
  
  I laugh my ass out :-)
  
   I found a computer here with a 1.5 beta2-b51 on 
   it and here is what I get.  It is working fine so 
   it should be something that was changed between 
   beta 2 and the release version.
  
  Indeed, i just compiled the sources i get from you,
  and all works fine, so something in broken in cvs.
  
  not sure what, cause winmerge gives differences in
  almost each friggin file.
  
  Met vriendelijke groeten,
  Best Regards,
  
  Patrick Bielen
  
  System-Administrator Stafa Holland BV
  Microsoft Certified Professional
  Sun Certified Java Programmer
  
  
  
  
  
  ---
  This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
  shotput
  a projector? How fast can you ride your desk chair down the office luge
  track?
  If you want to score the big prize, get to know the little guy. 
  Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
  
 
 
 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
 shotput
 a projector? How fast can you ride your desk chair down the office luge 
 track?
 If you want to score the big prize, get to know the little guy. 
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Fwd: [Tn5250j-general] Issue with naming macros]

2005-06-07 Thread Kenneth Pouncey
Yes a known problem.  Could you open a bug report for that if there 
already is not one.


Thanks

Kenneth




Not sure if this is a legitimate bug or not but figured I would pass it on.


From one of our users:


Tn5250j allows a user to create a macro with the same name as an existing
macro. For example, a user can create a macro and name it 'test' even if
there is already a macro called 'test'. The result will be two (or more)
macros with the same name in the macro list.

Should this be allowed or should it prompt you to ask if you want to
replace the already existing macro name?

Like I said just passing this on.




Regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+




---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.

 




---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Fwd: [Tn5250j-general] Selection rectangle and insert mode and settings]

2005-06-07 Thread Kenneth Pouncey
That was suppose to read Nope you can NOT insert with one character 
field.



Kenneth Pouncey wrote:



Marc



Hi Kenneth,


There's definitely something with that selection square. What happens is
this:

- draw a rectangle and RELEASE the mouse button.
- with the right mouse button, click somewhere in the square and 
RELEASE the

mouse button. The menu pops-up and the rectangle dissapears (50% of the
time) and the cursors moves to the point on the screen where I clicked.
- if you do NOT RELEASE the right mouse button, the rectangle can be 
copied.


Are there any other ways to call this pop-up? An Apple laptop doesn't 
have a

right-button, you know.
 


If the mouse cursor is moving on a mouse click then that is what is
causing the rectangle to move.

On those times when the rectangle does not disappear does the cursor
move?  If it does not then that is the problem.

That is where to look for the problem when debugging a 5.0 environment.

Good catch there Marc if that is the cause.


Next,

When I'm in insert mode and on an empty field of only 1 character, I 
can't
enter anything because TN5250j says 'there is no room to insert 
anything'.

Why, not even one character?
 


Nope you can insert with character.  That works just like Client
Access.  Not sure how other emulators handle that but it was modeled
after CA.


Next,

There's something with the session settings I can't put my finger on. It
looks as if after a while session settings get mixed up with other 
sessions.
I have GUI sessions and GOB-sessions and after a whole day, the 
GOB-sessions

started to behave as GUI-sessions (one with the colors of another
GUI-session and saved it like that, too!).
 


Now that is weird.  I have never had that problem.  Can you load the
sessions up manually and try for a time and then automatically to see if
that might be the problem.

BTW, I use tabbed sessions. One window, 8 sessions (2x4) to two 
different

machines.
 


Myself as well but with 6 and always manually.  One non gui for
programming and 1 or 2 more with gui enabled for each machine.

Regards

Kenneth



Greetings,

-Marc Vos




---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
shotput
a projector? How fast can you ride your desk chair down the office 
luge track?
If you want to score the big prize, get to know the little guy.  Play 
to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.

 





---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you 
shotput
a projector? How fast can you ride your desk chair down the office 
luge track?
If you want to score the big prize, get to know the little guy.  Play 
to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.




---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20

___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


[Tn5250j-general] Fwd: RE: Contribution to Tn5250j

2005-06-06 Thread Kenneth Pouncey
Hello all

Hope you do not mind Mehmet but wanted to forward this e-mail to the list.  

Wow 200 workstations already and going to convert 300 more over to linux from
windows.

Kenneth

- Forwarded message from Mehmet Ozgun [EMAIL PROTECTED] -
Date: Mon, 6 Jun 2005 09:12:14 +0300 
From: Mehmet Ozgun [EMAIL PROTECTED]
Reply-To: Mehmet Ozgun [EMAIL PROTECTED]
 Subject: RE: Contribution to Tn5250j
  To: Kenneth Pouncey [EMAIL PROTECTED]

I'm working for Central Bank of Turkey.
We have more than 20 branches. 
We decided to switch our AS/400 terminals to mandrake computers in those 
branches.

It was very simple to install all programs and operating systems to machines.
After creation of a master hard disk we used  Norton Ghost to clone computers. 
In fact I can't say we're updating them regulary. Because some comunication
problems to update all the computers located on different branches.
There are a few problems and most of them user related. A mandrake pc a user can
works with AS/400, sends e-mails, edits MS Office files (by OpenOffice), surfs
on the internet .. 

We're using tn5250j 0.5.7 and there is no big issue to stop working. Also we're
planning to switch 300 windows to mandrake.  I can say we are one the biggest
tn5250j user. 

We're now testing 0.5.8 alpha. If we'll find any bug I'll let you know it. 


Thanks.



-Original Message-
From: Kenneth Pouncey [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 02, 2005 3:24 PM
To: Mehmet Ozgun
Subject: Re: Contribution to Tn5250j


Mehmet

I have to say wow on the 200 mandrake workstations.  That is really great.  Any
problems with this many workstations?  How did you install it and how are you
redistributing updates?  Well I mean inhouse updates because the project sure
hasn't put any out lately :-)

Regards

Kenneht

Quoting Mehmet Ozgun [EMAIL PROTECTED]:

 Hi Kenneth,
 
 We're using the tn5250j emulator since last may.
 I have to say that it's a great project. We've already installed it to the
 more than 200 mandrake workstations. 
 
 I'd like to contribute to the project of tn5250j. 
 I can test it and report bugs as I did before. 
 And also if I will be able to update the cvs I will make translations to my
 own language (Turkish)  .
 
 Thanks.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 ==-
 Bu e-posta sadece yukarida isimleri belirtilen kisiler arasinda özel
 haberlesme amacini tasimaktadir. Size yanlislikla ulasmissa lütfen gönderen
 kisiyi bilgilendiriniz ve mesaji sisteminizden siliniz. Turkiye Cumhuriyet
 Merkez Bankasi A.S. bu mesajin icerigi ile ilgili olarak hicbir hukuksal
 sorumlulugu kabul etmez. 
 
 This e-mail communication is intended for the private use of the people named
 above. If you received this message in error, please immediately notify the
 sender and delete it from your system. The Central Bank of The Republic of
 Turkey does not accept legal responsibility for the contents of this
 message.
 




Bu e-posta sadece yukarida isimleri belirtilen kisiler arasinda özel haberlesme
amacini tasimaktadir. Size yanlislikla ulasmissa lütfen gönderen kisiyi
bilgilendiriniz ve mesaji sisteminizden siliniz. Turkiye Cumhuriyet Merkez
Bankasi A.S. bu mesajin icerigi ile ilgili olarak hicbir hukuksal sorumlulugu
kabul etmez. 

This e-mail communication is intended for the private use of the people named
above. If you received this message in error, please immediately notify the
sender and delete it from your system. The Central Bank of The Republic of
Turkey does not accept legal responsibility for the contents of this message.

- End forwarded message -






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r 
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] binary sent out

2005-06-06 Thread Kenneth Pouncey

Marc

Thanks for the confirmation.  There is still one more problem with that darn
rectangle that I have to solve.  Oh well at least that one is done.


Regards

Kenneth

Quoting Marc Vos [EMAIL PROTECTED]:

 Hi Kenneth,
 
 Sorry, sorry, sorry... you solved it in this new version. I didn't test it
 on the Mac until today.
 
 -Marc
 
 
 On 06-06-2005 13:57, Kenneth Pouncey [EMAIL PROTECTED] wrote:
 
  
  Patrick and Marc
  
  That is weird.  I do not have it here.  Marc you get this one with the new
  binary I sent you and you are using 1.5 (or what is now 5.0 or soemthing
 like
  that)?  
  
  Patrick I know we used to have that problem but thought we got it all
 fixed.
  Wim told me about another problem but nothing to do with the right click.
  
  Kenneth
  
  Quoting Marc Vos [EMAIL PROTECTED]:
  
  
  On 06-06-2005 13:35, Patrick Bielen [EMAIL PROTECTED] wrote:
  
  The reason i ask is because a lot of troubles are popping
  up with tiger, like the selection-bug for copying text.
  If you right-click the selection (while using tiger) then
  the selection disapears, so the only way to copy and paste
  is to use CTRL-C and CTRL-V (or the standard ALT-C and ALT-V).
  
  
  Oh yeah, I forgot about that one, but this is not a Tiger-related issue.
 I
  have it with 10.3.x too.
  
  -Marc Vos
  
  
  
  
  ---
  This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
  shotput
  a projector? How fast can you ride your desk chair down the office luge
  track?
  If you want to score the big prize, get to know the little guy.
  Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
  
  
  
  
  
  
  
  ---
  This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
  a projector? How fast can you ride your desk chair down the office luge
 track?
  If you want to score the big prize, get to know the little guy.
  Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
  ___
  Tn5250j-general mailing list
  Tn5250j-general@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
 a projector? How fast can you ride your desk chair down the office luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] [ tn5250j-Bugs-1161363 ] Slovenian (SVN) support for TN5250j

2005-06-06 Thread Kenneth Pouncey
Welcome to the project Marko

Quoting Marko Daris [EMAIL PROTECTED]:

 Kenneth,
 
 registered with tn5250j-general like you requested... 
 
 regarding Slovenian support for tn5250j:
 please let me know how to proceed. 
 
 Marko
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
 shotput
 a projector? How fast can you ride your desk chair down the office luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] [ tn5250j-Bugs-1161363 ] Slovenian (SVN) support for TN5250j

2005-06-06 Thread Kenneth Pouncey

Marko

Quoting Marko Daris [EMAIL PROTECTED]:

 On Mon, 2005-06-06 at 15:37 +0200, Kenneth Pouncey wrote:
  Also as for the font names, the one that is defined in the fonts list will
 be
  the one selected on linux.  So if that is the only lucidabrigh-xxx
 font
  defined in the system fonts then that one will be loaded.
 The fonts on Linux are separated by encoding. For example: 
 -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-1
 -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-2
 -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-4
 -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-5
 -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-7
 -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-9

Can not remember how that is handled.  I think I remember reading that the
correct is loaded depending on the system and there is a way to select the
default to be loaded.  Anyway it is not realy important right now as we need to
get the code page loaded and then we can take a look at this.

 
 So only the font name is not enough.. I mean I don't know how you get
 the list of fonts in Setting-Fonts. If you specify somewhere (some API)
 that is it iso8859-2 than those fonts should be ok.
 
  
  I know a long while back there was a problem with the JDK and loading the
  correct font but that should have been fixed a long time ago for 1.3
 versions.  
 I'm using: 
 /usr/java/j2re1.4.2_05/bin/java -jar /usr/local/tn5250j/tn5250j.jar
 
 [EMAIL PROTECTED] markod]$ /usr/java/j2re1.4.2_05/bin/java -version
 java version 1.4.2_05
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
 Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
 

Sorry I was just making a comment and you should not have a problem with the
newer versions.

  
  Make sure you are using the international versions of the JRE or JDK as
 well or
  you will not get the correct font displayed either.  That has been on the
 list a
  number of times and I always forget about it when someone reports a
 display
  problem for code pages.
 Can you tell from -version above if this is the international one?

I do not think so.  It would have been selected when you downloaded the jdk. 
Still not a problem right now as we need the recode of 852 done and put in
before we go any further.

Kenneth

 
 Marko
 
 
  
  Regards
  
  Kenneth
  
  Quoting Marko Daris [EMAIL PROTECTED]:
  
   On Mon, 2005-06-06 at 13:49 +0200, Kenneth Pouncey wrote:
Marko

Could you tell me what codepage to use.  The character set as well for
   windows
would be good as well.
   
   Here's a link from M$: 
   
   http://www.microsoft.com/globaldev/nlsweb/default.asp?submitted=424
   
   The codepage (ANSI) is 1250 (Win). OEM is 852 / LCID 424 (DOS). I don't
   know which value you need - I guess the ANSI is the correct one for
   Windows.
   
   Font (Linux):
   http://nl.ijs.si/gnusl/cee/iso8859-2.html
   
   Should be iso8859-2. Note: is the Right-Click menu Settings / Fonts
   there is no way to select iso8859-2 - only the font name can be
   selected. 
   
   xlsfonts | grep iso9959-2
   
   -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-2
   -bh-lucidabright-demibold-r-normal--0-0-0-0-p-0-iso8859-2
   -bh-lucidabright-medium-i-normal--0-0-0-0-p-0-iso8859-2
   -bh-lucidabright-medium-r-normal--0-0-0-0-p-0-iso8859-2
   ...
   
   Here's another link (look for: Slovenian) that summarizes the different
   codepages per OS: 
   http://www.slovo.info/eurocp.htm
   
   Marko
   
   

Quoting Marko Daris [EMAIL PROTECTED]:

 Kenneth,
 
 registered with tn5250j-general like you requested... 
 
 regarding Slovenian support for tn5250j:
 please let me know how to proceed. 
 
 Marko
 
 
 
 ---
 This SF.Net email is sponsored by: NEC IT Guy Games.  How far can
 you
 shotput
 a projector? How fast can you ride your desk chair down the office
 luge
 track?
 If you want to score the big prize, get to know the little guy.  
 Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you
   shotput
a projector? How fast can you ride your desk chair down the office
 luge
   track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

Re: [Tn5250j-general] [ tn5250j-Bugs-1161363 ] Slovenian (SVN) support for TN5250j

2005-06-06 Thread Kenneth Pouncey

Cooolll  Marko will wait.

Thanks


Quoting Marko Daris [EMAIL PROTECTED]:

 On Mon, 2005-06-06 at 16:29 +0200, Kenneth Pouncey wrote:
  Marko
  
  Crap. 
  
   Recoding is too complex for a mere table
  
  That is a message that is obtained with the newer versions of recode.  I
 had to
  downgrade to 3.5 to generate the tables.  I am assuming you have 3.6 or
 higher.
   Wow now what to do.
 Will try to downgrade recode to 3.5.
 I checked some old machines that SHOULD have old versions - but Murphy's
 law is in action...
 
  
  No you can not select those others because I do not have them in the
 emulator
  yet.  If you could have sent me a text file from recode then we could have
 put
  it in.
  
  The version you will be testing with will be the one I send you.  Will have
 to
  change the code to implement it, recompile and then send you a new binary
 to
  test with.
  
  Huu  what to do now?
 Just wait that I get an old version of recode and build it...
 
  
  Anybody else have any success with this?
  
  Regards
  
  Kenneth
  
  Quoting Marko Daris [EMAIL PROTECTED]:
  
   On Mon, 2005-06-06 at 15:25 +0200, Kenneth Pouncey wrote:
Hummm will have to think about this one.  Am pretty sure if I put the
 1250
   in
there it will not work or will have to do a recode of 852.  No linux
   machine
right now either.

Marko can you do a recode and place the mappings in a text file for me.
 
   For
example:

recode -v -h  cp852  ebcdic852.txt
   
   [EMAIL PROTECTED] markod]$ recode -v -h  cp852
   Request: IBM852..ISO-10646-UCS-2..:libiconv:..CHAR
   Shrunk to: IBM852..ISO-10646-UCS-2..CHAR
   Recoding is too complex for a mere table
   

you can get a list of these by doing a 'recode -l'.

   I guess we need: 
   IBM852/CR-LF 852/CR-LF CP852/CR-LF pcl2 pclatin2
   ISO-8859-2 912/CR-LF CP912/CR-LF csISOLatin2 IBM912/CR-LF ISO8859-2 iso-
   ir-101 ISO_8859-2 ISO_8859-2:1987 l2 latin2
   
   
   [EMAIL PROTECTED] markod]$ recode -v -h IBM852
   Request: IBM852..ISO-10646-UCS-2..:libiconv:..CHAR
   Shrunk to: IBM852..ISO-10646-UCS-2..CHAR
   Recoding is too complex for a mere table
   
   [EMAIL PROTECTED] markod]$ recode -v -h ISO-8859-2
   Request: ISO-8859-2..:libiconv:..CHAR
   Shrunk to: ISO-8859-2..CHAR
   Recoding is too complex for a mere table
   
   What is this Recoding is too complex.. msg? Am I missing something?
   
   FYI: in the version of tn5250j I have in the Change Session - Code Page
   I can't select 852 nor 1250 (they are not listed)...
   
   Please advise which version of JRE and TN5250j should be used for
   testing - so we can eliminte problems caused by using wrong
   versions/builds. 
   
From the list select what you think are the ones you need and put them
 in
separate .txt files and send them to me.

Let's see if this will work.

Regards

Kenneth

Quoting Marko Daris [EMAIL PROTECTED]:

 On Mon, 2005-06-06 at 13:49 +0200, Kenneth Pouncey wrote:
  Marko
  
  Could you tell me what codepage to use.  The character set as well
 for
 windows
  would be good as well.
 
 Here's a link from M$: 
 
 http://www.microsoft.com/globaldev/nlsweb/default.asp?submitted=424
 
 The codepage (ANSI) is 1250 (Win). OEM is 852 / LCID 424 (DOS). I
 don't
 know which value you need - I guess the ANSI is the correct one for
 Windows.
 
 Font (Linux):
 http://nl.ijs.si/gnusl/cee/iso8859-2.html
 
 Should be iso8859-2. Note: is the Right-Click menu Settings / Fonts
 there is no way to select iso8859-2 - only the font name can be
 selected. 
 
 xlsfonts | grep iso9959-2
 
 -bh-lucidabright-demibold-i-normal--0-0-0-0-p-0-iso8859-2
 -bh-lucidabright-demibold-r-normal--0-0-0-0-p-0-iso8859-2
 -bh-lucidabright-medium-i-normal--0-0-0-0-p-0-iso8859-2
 -bh-lucidabright-medium-r-normal--0-0-0-0-p-0-iso8859-2
 ...
 
 Here's another link (look for: Slovenian) that summarizes the
 different
 codepages per OS: 
 http://www.slovo.info/eurocp.htm
 
 Marko
 
 
  
  Quoting Marko Daris [EMAIL PROTECTED]:
  
   Kenneth,
   
   registered with tn5250j-general like you requested... 
   
   regarding Slovenian support for tn5250j:
   please let me know how to proceed. 
   
   Marko
   
   
   
   ---
   This SF.Net email is sponsored by: NEC IT Guy Games.  How far
 can
   you
   shotput
   a projector? How fast can you ride your desk chair down the
 office
   luge
   track?
   If you want to score the big prize, get to know the little guy. 
 
   Play to win an NEC 61 plasma display:
 http://www.necitguy.com/?r=20
   ___
   Tn5250j-general mailing list
   Tn5250j-general@lists.sourceforge.net
   https

Re: [Tn5250j-general] [ tn5250j-Bugs-1161363 ] Slovenian (SVN) support for TN5250j

2005-06-06 Thread Kenneth Pouncey

Marko

You will need to unzip the file and use the jt400.jar file from the zip archive.

java -classpath .:..:path_to_jt400.jar tn5250j.jar

That should do it.

If you received the new .jar file I sent you we may not have to do that right
now.  If it works that is :-)

Use the new .jar and see if the option shows up.  That might not be there in the
version from the site.  Can not remember as it has been to long.

Kenneth

Quoting Marko Daris [EMAIL PROTECTED]:

 On Mon, 2005-06-06 at 16:51 +0200, Kenneth Pouncey wrote:
  Marko
  
  Are you also using the jt400 toolbox?  If you are we can test the cp852 by
 using
  that option.
 Will need help with this: I just downloaded jtopen_4_7-1.zip from IBM. 
 How do I install this? Where must this be installed on Linux or on
 AS400? I followed the instructions but had no luck (using CLASSPATH)...
 
 
  
  On the properties page you can select the AS/400 Toolbox checkbox and it
 will
 Properties where? The ones from the main tn5250j menu?
 
  load the code pages from the jt400 packages instead.  At least that will
 help us
  do a test.
  
  Forgot all about that.
  
  Regards
  
  Kenneth
  
  
  Quoting Marko Daris [EMAIL PROTECTED]:
  
   On Mon, 2005-06-06 at 16:29 +0200, Kenneth Pouncey wrote:
Marko

Crap. 

 Recoding is too complex for a mere table

That is a message that is obtained with the newer versions of recode. 
 I
   had to
downgrade to 3.5 to generate the tables.  I am assuming you have 3.6
 or
   higher.
 Wow now what to do.
   Will try to downgrade recode to 3.5.
   I checked some old machines that SHOULD have old versions - but Murphy's
   law is in action...
   

No you can not select those others because I do not have them in the
   emulator
yet.  If you could have sent me a text file from recode then we could
 have
   put
it in.

The version you will be testing with will be the one I send you.  Will
 have
   to
change the code to implement it, recompile and then send you a new
 binary
   to
test with.

Huu  what to do now?
   Just wait that I get an old version of recode and build it...
   

Anybody else have any success with this?

Regards

Kenneth

Quoting Marko Daris [EMAIL PROTECTED]:

 On Mon, 2005-06-06 at 15:25 +0200, Kenneth Pouncey wrote:
  Hummm will have to think about this one.  Am pretty sure if I put
 the
   1250
 in
  there it will not work or will have to do a recode of 852.  No
 linux
 machine
  right now either.
  
  Marko can you do a recode and place the mappings in a text file for
 me.
   
 For
  example:
  
  recode -v -h  cp852  ebcdic852.txt
 
 [EMAIL PROTECTED] markod]$ recode -v -h  cp852
 Request: IBM852..ISO-10646-UCS-2..:libiconv:..CHAR
 Shrunk to: IBM852..ISO-10646-UCS-2..CHAR
 Recoding is too complex for a mere table
 
  
  you can get a list of these by doing a 'recode -l'.
  
 I guess we need: 
 IBM852/CR-LF 852/CR-LF CP852/CR-LF pcl2 pclatin2
 ISO-8859-2 912/CR-LF CP912/CR-LF csISOLatin2 IBM912/CR-LF ISO8859-2
 iso-
 ir-101 ISO_8859-2 ISO_8859-2:1987 l2 latin2
 
 
 [EMAIL PROTECTED] markod]$ recode -v -h IBM852
 Request: IBM852..ISO-10646-UCS-2..:libiconv:..CHAR
 Shrunk to: IBM852..ISO-10646-UCS-2..CHAR
 Recoding is too complex for a mere table
 
 [EMAIL PROTECTED] markod]$ recode -v -h ISO-8859-2
 Request: ISO-8859-2..:libiconv:..CHAR
 Shrunk to: ISO-8859-2..CHAR
 Recoding is too complex for a mere table
 
 What is this Recoding is too complex.. msg? Am I missing
 something?
 
 FYI: in the version of tn5250j I have in the Change Session - Code
 Page
 I can't select 852 nor 1250 (they are not listed)...
 
 Please advise which version of JRE and TN5250j should be used for
 testing - so we can eliminte problems caused by using wrong
 versions/builds. 
 
  From the list select what you think are the ones you need and put
 them
   in
  separate .txt files and send them to me.
  
  Let's see if this will work.
  
  Regards
  
  Kenneth
  
  Quoting Marko Daris [EMAIL PROTECTED]:
  
   On Mon, 2005-06-06 at 13:49 +0200, Kenneth Pouncey wrote:
Marko

Could you tell me what codepage to use.  The character set as
 well
   for
   windows
would be good as well.
   
   Here's a link from M$: 
   
  
 http://www.microsoft.com/globaldev/nlsweb/default.asp?submitted=424
   
   The codepage (ANSI) is 1250 (Win). OEM is 852 / LCID 424 (DOS).
 I
   don't
   know which value you need - I guess the ANSI is the correct one
 for
   Windows.
   
   Font (Linux):
   http://nl.ijs.si/gnusl/cee/iso8859-2.html
   
   Should be iso8859-2. Note: is the Right-Click menu Settings /
 Fonts
   there is no way

Re: [Tn5250j-general] binary sent out

2005-06-04 Thread Kenneth Pouncey




Richard

Good to see some of you guys are still around.

Richard Houston wrote:

  Not sure if I just missed this but are the fixes in this binary version in
CVS?
  


Nope not yet. Was planning on doing that this weekend but looks like
it will not happen. Did not get all the sources to the house so I can
update so will be sometime next week.

  
Also we added https to the support to the hotspot code, very simple fix.
We recently moved our urls to https from http. If you are interested in
the code changes I can  send you the .java file or is there a better way?
  

Yeah please send it to me. I could also give you guys cvs access and
any changes you want to make you can.

  
The boss here was really jazzed to here that devel on tn5250j was heating
up again. I am really glad to see this as well. Looking forward to maybe
seeing some of the web facing like functionality in the future.
  

yeah myself as well. I am hopeing to get back to some of the web
facing stuff as well. Need the updated files again. We just recently
moved and I lost a lot of e-mail files. If you have the new files can
I get a copy?

  
Glad to see things moving again. Keep up the great work!
  

Am not sure for how long but hopefully we can make some progress.

Regards

Kenneth

  

Regards,
+--+
| Richard Houston  .^. |
| R.L.H.  Consulting   /V\ |
| E-Mail  [EMAIL PROTECTED]/(   )\   |
| WWW www.rlhc.net  ^^-^^|
+--+

Kenneth Pouncey said:
  
  

Has anybody tried the binary I sent out yesterday?

All the problems Marc reported have been fixed in that binary but now is
reporting that the screen updating is slow.  Can anybody else verify this?

Regards

Kenneth



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general



  
  


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general

.

  





[Tn5250j-general] New to tn5250j

2005-06-02 Thread Kenneth Pouncey


Marc Vos

In response to one of your messages here.

Question --
1) It would be nice that when the cursor is at the beginning of an
input-capable field, pressing the backspace key jumps backward to the last
position of a previous input-capable field instead of moving into the
protected screen area. Or make this option configureable.

-
This would not work like other emulators correct?  Are other emulators out there
capable of this type of movement or is this a special request and if so why is
it needed?  

For this work you would want it to also delete the last character as well 
correct?

So if this is correct it would work like continous fields but all fields would
be treated this way instead of just those type of fields correct?

Question --

2) ALT + arrow left/right is great! Quickly moving across the screen could
be enhanced when you could add a CTRL + arrow left/right/up/down combination
which would jump 3 spaces left/right or lines up/down. Can I configure that
myself?

---

Actually have thought about this myself but never really got around to
implementing it.  Humm will have to think about it.

Could you open up a request for enhancement out on the site for me?

Regards

Kenneth



---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] New to tn5250j

2005-06-02 Thread Kenneth Pouncey
What would you call these keying actions?

Like for instance the ALT + arrow left/right is called Cursor Next Word and
Cursor Previous Word.  What would be the description of these?

Quoting Marc Vos [EMAIL PROTECTED]:

 Kenneth,
 
  2) ALT + arrow left/right is great! Quickly moving across the screen could
  be enhanced when you could add a CTRL + arrow left/right/up/down
 combination
  which would jump 3 spaces left/right or lines up/down. Can I configure
 that
  myself?
  
  ---
  
  Actually have thought about this myself but never really got around to
  implementing it.  Humm will have to think about it.
  
  Could you open up a request for enhancement out on the site for me?
 
 Done.
 
 -Marc
 
 
 
 
 ---
 This SF.Net email is sponsored by Yahoo.
 Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
 Search APIs Find out how you can build Yahoo! directly into your own
 Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


Re: [Tn5250j-general] new tn5250j release?

2005-06-02 Thread Kenneth Pouncey

Hello stefan

How about this.  Everyone that wants a binary version right now let me know and
I will send it.  This is a 0.5.8 alpha 1 version.  The alpha being not even
beta.  Myself and quite a few others, the others more than myself, have been
using it in production for over 6 months.

Just report back the bugs/problems/opportunities so I can do a little work on 
it.

Stefen will send you one right now.  I would not replace what you have so make a
back up of the tn5250j.jar that you have and then use the one I will send you.

This version is a total restructure of what is out there now.  Also when you
play with it let me have some feedback as to if it is stable or not plus as
mentioned above the bugs.

Regards

Kenneth


Quoting Stefan Bayer [EMAIL PROTECTED]:

 Hello there,
 I want to ask when you plan to release a new binary version, because I don't
 
 want to install ant and maybe other programs/libs to compile tn5250j.
 
 I use 0.5.7 and it works for me with the known (and in the cvs solved) 
 problems.
 -- 
 
 Stefan
 Email: [EMAIL PROTECTED]
 
 
 ---
 This SF.Net email is sponsored by Yahoo.
 Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
 Search APIs Find out how you can build Yahoo! directly into your own
 Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
 ___
 Tn5250j-general mailing list
 Tn5250j-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/tn5250j-general
 






---
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


[Tn5250j-general] Re: testing a 5250 emulator

2005-04-12 Thread Kenneth Pouncey
Daniel

I actually work for companies that have applications to work against.  If I do
not have a specific test I would then write a program and display file to test 
with.

Is this what you were asking?

Regards

Kenneth

Quoting djanulew [EMAIL PROTECTED]:

 Message body follows:
 
 Hello,
 
 I'm writing a 5250 emulator and i was looking at your project 
 which is fairly comprehensive.  I was wondering how did you 
 test your 5250 emulator, especially some of the less 
 commonly used features such as the CREATE WINDOW 
 structured field. 
 
 I test on a number of publicly available servers:
 
 as400.holgerscherer.de
 netshare400.com
 
 but i don't know how to generate a CREATE WINDOW test 
 case.
 
 Thank you,
 
 Daniel
 
 --
 This message has been sent to you, a registered SourceForge.net user,
 by another site user, through the SourceForge.net site.  This message
 has been delivered to your SourceForge.net mail alias.  You may reply
 to this message using the Reply feature of your email client, or
 using the messaging facility of SourceForge.net at:
 https://sourceforge.net/sendmessage.php?touser=1171121
 






---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general


[Tn5250j-general] Re: RE : I tried something to get the name and the job number.... But........

2005-04-12 Thread Kenneth Pouncey
Garon

No this is not possible.  The information pieaces that you are asking for are
not given back to the telnet session.  These are also only allocated after a
signon of the session and that would be after a session has already gone through
it's negotiations as well.

The only way to get that information is requesting it on a screen with dspjob or
some other program and reading the screen scraping like from the screen buffer
that is available to you.

Hope that helps.

Regards

Kenneth

Quoting Garon Amandine [EMAIL PROTECTED]:

 Hi Kenneth,
 
  I am a new French user of the Tn5250j.
  And I am trying to make a java application which includes the component
 
  tn5250j.
  
  And I'd liked to get the name of the job, of the user, and the number 
  of the job of an tn5250j session, without sending the dspjob command 
  on the tn5250j session, but with an java procedure. In fact, I wont 
  like to change the screen of the session, when I want to get that.
 
 Actually, I would like to send a request to the telnet servor and to get
 its response by a java function and not by writing a message on the 5250
 session.
  
  Is it possible? If it is, how can I do that?
  
  Thanks a lot.
  
  Regards.
  
  Amandine
 
 -- 
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.9.6 - Release Date: 11/04/2005
  
 






---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595alloc_id=14396op=click
___
Tn5250j-general mailing list
Tn5250j-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tn5250j-general