• Why not! ;-P

    From yeti@yeti@tilde.institute to tilde.meta on Wed Jan 8 17:38:08 2025
    After letter by letter cut&paste constructing something else in wide
    chars, this needed to get simpler!

    ------------------------------------------------------------------------ ~/wrk/unicode-papoy$ date | ./wide
    Wed 8 Jan 13:33:37 UTC 2025 ~/wrk/unicode-papoy$ ./wide <<< 'I just want to play!'
    I just want to play!
    ~/wrk/unicode-papoy$ ./wide <<< 'Why not! ;-P'
    Why not! ;-P
    ~/wrk/unicode-papoy$ █ ------------------------------------------------------------------------

    That's just a more than only brainless AWK script, not even worth to
    publish.

    <https://unicode-explorer.com/b/FF00> will get you started.

    <http://xahlee.info/comp/unicode_full-width_chars.html> has an online
    helper to convert stuff to double width and as always I only stumbled
    into that one after my hack was finished.

    One question remained: Does a double width space exist?

    I'm using two normal spaces and that seems to fit ™well enough™.
    -- I do not bite, I just want to play.
    --- Synchronet 3.20a-Linux NewsLink 1.2
  • From yeti@yeti@tilde.institute to tilde.meta on Wed Jan 8 17:39:36 2025
    Oh!
    That online helper uses a double width space!
    My hack gets an update!
    --
    I do not bite, I just want to play.
    --- Synchronet 3.20a-Linux NewsLink 1.2
  • From yeti@yeti@tilde.institute to tilde.meta on Wed Jan 8 17:51:55 2025
    Not perfect, but much better than using "\" and "/". Additionally this
    may depend a lot on your local font.

    ------------------------------------------------------------------------ ~/wrk/unicode-papoy$ ./c64 \/\\\//\/\/\/\\\\\/\///\////\/\\\/\\/\/\
    \\/\//\\/\\//\\//////\\\/\/\\\\//\\\/\\/
    \//\\//\/\\\\\/\/\\\//\\/\\/\/\/////\//\
    ///\\\\/\///\//\/\/\/\/\//\\\\\\//\////\
    \\//\/\/\/\//\\///\\/\\/\/\\/\\\\\/\\\\\
    \\\\\//\\/\/\/\////\/\\\/\\//\\//\///\\/
    \///\/\//\\\//\\\/\/\\\/\//\\///\\\/\///
    \/\///\\\\/\/\\\\/\\/\\\/\//\//\///\\/\/
    \\///////\\\\\///\\////\/////\\/\\//\\\/
    \/\///\\\/\///\\//\\//\\//\////\\////\\/
    /\\\\//\//\\\\/\//\///\//\/\\//\\\///\/\
    \\//////\/\////\/\\\\\\/\/\\\\\//\\\///\
    /\\\////\\//\\\/\//\\\\//\\\\\/\\\/\\\\\
    \\\/\\\\\\/\//\\\\/\\\\/\/\\\\//\/\/\///
    ///\\\\//\//\\//\\\//\\\\\/\//\/\\//\\\/
    \\//\\\///\\/\\///\\\\/\\////\\\\\///\\\
    //\/\\//\/\\\\////\///\////\\/\//////\\/
    //\\/\/\/\\/\\//\\\\\/\/\/\/////\/\\/\//
    \/\/\\\\\//\\/\//\//\\//\//\/\/\\\/\\\//
    /\\\\\\\///////\\\////\///\\/\\//\\/\\\\
    /\\///\/\//\\/\\/\//\/\////\/\\/\\/\\//\
    ///////\///\\\\\//\/\//\\\\/\\\/\///\/\\
    \\\\\\\\\/\\///\\\/\//\/////\\/\\\//\\\/
    \\\\\/\\\\//\/////\//\\/\\////\/\/\\////
    /\//\///\////\/\\\//\\/\/\\\/\\\//\/\//\
    ----------------------------------------------------------------

    \o/ ____( Memories! )
    --
    I do not bite, I just want to play.
    --- Synchronet 3.20a-Linux NewsLink 1.2
  • From yeti@yeti@tilde.institute to tilde.meta on Wed Jan 8 17:54:04 2025
    Outch!
    That's mean!
    Is it only GNUS or do lines get split in every newsreader?
    --
    I do not bite, I just want to play.
    --- Synchronet 3.20a-Linux NewsLink 1.2
  • From yeti@yeti@tilde.institute to tilde.meta on Wed Jan 8 18:31:58 2025
    Ah... GNUS!
    Saw it in Evolution and it looks as intended.
    So that's something for my GNUS to do list...
    --
    I do not bite, I just want to play.
    --- Synchronet 3.20a-Linux NewsLink 1.2
  • From yeti@yeti@tilde.institute to tilde.meta on Wed Jan 8 23:01:24 2025
    Maybe it's time to switch to the "one true AWK".

    ------------------------------------------------------------------------ ~/wrk/unicode-papoy$ gawk -f wide <<< 'gawk'
    gawk
    ~/wrk/unicode-papoy$ mawk -f wide <<< 'mawk'
    ����
    ~/wrk/unicode-papoy$ otawkbsdpe -f wide <<< 'onetrueawk/bsd plus -E' onetrueawk/bsd plus -E ------------------------------------------------------------------------

    Meanwhile OTAWK seems safe with Unicode and it's BSD features branch has bit-ops, which I sometimes missed in standard AWK. Additionally I am experimenting with adding GAWK's "-E" option which is also seen as "-We"
    in MAWK to OTAWK.

    See <https://github.com/onetrueawk/awk/issues/125>.
    --
    Trust me, I know what I'm doing...
    --- Synchronet 3.20a-Linux NewsLink 1.2