cr, lf, and reading in terminals/vim

Brian Milby brian at milby7.com
Thu Oct 31 18:47:51 EDT 2019


https://github.com/livecode/livecode/pull/7214

We'll see where it goes this time...

On Thu, Oct 31, 2019 at 12:27 PM Brian Milby <brian at milby7.com> wrote:

> I’ll submit a PR tonight.
>
> Thanks,
> Brian
> On Oct 31, 2019, 12:26 PM -0400, Richard Gaskin via use-livecode <
> use-livecode at lists.runrev.com>, wrote:
>
> Ben Rubinstein wrote:
>
> Brian Milby wrote:
>
> My suggestion is to just bite the bullet and build LC where 'file'
> exports using LF on Mac
>
>
> Oh please yes!
>
>
> Seconded.
>
> Containing the scope of the remedy to text writes should affect very
> few, and those affected will probably welcome the change.
>
> What needs to be done to move this forward?
>
>
> Bob Sneidar wrote:
>
> Upon examining the ascii value of every line terminator I discovered
> something, perhaps the OS or the software itself, converted the
> terminators to something else. I also find this practice to be not
> just confusing, but reprehensible.
>
>
> LC supports two write modes: text and binary. Perhaps the editor you'd
> used supports the equivalent of LC's text mode, where the data is indeed
> altered to provide greater convenience for cross-platform line-endings,
> replacing NULLs with spaces, etc. This is consistent with how HyperTalk
> established writes, and I've seen some text editor packages do similar
> things.
>
> When you need to preserve data as-is, use binary mode.
>
> Thankfully LC provides both. HyperCard provided only text mode, and
> SuperCard only binary mode. I like being able to use each depending on
> what I'm doing.
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the use-livecode mailing list