• ANSIEDIT supporting blink

    From alterego@VERT/ALTERANT to echicken on Sat Jul 25 22:42:00 2020
    Hey Mr Chicken,

    I modified ansiedit.js to support two things:

    * Blink character
    * Changed saveAnsi to call exportAnsi - since I wanted to capture the data and use my own save routine (in the project I'm working on).

    Here is the patch if you are interested in it - base64 encoded:

    OTVhOTYKPiAJCQktIEJsaW5rIGF0dHI/IChJIGRvbid0IHRoaW5rIGl0IHdvcmtzIHdpdGggZnJh bWUuanMgcHJlc2VudGx5LikKMzM2YzMzNwo8IAl0aGlzLmV4cG9ydEFuc2kgPSBmdW5jdGlvbigp IHsKLS0tCj4gCWZ1bmN0aW9uIHNhdmVBbnNpKCkgewozMzksMzQwYzM0MAo8IAkJdmFyIGJsa21h c2sgPSAoMTw8Nyk7CjwgCQl2YXIgbGluZXMgPSBbXSwgZmcgPSA3LCBiZyA9IDAsIGhpID0gMCwg YmxrID0gMDsKLS0tCj4gCQl2YXIgbGluZXMgPSBbXSwgZmcgPSA3LCBiZyA9IDAsIGhpID0gMDsK MzQ5LDM2MmQzNDgKPCAJCQkJCWlmICgoY2guYXR0ciZibGttYXNrKSAhPSBibGspIHsKPCAJCQkJ CQlibGsgPSAoY2guYXR0ciZibGttYXNrKTsKPCAJCQkJCQlpZiAoISBibGspIHsKPCAJCQkJCQkJ c2VxdWVuY2UucHVzaCgwKTsKPCAKPCAJCQkJCQkJaWYgKChjaC5hdHRyJmZnbWFzaykgPiA3KSB7 CjwgCQkJCQkJCQloaSA9IDE7CjwgCQkJCQkJCQlzZXF1ZW5jZS5wdXNoKDEpOwo8IAkJCQkJCQl9 CjwgCjwgCQkJCQkJfSBlbHNlIHsKPCAJCQkJCQkJc2VxdWVuY2UucHVzaChhdHRyTWFwW0JMSU5L XSk7CjwgCQkJCQkJfQo8IAkJCQkJfQozOTMsMzk5ZDM3OAo8IAo8IAkJcmV0dXJuIGxpbmVzOwo8 IAl9CjwgCjwgCWZ1bmN0aW9uIHNhdmVBbnNpKCkgewo8IAkJJGxpbmVzID0gc2VsZi5leHBvcnRB bnNpKCk7CjwgCg==

    ...δεσ∩

    ... Superior ability breeds superior ambition. Spock, stardate 3141.9.

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From alterego@VERT/ALTERANT to Digital Man on Sat Jul 25 22:44:20 2020
    Re: ANSIEDIT supporting blink
    By: alterego to echicken on Sat Jul 25 2020 10:42 pm

    Hey DM,

    I patched graphic.js to support blink if you are interested - a minor change.

    Base64:

    MTk3LDE5OWQxOTYKPCAJCQkJCQljYXNlIDU6CjwgCQkJCQkJCWJuayA9IG9iai5kZWZzLkJMSU5L Owo8IAkJCQkJCQlicmVhazsK

    ...δεσ∩

    ... Let him who takes the plunge remember to return it by Tuesday.

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From alterego@VERT/ALTERANT to echicken on Sat Jul 25 23:19:19 2020
    Re: ANSIEDIT supporting blink
    By: alterego to echicken on Sat Jul 25 2020 10:42 pm

    Hey Mr Chicken,

    I modified ansiedit.js to support two things:
    * Changed saveAnsi to call exportAnsi - since I wanted to capture the data and use my own save routine (in the project I'm working on).

    Sorry, I gave you the wrong patch - but I think you'll see the error - I had $lines when it should have been just lines.

    ...δεσ∩

    ... A modest man is usually admired - if people ever hear of him.

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From echicken@VERT/ECBBS to alterego on Sat Jul 25 13:24:21 2020
    Re: ANSIEDIT supporting blink
    By: alterego to echicken on Sat Jul 25 2020 22:42:00

    I modified ansiedit.js to support two things:

    * Blink character
    * Changed saveAnsi to call exportAnsi - since I wanted to capture the data and use my own save
    routine (in the project I'm working on).

    Here is the patch if you are interested in it - base64 encoded:

    Thanks, I'll try to remember to have a closer look at this later.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to alterego on Sun Jul 26 19:27:09 2020
    Re: Change graphic.js to support blink.
    By: alterego to Digital Man on Sat Jul 25 2020 10:44 pm

    Re: ANSIEDIT supporting blink
    By: alterego to echicken on Sat Jul 25 2020 10:42 pm

    Hey DM,

    I patched graphic.js to support blink if you are interested - a minor change.

    Base64:

    MTk3LDE5OWQxOTYKPCAJCQkJCQljYXNlIDU6CjwgCQkJCQkJCWJuayA9IG9iai5kZWZzLkJMSU5L Owo8IAkJCQkJCQlicmVhazsK

    Thanks. A 'diff' output would be easier to merge in.. for next time. Technically, 6m means "blink" too, but I guess you didn't need support for that one.

    digital man

    Sling Blade quote #16:
    Karl Childers (to Doyle, re: lawn mower blade): I aim to kill you with it. Mmm. Norco, CA WX: 72.9°F, 67.0% humidity, 4 mph SE wind, 0.00 inches rain/24hrs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From alterego@VERT/ALTERANT to Digital Man on Mon Jul 27 12:59:27 2020
    Re: Change graphic.js to support blink.
    By: Digital Man to alterego on Sun Jul 26 2020 07:27 pm

    Thanks. A 'diff' output would be easier to merge in.. for next time.

    This was a diff output - but did you mean not posted here base64 encoded?

    I was able to use it myself, hence why I sent it to you here that way.

    I would send it via DOVEnet, but QWK doesnt support file attached netmail does it? If it does, I must have a setting wrong, because I get "email file attachments not allowed."

    ...δεσ∩

    ... Gambling: The sure way of getting nothing for something.

    ---
    ■ Synchronet ■ Alterant | an SBBS in Docker on Pi!
  • From Digital Man@VERT to alterego on Sat Aug 1 12:27:12 2020
    Re: Change graphic.js to support blink.
    By: alterego to Digital Man on Mon Jul 27 2020 12:59 pm

    Re: Change graphic.js to support blink.
    By: Digital Man to alterego on Sun Jul 26 2020 07:27 pm

    Thanks. A 'diff' output would be easier to merge in.. for next time.

    This was a diff output - but did you mean not posted here base64 encoded?

    Yeah, it's just an extra step. Unless there's some line-wrap issue or something?

    I was able to use it myself, hence why I sent it to you here that way.

    I would send it via DOVEnet, but QWK doesnt support file attached netmail does it? If it does, I must have a setting wrong, because I get "email file attachments not allowed."

    From sysop to sysop, you can just QWNnet file transfers: http://synchro.net/docs/networking.html#TransferringFilesThroughQWK

    or you could ftp-upload to vert.synchro.net/incoming

    The base64-encoded patches worked fine though. And I see where there could be a problem if long lines (in the diff) were wrapped, and that's avoided by base64-encoding.

    digital man

    Sling Blade quote #10:
    Morris: I stand on the hill, not for thrill, but for the breath of a fresh kill Norco, CA WX: 94.1°F, 32.0% humidity, 10 mph NE wind, 0.00 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net