Re: ANSI, BIN, SAUCE, and EOF
By: Kirkman to All on Wed Apr 29 2015 02:50 pm
> One frustration when playing with ANSI or BIN files using frame.js is SAUCE.
>
> I understood from the SAUCE spec that SAUCE stuff comes after an EOF
> character '\0X1A', which generally prevented old terminals and programs from
> processing the SAUCE info.
>
> This doesn't seem to stop Frame.js. It attempts to render the sauce info as
> if it was graphic information.
>
> I want to propose that Frame.js be adjusted to recognize SAUCE records.
>
> There could be a lot of benefits from parsing SAUCE records, like getting a
> file's width and height and not needing it specified in code. That'd be a
> handy feature. However, I recognize that parsing SAUCE is probably asking
> way too much.
>
> So how about if Frame.js could at least look for SAUCE and strip/ignore it
> while parsing the ANSI or BIN file?
Or just stop processing the ANSI file when a Ctrl-Z (CP/M EOF) character is
read. Synchronet itself will not send Ctrl-Z characters contained in .ASC/.ANS
files to the user, but it doesn't stop processing the file. I imagine if you
had sauce information in ANSI files that were displayed in the general text
file section or as logon messages or menus, you'd have a very similar issue.
digital man
Synchronet "Real Fact" #79:
85 SBBSecho registrations were sold (at $49) between 1994 and 1996.
Norco, CA WX: 91.0°F, 14.0% humidity, 13 mph E wind, 0.00 inches rain/24hrs
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
|