Re: XForms: browser object

Peter Hanley (peter@hanley.demon.co.uk)
Mon, 27 Sep 1999 07:36:54 +0100 (BST)

# To subscribers of the xforms list from Peter Hanley <peter@hanley.demon.co.uk> :

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1734425890-1597790301-938414214=:541
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sat, 25 Sep 1999, T.C. Zhao wrote:

> # To subscribers of the xforms list from "T.C. Zhao" <tc_zhao@yahoo.com> :
>
>
>
> --- Peter Hanley <peter@hanley.demon.co.uk> wrote:
> >
> > Remming out the "fl_replace_browser_line()" statement stopped the
> > crashes
> > however.
> >
> > The problem seems to be when the first characters of the line
> > combines
> > with the the "@Cxx" to give something which can't be handled. I have
> > cured the problem by delimiting the colour number with a space:
> >
> > sprintf(buffer2, "@C%i ",COLOUR);
> > strncat(buffer2, buffer1, BUFFER_SIZE);
> > fl_replace_browser_line(file_viewer, i, buffer2);
> >
> > Is there a better, invisable way of delimiting the colour?
>
> This sounds like an old bug or at least somewhat familiar.
> What version of xforms you're using ? And can you give me
> the string that causes the problem ?
>

The version is 0.88

The attached file contains two lines. The second line (beginning "10.."is
where the crash occurs.

I have been using CR (ASCII 13) to delimit the colour, with success.

Peter Hanley

==============================================================================
Western Lodge, Parkend +44 01594 562817
Lydney peter@hanley.demon.co.uk
Gloucestershire GL15 4JQ
UK
==============================================================================

---1734425890-1597790301-938414214=:541
Content-Type: TEXT/plain; name="offending_string.txt"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.96.990927073654.541B@hanley.demon.co.uk>
Content-Description:

OCAtIDkgbW92YWJsZSBjb21wcw0KMTAgLSAxNCBmaXhlZCBjb21wcw==
---1734425890-1597790301-938414214=:541--
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/