RE: [U2] Type ahead buffer overflow

2008-02-27 Thread Tom Dodds
Subject: RE: [U2] Type ahead buffer overflow Agreed. You may find tho', that the extra call out to TRIM may cause the input loop to be too slow to collect all the incoming data. Better to get the data, then trim as you process it... Your loop doesn't cater for 80 col lines (or whatever length

RE: [U2] Type ahead buffer overflow

2008-02-26 Thread Dennis Bartlett
Can't you simply paste into a text file in a type 1 directory, and then read and process the input? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds Sent: 25 February 2008 07:41 PM To: u2-users@listserver.u2ug.org Subject: [U2] Type ahead buffer

RE: [U2] Type ahead buffer overflow

2008-02-26 Thread Hona, David S
in a cut 'n' paste operation! :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Bartlett Sent: Tuesday, 26 February 2008 7:13 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Type ahead buffer overflow Can't you simply paste into a text file

RE: [U2] Type ahead buffer overflow

2008-02-26 Thread Ross Ferris
by Design! -Original Message- From: [EMAIL PROTECTED] [mailto:owner-u2- [EMAIL PROTECTED] On Behalf Of Tom Dodds Sent: Tuesday, 26 February 2008 9:31 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Type ahead buffer overflow The test we have run seems to indicate that the data loss start

RE: [U2] Type ahead buffer overflow

2008-02-26 Thread Dennis Bartlett
A! OK, so with your 500 lines of data, is it a single INPUT statement for all 500 lines? Or a loop over INPUT? AND 500 lines of 80 COL wide If so, then the code you're looking for is LOOP INPUT LN, 80 IF TRIM(LN) = '' THEN EXIT GOSUB PROCESS.LINE REPEAT That way the INPUT

RE: [U2] Type ahead buffer overflow

2008-02-26 Thread Thomas Derwin
Agreed, a UD DIR-type file (called type 19 in UV) in the middle might solve the issue nicely. Instead of an input statement, the UniBasic program would simply read the record from the DIR-type file. The heavy lifting involves passing the data into the DIR-type file. Several possibilities come to

RE: [U2] Type ahead buffer overflow

2008-02-26 Thread Tim Stokes
] On Behalf Of Dennis Bartlett Sent: Tuesday, February 26, 2008 9:00 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Type ahead buffer overflow A! OK, so with your 500 lines of data, is it a single INPUT statement for all 500 lines? Or a loop over INPUT? AND 500 lines of 80 COL wide

RE: [U2] Type ahead buffer overflow

2008-02-26 Thread Dennis Bartlett
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Stokes Sent: 26 February 2008 06:26 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Type ahead buffer overflow That is very similar to the one I use. Here is mine. REC = '' LOOP INPUT XXX UNTIL XXX = *NED OF TEXT* DO REC-1 = XXX

RE: [U2] Type ahead buffer overflow

2008-02-25 Thread Robert Houben
I have had little to no success over the years in trying to convince various flavors of PICK to honor long strings passed in. The stty settings guarantee that the O/S gets the data, but does NOT guarantee that PICK can handle the long string. What has always worked for us is to insert CRs

RE: [U2] Type ahead buffer overflow

2008-02-25 Thread bpaige
Is it losing data at the end, or dropping characters in the middle? If the latter, check your emulation software and see if you can either slow down the data transfer rate, or insert pauses every so often. I think ViaDuct has an options, for example, for the data transmit rate (in it's

RE: [U2] Type ahead buffer overflow

2008-02-25 Thread Tom Dodds
Thanks for the reply, it may be something we can work out. Tom Dodds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Houben Sent: Monday, February 25, 2008 12:44 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Type ahead buffer overflow I

RE: [U2] Type ahead buffer overflow

2008-02-25 Thread Tim Stokes
How large is the data? How are you receiving the data? The routines I use hold several pages. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Dodds Sent: Monday, February 25, 2008 12:41 PM To: u2-users@listserver.u2ug.org Subject: [U2] Type ahead

RE: [U2] Type ahead buffer overflow

2008-02-25 Thread Gregor Scott
tOM, Do not rule out AIX as being part of the problem. I encountered an issue with AIX having a buffer overrun when dealing with a large paste into an input in UniVerse. I was able to diagnose the isse for IBM by using a packet sniffer to track exactly what was sent to the AIX machine, and

RE: [U2] Type ahead buffer overflow

2008-02-25 Thread Ross Ferris
What terminal emulation product are you pasting into? There may be some options that can be used to control fast pastes are done ...? and if there aren't, if it provides some form of scripting you may be able to paste into something else, and then funnel this data across to your connection under

RE: [U2] Type ahead buffer overflow

2008-02-25 Thread Tom Dodds
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Stokes Sent: Monday, February 25, 2008 2:50 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Type ahead buffer overflow How large is the data? How are you receiving the data? The routines I use hold

Re: [U2] Type ahead buffer overflow

2008-02-25 Thread Louie Bergsagel
I've tried pasting a large amount of @IDs into and edit list, and UniVerse will only handle about 2500 lines before dropping data. For instance, I did a LIST FILE EVAL @NI SAMPLE 5000, and cut and pasted that into EDIT.LIST LOUIEB, and it started dropping lines at 2519. Quite annoying. 2517=

Re: [U2] Type ahead buffer overflow

2008-02-25 Thread Ray Wurlod
Large Select Lists in UniVerse are saved using multiple files in SAVEDLISTS. Try doing a large save to learn the naming convention. What you tried explored - indeed, found - the upper limit on the size of one of those files. --- u2-users mailing list u2-users@listserver.u2ug.org To