• a simple ansi test

    From Maurice Kinal@1:153/7001 to mark lewis on Mon Apr 15 04:01:03 2019
    Hey mark!

    If this breaks anything I am blaming you.

    They call me mellow yellow.

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Maurice Kinal@2:280/464.113 to Maurice Kinal on Mon Apr 15 04:14:50 2019
    Hallo Maurice!

    Heh, heh. Gotta love bashing. How about when I quote it?

    They call me mellow yellow.

    Het leven is goed,
    Maurice

    ... Huil niet om mij, ik heb vi.
    --- GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)
  • From Maurice Kinal@1:153/7001.2989 to Maurice Kinal on Mon Apr 15 04:23:12 2019
    Hey Maurice!

    Heh, heh. Gotta love bashing. How about when I quote it?

    They call me mellow yellow.

    Worked like a charm here but just to be sure let's double down on it although we are probably pushing our so-called luck. Right mark?

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.0.3(1)-release (aarch64-raspi3b+-linux-gnu)
    * Origin: Little Mikey's CanadARM - Ladysmith BC, Canada (1:153/7001.2989)
  • From Alan Ianson@1:153/757 to Maurice Kinal on Sun Apr 14 21:27:58 2019
    They call me mellow [33;1myellow[0m.

    In BBBS it looks like that, no colour at all.

    Looking at that message in Mystic the word "yellow" is yellow.

    Mystic has no problem displaying ansi messages as you would expect.

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Maurice Kinal@1:153/7001 to Alan Ianson on Mon Apr 15 04:46:04 2019
    Hey Alan!

    In BBBS it looks like that, no colour at all.

    Right. Same with vim and I suspect most if not all text editors.

    Looking at that message in Mystic the word "yellow" is yellow.

    Same with 'cat' which can and does work with ansi escape sequences. For longer ansified files 'less -r' is probably the better tool, especially when piped to from 'fold -s -w n' where n = number of columns in the display.

    It is all good.

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From mark lewis@1:3634/12.73 to Maurice Kinal on Mon Apr 15 13:03:10 2019

    On 2019 Apr 15 04:01:02, you wrote to me:

    @MSGID: 1:153/7001 5cb401ff
    Hey mark!

    If this breaks anything I am blaming you.

    They call me mellow yellow.

    i'm assuming that the above quote really does have ">[" in it... GoldED doesn't do ANSI and replaces the esc character with the ">" but if i save the message to a temp file and then view it, i can see the ANSI :) if i were using a terminal into a BBS, i would have seen it immediately instead of having to do the temp file thing...

    @PATH: 153/7001 757 770/1 280/464 154/10 3634/12


    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Does it have to actually work, or is Siemens' gear okay?
    ---
    * Origin: (1:3634/12.73)
  • From Maurice Kinal@1:153/7001 to mark lewis on Mon Apr 15 17:30:38 2019
    Hey mark!

    i'm assuming that the above quote really does have ">[" in it

    No it doesn't. In reality the ansi escape sequences both start with the C0 control character 0x1B. In vim it shows up as a blue coloured ^[ character combination.

    temp file and then view it, i can see the ANSI :)

    Same situation here. I wrote a bash script I call msg-read.sh that uses gawk to print the 5 fields from raw msg's which preserves as well as honours the ascii escape sequences and the end result is more or less what you would see on a BBS. I don't bother with line and/or box drawing characters and use = to divide the msg_body from the 'header'; Date, To, From, and Subj, as well as add those labels to the appropriate field. Also I pipe that to 'fold -s -w n' to add soft word wrapping when needed. I could add 'n=$(tput cols)' to the script so it would automagically know the width and then 'fold -s -w n' to add the soft wraps in exactly the right position (the nearest space to the end of that terminal line). That way different terminals with different dimmensions would wrap according to their needs using the exact same script -> 604 bytes as it stands today.

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)
  • From Nancy Backus@1:229/452 to Maurice Kinal on Thu Apr 18 15:05:08 2019
    Quoting Maurice Kinal to mark lewis on 15-Apr-2019 04:01 <=-

    If this breaks anything I am blaming you.

    They call me mellow yellow.

    It didn't break anything.... And, in my reader, using the Alt-V, I saw
    the yellow in full color... :)

    ttyl neb

    ... Sit down, you're rocking the boat!

    --- EzyBlueWave V3.00 01FB001F
    * Origin: Tiny's BBS - http://www.tinysbbs.com (1:229/452)
  • From Maurice Kinal@1:153/7001 to Nancy Backus on Fri Apr 19 03:57:06 2019
    Hey Nancy!

    It didn't break anything.... And, in my reader, using the Alt-V,
    I saw the yellow in full color... :)

    It works here on the 'linux' terminal but in the editor it only shows the ansi escape sequence for yellow, as well as the reset ansi escape sequence as the end of yellow, just before the period.

    It would have been nice to see the pot of gold at the end of the rainbow and perhaps mark might resend it without his golded getting in the way. I did see the ascii version of it here; https://www.asciiart.eu/holiday-and-events/saint-patricks-day

    Given that all the characters are real ascii then no conversion should be required.

    Life is good,
    Maurice

    ... Cybertoasts of note:
    2020-01-01 is 257 days from now and falls on a Wednesday.
    2024-11-05 is 2027 days from now and falls on a Tuesday.
    --- GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001)