× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Pasting multiple lines into an xt5250 session
  • From: Sean Porterfield <sporter@xxxxxxxxxxxx>
  • Date: Wed, 28 Jun 2000 12:52:55 -0400
  • Organization: Best Distributing Co.

I think a better question might be: Is there any way to copy multiple lines from
xt5250 without it adding the enter at the end of the line?  (Becuase we didn't
type enter, it just wrapped to the next line.  vim knows there is no CR but
xt5250 doesn't.)

Scott Klement wrote:

> On Wed, 28 Jun 2000, Martin Rowe wrote:
>
> > Hi
> >
> > I can copy multiple lines from an xt5250 session and paste them into a
> > text editor fine. If I try to paste the same lines into an xt5250
> > screen the emulator puts in the first line then acts as if Enter had
> > been pressed, so the AS/400 processes just the one line that's been
> > pasted. This might be copying an SQL statement from an interactive SQL
> > session from one AS/400 to another, or a command on the command entry
> > screen.
> >
> > If I paste into a screen that doesn't try and process the input, I
> > just get the first line, with bits of the last copied line tagged on
> > at the end.
> >
> > I'm assuming this is an xt5250 issue, as multi-line pasting into vim
> > running in an xterm works fine.
>
> If you think about, they're doing the same thing.  When you paste data
> into an editor (such as vim), its "typing" the line of text into the
> program, then hitting enter at the end of the line.
>
> The difference is that in an editor, enter takes you to the next line,
> whereas in a 5250 session, it takes you to the next screen :)
>
> I don't think tn5250 handles cut/copy/paste at all since it is
> really just a console-mode application running in an xterm.  The xterm
> is handling the pastes, and unfortunately, they need to be handled
> differently than they would in an ordinary text application :(
>
> By contrast the gnome-5250/gtk-5250 application doesn't appear to do
> any cut/copy/paste operations at all.  Maybe when it is completed,
> it'll handle these nicely?  (Jay?)
>
> +---
> | This is the LINUX5250 Mailing List!
> | To submit a new message, send your mail to LINUX5250@midrange.com.
> | To subscribe to this list send email to LINUX5250-SUB@midrange.com.
> | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.