• SSH answer.msg

    From Apam@VERT/NOCTURN to All on Thursday, July 11, 2019 17:54:33
    Hi

    When I connect to my BBS with telnet it shows answer.msg, but when I connect with SSH it does not.

    Is there a file that gets shown upon connection to both ssh and telnet? I was thinking before the login on telnet and before the "Hit a key" on SSH.

    Andrew

    ---
    þ Synchronet þ Nocturnal
  • From echicken@VERT/ECBBS to Apam on Thursday, July 11, 2019 11:03:58
    Re: SSH answer.msg
    By: Apam to All on Thu Jul 11 2019 17:54:33

    When I connect to my BBS with telnet it shows answer.msg, but when I connect with SSH it does not.

    Is there a file that gets shown upon connection to both ssh and telnet? I was thinking before the login on telnet and before the "Hit a key" on SSH.

    See here:

    http://wiki.synchro.net/config:text_files

    The Logon Message Flow Chart may be of particular interest. Users who are already registered and connect via SSH or RLogin bypass everything up to "Logon Module" IIRC.

    The file you're probably looking for is 'text/menu/logon.*' (see "Menu Files" at the bottom of the page re: extensions).

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From mark lewis@VERT to echicken on Thursday, July 11, 2019 13:51:06
    On 2019 Jul 11 11:03:58, you wrote to Apam:

    The Logon Message Flow Chart may be of particular interest. Users who
    are already registered and connect via SSH or RLogin bypass everything
    up to "Logon Module" IIRC.

    i'm seeing something similar to what apam is seeing but i know the flow from login.js to logon.js... what i'm trying to figure out is where the pause is coming from that's shown right after the copyright notice... the pause isn't there when using telnet but it is there when using ssh...

    )\/(ark

    And to this end they built themselves a stupendous super-computer which was
    so amazingly intelligent that even before its data banks had been connected
    up it had started from "I think therefore I am" and got as far as deducing
    the existence of rice pudding and income tax before anyone managed to turn
    it off.
    ... An archeologist is someone whose career lies in ruins.
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to mark lewis on Thursday, July 11, 2019 14:40:12
    Re: SSH answer.msg
    By: mark lewis to echicken on Thu Jul 11 2019 13:51:06

    from login.js to logon.js... what i'm trying to figure out is where the pause is coming from that's shown right after the copyright notice... the pause isn't there when using telnet but it is there when using ssh...

    Oh, I didn't notice that a pause was part of the problem. I have that same thing here. I described it to DM a while back but I think that discussion fizzled out. Only seems to affect SSH (and RLogin IIRC) connections.

    I did ... something to work around it, but I think it was pretty hacky. If I can find it I'll let you know.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT/ECBBS to mark lewis on Thursday, July 11, 2019 14:42:47
    Re: SSH answer.msg
    By: echicken to mark lewis on Thu Jul 11 2019 14:40:12

    I did ... something to work around it, but I think it was pretty hacky. If I can find it I'll let you know.

    Yeah, my workaround is pretty bad. Let's just pretend it doesn't exist.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to Apam on Thursday, July 11, 2019 11:52:43
    Re: SSH answer.msg
    By: Apam to All on Thu Jul 11 2019 05:54 pm

    Hi

    When I connect to my BBS with telnet it shows answer.msg, but when I connect with SSH it does not.

    Is there a file that gets shown upon connection to both ssh and telnet?

    The answer.msg is shown (and the "login module" executed) via SSH if you attempt to login as an unknown user via SSH and then fail or abort the new user registration process.

    I
    was thinking before the login on telnet and before the "Hit a key" on SSH.

    There isn't. The "Hit a key" on SSH isn't really intentional and something I probably will eliminate at some point, so you'd have the logon.* shown immediately upon successful SSH Login and after a successful Telnet login.

    Showing a file both *before* login (via Telnet) and *after* login (via SSH) could potentially be very confusing. Is logon.* not appropriate for your needs?

    digital man

    This Is Spinal Tap quote #14:
    The Boston gig has been cancelled. [Don't] worry, it's not a big college town. Norco, CA WX: 85.4øF, 41.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Thursday, July 11, 2019 12:05:25
    Re: SSH answer.msg
    By: mark lewis to echicken on Thu Jul 11 2019 01:51 pm


    On 2019 Jul 11 11:03:58, you wrote to Apam:

    The Logon Message Flow Chart may be of particular interest. Users who are already registered and connect via SSH or RLogin bypass everything up to "Logon Module" IIRC.

    i'm seeing something similar to what apam is seeing but i know the flow from login.js to logon.js... what i'm trying to figure out is where the pause is coming from that's shown right after the copyright notice... the pause isn't there when using telnet but it is there when using ssh...

    It's an auto-pause because there's a screen-clear after displaying the Synchronet copyright banner.

    digital man

    This Is Spinal Tap quote #4:
    David St. Hubbins: He died in a bizarre gardening accident...
    Norco, CA WX: 87.2øF, 37.0% humidity, 3 mph ENE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Apam@VERT to Digital Man on Thursday, July 11, 2019 16:31:11
    Re: SSH answer.msg
    By: Digital Man to Apam on Thu Jul 11 2019 11:52 am

    There isn't. The "Hit a key" on SSH isn't really intentional and something I probably will eliminate at some point, so you'd have the logon.* shown immediately upon successful SSH Login and after a successful Telnet login.

    Showing a file both *before* login (via Telnet) and *after* login (via SSH) could potentially be very confusing. Is logon.* not appropriate for your needs?

    Ah ok, I have answer.msg as a kind of welcome banner, I can see how it could be confusing. It doesn't really matter I guess, just I'm used to doing things a certain way, so looking to replicate that lol. Though in my experience it's mostly been just me that logs on via ssh to my BBS, so it doesn't really matter.

    Andrew

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to echicken on Thursday, July 11, 2019 18:26:28
    Re: SSH answer.msg
    By: echicken to mark lewis on Thu Jul 11 2019 02:42 pm

    Re: SSH answer.msg
    By: echicken to mark lewis on Thu Jul 11 2019 14:40:12

    I did ... something to work around it, but I think it was pretty hacky. If I can find it I'll let you know.

    Yeah, my workaround is pretty bad. Let's just pretend it doesn't exist.

    I think it's resolved in CVS now.

    digital man

    Synchronet/BBS Terminology Definition #6:
    BinkD = Binkley Daemon
    Norco, CA WX: 85.6øF, 34.0% humidity, 7 mph NE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Apam@VERT to Digital Man on Thursday, July 11, 2019 20:37:54
    Re: SSH answer.msg
    By: Digital Man to echicken on Thu Jul 11 2019 06:26 pm

    I think it's resolved in CVS now.

    I saw that commit and updated... I think I can display my file now thanks!!!

    I didn't expect that, but really appreciate it :D

    Andrew

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to echicken on Friday, July 12, 2019 03:38:34
    On 2019 Jul 11 14:40:12, you wrote to me:

    from login.js to logon.js... what i'm trying to figure out is where
    the pause is coming from that's shown right after the copyright
    notice... the pause isn't there when using telnet but it is there
    when using ssh...

    Oh, I didn't notice that a pause was part of the problem.

    i wasn't saying that it was part of the original problem reported here... it did, however, provide me a chance to point it out instead of creting a new thread about it...

    I have that same thing here. I described it to DM a while back but I think that discussion fizzled out. Only seems to affect SSH (and
    RLogin IIRC) connections.

    yep...

    I did ... something to work around it, but I think it was pretty
    hacky. If I can find it I'll let you know.

    i saw your later post... yeah, i think DM has it sussed now... updated earlier yesterday and it is fixed now... i kinda like the "logging in as" line, too... i'm thinking of putting in a delay there followed by a clear screen possibly with a POFF as well... i haven't figured out the whole line counting and pause thing, yet... so i tend to use a lot of POFF and the code to reset the line count and then force my own pause prompts when desired...

    )\/(ark

    And to this end they built themselves a stupendous super-computer which was
    so amazingly intelligent that even before its data banks had been connected
    up it had started from "I think therefore I am" and got as far as deducing
    the existence of rice pudding and income tax before anyone managed to turn
    it off.
    ... Cat - 1. Furry keyboard cover. 2. Alarm Clock
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Friday, July 12, 2019 04:24:42
    On 2019 Jul 11 12:05:24, you wrote to me:

    i'm seeing something similar to what apam is seeing but i know the flow
    from login.js to logon.js... what i'm trying to figure out is where the
    pause is coming from that's shown right after the copyright notice...
    the pause isn't there when using telnet but it is there when using
    ssh...

    It's an auto-pause because there's a screen-clear after displaying the Synchronet copyright banner.

    aaahhhhooohhhh... i thought screen clearing reset the line counter that triggers auto-pauses? i can also understand that counter getting confused with the new unicode stuffs... especially if it is counting bytes rather than glyphs
    since unicode has 1, 2, 3 and 4 byte glyphs/characters... i'm not sure how one would determine if a glyph/character is more than one byte, though...

    )\/(ark

    And to this end they built themselves a stupendous super-computer which was
    so amazingly intelligent that even before its data banks had been connected
    up it had started from "I think therefore I am" and got as far as deducing
    the existence of rice pudding and income tax before anyone managed to turn
    it off.
    ... Feelings are everywhere - be gentle. Or I'll kill you!
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From mark lewis@VERT to Digital Man on Friday, July 12, 2019 03:55:42
    On 2019 Jul 11 18:26:28, you wrote to echicken:

    Yeah, my workaround is pretty bad. Let's just pretend it doesn't exist.

    I think it's resolved in CVS now.

    it is... thank you :)

    )\/(ark

    And to this end they built themselves a stupendous super-computer which was
    so amazingly intelligent that even before its data banks had been connected
    up it had started from "I think therefore I am" and got as far as deducing
    the existence of rice pudding and income tax before anyone managed to turn
    it off.
    ... Do molecular biologists wear designer genes?
    ---
    * Origin: (1:3634/12.73)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to mark lewis on Friday, July 12, 2019 03:15:38
    Re: SSH answer.msg
    By: mark lewis to Digital Man on Fri Jul 12 2019 04:24 am


    On 2019 Jul 11 12:05:24, you wrote to me:

    i'm seeing something similar to what apam is seeing but i know the flow
    from login.js to logon.js... what i'm trying to figure out is where the
    pause is coming from that's shown right after the copyright notice...
    the pause isn't there when using telnet but it is there when using
    ssh...

    It's an auto-pause because there's a screen-clear after displaying the Synchronet copyright banner.

    aaahhhhooohhhh... i thought screen clearing reset the line counter that triggers auto-pauses?

    It does, but if there are unread lines on the screen then an auto-pause may occur before the screen is actuallyi cleared.

    i can also understand that counter getting confused
    with the new unicode stuffs...

    I don't think that's the problem.

    digital man

    Synchronet/BBS Terminology Definition #33:
    FTSC = FidoNet Technical Standards Committee
    Norco, CA WX: 64.9øF, 86.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Apam@VERT/NOCTURN to Digital Man on Friday, July 12, 2019 17:41:27
    Re: SSH answer.msg
    By: Apam to Digital Man on Thu Jul 11 2019 08:37 pm

    I saw that commit and updated... I think I can display my file now thanks!!!

    I spoke a little to soon, it doesn't do quiet what I thought it did.

    That's ok though, I've added a logon.asc as suggested which is different to the answer.msg, so it doesn't look like it's showing the same file twice on telnet login.

    Andrew

    ---
    þ Synchronet þ Nocturnal - nocturnal.hopto.org:2023