• Trying to remove extra text from screen

    From SETH HURST@1:123/140 to ALL on Tue Jan 8 14:47:50 2019
    So I'm using netcat as a telnet/mud client and irc client and on some
    sites I'm wondering how to remove the extra text that shows up on
    screen. I'm using a screen reader.
    --- Platinum Xpress/Win/WINServer v3.0pr5
    * Origin: Fido Since 1991 | QWK by Web | BBS.FIDOSYSOP.ORG (1:123/140)
  • From Maurice Kinal@2:280/464.113 to SETH HURST on Tue Jan 8 23:51:39 2019
    Hallo SETH!

    So I'm using netcat as a telnet/mud client and irc client and on
    some sites I'm wondering how to remove the extra text that shows
    up on screen. I'm using a screen reader.

    I am guessing that you are using a 32 bit version of windows which prompts me to suggest you following this link;

    http://gnuwin32.sourceforge.net/packages.html

    Of most interest to your requirements would be sed and/or gawk. Having both is
    of course the best plan of attack. Also, if you are really adventerous, coreutils wouldn't hurt any especially 'tr' which is an app of that particular package.

    If you are using Linux then no need for the above since every half decent Linux
    distribution has these packages already. The only exception might be gawk which is replaced by mawk by some of the lesser distributions such as Debian and it's bastard children (eg Ubuntu). :::evil grin:::

    My particular read script for FTN packed MSG format, uses both sed and gawk oneliners and I could have easily gotten away with gawk only but where is the fun in that? ;-)

    Het leven is goed,
    Maurice

    ... Huil niet om mij, ik heb vi.
    --- GNU bash, version 5.0.0(1)-rc1 (x86_64-bonnell-linux-gnu)
    * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)
  • From mark lewis@1:3634/12.73 to Maurice Kinal on Wed Jan 9 07:37:50 2019

    On 2019 Jan 08 23:51:38, you wrote to SETH HURST:

    So I'm using netcat as a telnet/mud client and irc client and on
    some sites I'm wondering how to remove the extra text that shows
    up on screen. I'm using a screen reader.

    I am guessing that you are using a 32 bit version of windows which prompts me to suggest you following this link;

    why would you think that when he posted in the linux area? i suspect that, like
    at least one other blind sysop, he is using linux and one of the screen readers
    for it...

    Of most interest to your requirements would be sed and/or gawk.

    i don't think you can shove those into a screen reader to remove text before the reader verbalizes the it ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... We do not accept reservations...but we do honor dibs.
    ---
    * Origin: (1:3634/12.73)
  • From Maurice Kinal@2:280/464.113 to mark lewis on Wed Jan 9 17:13:52 2019
    Hey mark!

    why would you think that when he posted in the linux area?

    Because the TID and the tearline both claim he is using a windows app to post to this echo;

    TID: PX/Win v3.0pr5 PX96-0466M2
    --- Platinum Xpress/Win/WINServer v3.0pr5

    Also the likelihood of getting a potential fix in this echoarea as opposed to a
    windows echoarea is much greater especially when it concerns terminal apps. Also, also windows users have used this echoarea in the past to get help.

    i don't think you can shove those into a screen reader to remove
    text before the reader verbalizes the it ;)

    Why not? I did exactly that to read the message I am replying to. Although there is more the line to find the actual message (text) is this;

    sed -n "${1}p" messages.raw | gawk -F'\0' '{print $5}' | tr '\1\r' '@\n'

    Note the 'tr' at the end replaces the C0 ascii control characters to their printable forms. The gawk call gets rid of the null character at the end of the text. I have another oneliner that fetches the DateTime, To, From, and Subject fields using gawk's {print $1, $2, $3, $4} dealie which are also null terminated as specified by -F'\0'.

    Works like a charm and the oneliners could be replaced by a purely gawk script which will do the job of sed and tr as well as the printing part to any screen (terminal). However, like I've already stated, where is the fun in that?

    Life is good,
    Maurice

    ... Don't cry for me I have vi.
    --- GNU bash, version 5.0.0(1)-rc1 (x86_64-silvermont-linux-gnu)
    * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)
  • From mark lewis@1:3634/12.73 to Maurice Kinal on Wed Jan 9 15:48:00 2019

    On 2019 Jan 09 17:13:52, you wrote to me:

    why would you think that when he posted in the linux area?

    Because the TID and the tearline both claim he is using a windows app to post to this echo;

    he is posting as a user on someone else's board ;)

    i don't think you can shove those into a screen reader to remove
    text before the reader verbalizes the it ;)

    Why not? I did exactly that to read the message I am replying to. Although there is more the line to find the actual message (text) is this;

    you are the only one who does fidonet like this, ya know ;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Some days I think I'm a wheel short of a unicycle.
    ---
    * Origin: (1:3634/12.73)
  • From Maurice Kinal@2:280/464.113 to mark lewis on Wed Jan 9 21:21:00 2019
    Hallo mark!

    he is posting as a user on someone else's board ;)

    Possibly but it doesn't look that way from this angle. Most (all?) of the user
    posts I've seen from that particular node are from offline readers such as QWK.
    :::shudder:::

    you are the only one who does fidonet like this, ya know ;)

    It's only a hobby. :::snicker:::

    Het leven is goed,
    Maurice

    ... Huil niet om mij, ik heb vi.
    --- GNU bash, version 5.0.0(1)-rc1 (x86_64-bonnell-linux-gnu)
    * Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)