mailman | 1 Apr 13:30 2014

Guidelines for LINUX5250 mailing list

Monthly posting of the guidelines for participation in the LINUX5250
Mailing List.

Answers to common questions, including installation issues for FreeBSD,
Linux and Windows are included in the documentation in the README file
in the source tarball, the manual included with the Windows installer,
and the other documentation found on our web site at
http://tn5250.sourceforge.net

Answers to other questions which may have already been asked are available in
the linux5250 email list archive, which is available at
http://archive.midrange.com/linux5250/

Keep to the subject.  The topic of the list is the Linux Tn5250
Emulation project.   (Though, the name "Linux" is a misnomer, since
the software will work in Microsoft Windows and any modern Unix or
Unix-like operating system)

When quoting messages, do not quote the entire message.  Just quote the
parts that are needed to make the appropriate references.

Flames are absolutely prohibited.  If you disagree with someone, feel
free to argue the facts, but no personal attacks will be tolerated.

The official language of the LINUX5250 Mailing List is English.

Do not post personal messages.  Please use direct E-Mail.  This list is
international in scope and personal messages just end up costing money.

Please do not use HTML to format messages ... not everyone has a HTML
(Continue reading)

Ed Carp | 7 Jan 03:37 2014
Picon

Re: x5250 keyboard locks up

On 11/08/2013 10:25 AM, James Rich wrote:

 >
> Press control-r

This is the SYS REQ key emulation, yes?

--

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

Melissa Jimenez | 8 Nov 19:02 2013

x5250 keyboard locks up

I'm back here to get some help. I'm currently using x5250. It was the
only option I had after spending months trying to configure tn5250 and
xt5250 to have a destructive backspace. When I had thought the
terminal emulator was working how I wanted it, I found another issue.
Every time an user inputs something they shouldn't, a warning message
appears at the bottom ("field requires numeric characters" or "only
characters 0 to 9 allowed" or "function key not allowed"...etc...) and
then the keyboard locks up and there's no way to move the cursor or
input anything or exit the screen. The only thing I've been able to do
to get it out of this state was bringing up the attn prompt by
pressing ESC and then pressing ENTER. This takes me back to a state
where I can input information. On a regular terminal, whenever the
keyboard locks up with an error, you can usually press CTRL to clear
it but I haven't found anything similar here
Is there anything I can do?
Thank you!

--

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

Melissa Jimenez | 17 Sep 23:26 2013

x5250 multiple sessions

Is there a way to open multiple sessions with x5250? I'm trying to
start three different sessions with different device names. Only the
first one opens up when I try. I tried opening different xterms and
running each session separately, but that didn't work out. 
Thank you for your help!

P.S: Solved my keyboard problem by using x5250. Thanks for the help. 

--

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

Melissa Jimenez | 31 Aug 00:34 2013

Still.... Backspace issue

I have yet to fix my backspace issue with tn5250. When I try to
backspace the cursor deletes characters to the right, as opposed to
the left I am running tn5250 directly from xterm, not using xt5250,
(I'm typing tn5250 myAS400.....etc on the xterm). I don't know which
map file to modify to get it to work. You guys are my only resource.
Any suggestions?

_MELISSA V. JIMENEZ_ 

	_IT Assistant_ 

	_Cal State Auto Parts_ 

	melissaj@... [1]

Links:
------
[1] mailto:melissaj@...

--

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

Melissa Jimenez | 7 Aug 02:31 2013

Backspace issue

Using the newest TN5250 version (0.17.4), I have yet to find a way to
get the backspace key to delete as it normally would on the console. I
tried changing some lines of code on display.c to   case K_BACKSPACE:
tn5250_display_indicator_clear (This, TN5250_DISPLAY_IND_FER);
tn5250_display_kf_backspace (This); tn5250_display_kf_delete (This); 
return;
I reconfigured and reinstalled, and nothing happened.
I also copied the Xterm map file on usr/share/tn5250/Xterm to my
.Xresources file. In both files, I added the following line 
BackSpace: string("177") n
The backspace key works perfectly on xterm by itself. When I press
Ctrl+V and backspace I get ^H. But whenever I launch TN5250 from xterm
the backspace key stops working. It does delete, but it deletes to the
left, which makes no sense at all.
What to do next?

--

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

Buck Calabro | 2 Jul 18:46 2013
Picon

Re: Fwd: visual c++ version of tn5250

On 7/2/2013 10:14 AM, Steve Richter wrote:
> I have been reworking the tn5250 code to compie as c++ code in visual
> studio. Is there any interest in having the code on sourceforge?
> 
> admittedly I am not great at reading documentation if it is not right in
> front of me. So maybe I did not have to do what I did.
> 
> I created a c++ project and added the modules one by one as .cpp files.
> Added #pragma once to the header files. Removed the struct
> typedefs. Changed most of the macros to be straight function calls.. Took
> out the trace and debug macros.  Removed debug.c, which enabled the calls
> thru a function pointer to be declared as function calls. And I have been
> moving some static functions to be member functions.
> 
> Anyway, I was just doing this for myself and am able to post it somewhere
> if people want it.  The tn5250 project is well done and works great.
> Congrats to those who wrote it.

Sounds interesting!  For what it's worth, tn5250 compiles as-is under
Windows 98 - Windows 7.  I know: I've been doing it for many years :-)
I've used Mingw and Cygwin to compile and had success with both.

Will you try to keep the current project in sync with yours, or is this
a more or less permanent fork?
  --buck

--

-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250@...
To subscribe, unsubscribe, or change list options,
(Continue reading)

Steve Richter | 2 Jul 16:14 2013
Picon

Fwd: visual c++ version of tn5250

I have been reworking the tn5250 code to compie as c++ code in visual
studio. Is there any interest in having the code on sourceforge?

admittedly I am not great at reading documentation if it is not right in
front of me. So maybe I did not have to do what I did.

I created a c++ project and added the modules one by one as .cpp files.
Added #pragma once to the header files. Removed the struct
typedefs. Changed most of the macros to be straight function calls.. Took
out the trace and debug macros.  Removed debug.c, which enabled the calls
thru a function pointer to be declared as function calls. And I have been
moving some static functions to be member functions.

Anyway, I was just doing this for myself and am able to post it somewhere
if people want it.  The tn5250 project is well done and works great.
Congrats to those who wrote it.
--

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

Dave | 25 May 17:52 2013
Picon

Tn5250 with French AZERTY keyboard

Hi,

>
> I seem to be having the same problem as described here :
> http://archive.midrange.com/linux5250/200301/msg00007.html
>
> I don't understand the reply. Can someone help?
>
> Thanks
>
--

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

Buck Calabro | 18 Apr 21:29 2013
Picon

0.17.4 Win32 paste bug and possible fix

I love tn5250 and am grateful that we have a community of people who
support it.  I myself am barely able to walk through the code so I
appreciate the list looking over my shoulder...

I had a long standing bug whereby I would copy some long-ish SQL out of
a Word document and paste it into my tn5250 session and the session
would crash with a Windows message saying that tn5250.exe has stopped
working.  I could never put my finger on the exact circumstances, and it
never bothered me that much until recently when I had to do a LOT of these.

So I started digging.  Got to win32_paste_text_selection and started
putting in TN5250_LOG() statements.  Too busy to learn gdb :-(  I
eventually narrowed the error down to the bottom, 'free(pNewBuf);'
Which didn't make much sense to me unless something had inadvertently
stepped on pNewBuf.  I'm still not a C programmer despite several hours
of looking at the code (ha!), but the only place it looks like this
routine could possibly step on pNewBuf is up above, where it says 'just
a precaution'.

if (hBuf != NULL) {
    size = GlobalSize(hBuf);
    size++;
    TN5250_LOG (("Windows clipboard size %d\n", size));
    pNewBuf = malloc(size);
    pBuf = GlobalLock(hBuf);
    strncpy(pNewBuf, pBuf, size);
    pNewBuf[size] = '\0'; /* just a precaution */
    GlobalUnlock(hBuf);
}

(Continue reading)

mailing11 | 22 Mar 13:36 2013

(no subject)

Hello,

I have been using lp5250d along with scs2pdf. I am getting a pdf however it comes up with a page size in the pdf
viewer of 10.39 by 9 instead of the expected 11 x 8.5.

Text on the page is also shifted outside the top margin and missing about 1/2 of the page.

I have executed scs2pdf -s and I have noticed the following lines of interest:
Mar 22 07:28:16 localhost scs2pdf[24201]: SHM set left margin to 1
Mar 22 07:28:16 localhost scs2pdf[24201]: SHM set right margin to 27648
Mar 22 07:28:16 localhost scs2pdf[24201]: STO used unhandled page rotation: Setting text orientation
based on SPPS command
Mar 22 07:28:16 localhost scs2pdf[24201]: Begin Page Presentation Media (PPM)
Mar 22 07:28:16 localhost scs2pdf[24201]: Length of PPM parameters: 10
Mar 22 07:28:16 localhost scs2pdf[24201]: Forms control = 1
Mar 22 07:28:16 localhost scs2pdf[24201]: Source drawer = 1
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer offset = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Destination drawer = 0
Mar 22 07:28:16 localhost scs2pdf[24201]: Quality = 1
Mar 22 07:28:16 localhost scs2pdf[24201]: Duplex = 2
Mar 22 07:28:16 localhost scs2pdf[24201]: End Page Presentation Media (PPM)
Mar 22 07:28:16 localhost scs2pdf[24201]: SFG set global font ID 0cc
Mar 22 07:28:16 localhost scs2pdf[24201]: SFG set font width 108
Mar 22 07:28:16 localhost scs2pdf[24201]: Using 13 CPI
Mar 22 07:28:16 localhost scs2pdf[24201]: SFG set mono-spaced font
Mar 22 07:28:16 localhost scs2pdf[24201]: SVM set top margin to 180
Mar 22 07:28:16 localhost scs2pdf[24201]: SPPS (width = 14256) (length = 12240)
Mar 22 07:28:16 localhost scs2pdf[24201]: Using landscape orientation
Mar 22 07:28:16 localhost scs2pdf[24201]: SSLD set LPI to 8
Mar 22 07:28:16 localhost scs2pdf[24201]: SCGL = ff
(Continue reading)


Gmane