• Blog Script Bugfix

    From apam@21:1/126 to All on Thu Oct 31 12:45:27 2019
    Just fixed a bug in the blog I noticed on Tiny's BBS...

    Entries between 8 and 10 lines long displayed more, but the down arrow
    didn't work..

    Fixed now and in the MagickaScripts repo.

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Wed Oct 30 21:40:32 2019
    Just fixed a bug in the blog I noticed on Tiny's BBS...

    How is this blog installed?

    Is it a replacement of the stuff in login_stanza.lua, or...?

    Ttyl :-)
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Thu Oct 31 14:53:16 2019
    Just fixed a bug in the blog I noticed on Tiny's BBS...

    How is this blog installed?

    Is it a replacement of the stuff in login_stanza.lua, or...?

    you can replace it in login stanza by using dofile(/path/to/blog.lua),
    or you can call it from a menu entry. Or both.

    It uses the same data source as what's in the standard blog, just
    provides a different interface.

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Al@21:4/106 to apam on Wed Oct 30 22:24:42 2019
    you can replace it in login stanza by using dofile(/path/to/blog.lua),
    or you can call it from a menu entry. Or both.

    OK, I'm going to do that now.

    Further to what I was saying about the first line on your mainmenu.. it
    happens when I press q from another menu. If I press <enter> at the main
    menu it shows fine.

    I'm no good with ansi, I'm not sure why that happens.

    Ttyl :-)
    Al

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (21:4/106)
  • From apam@21:1/126 to Al on Thu Oct 31 15:36:20 2019
    Further to what I was saying about the first line on your mainmenu.. it happens when I press q from another menu. If I press <enter> at the
    main menu it shows fine.

    I'm no good with ansi, I'm not sure why that happens.

    Yep, I sent you an email on rusty mailbox, it happens because ESC[2J
    clears the screen and resets the cursor to 1,1 on some terminals, but
    not linux, linux it only clears the screen, so the ansi starts drawing
    from where the cursor was prior to clearing the screen.

    To fix it, you need to manually reset the cursor like this ESC[1;1H so
    I've changed all the scripts to send ESC[2JESC[1;1H (on terminals that
    are not linux the cursor will be reset twice, but not an issue.)

    (ESC is the escape character it's \027 in the lua scripts)

    Hope that helps :)

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)
  • From Tiny@21:1/130 to apam on Thu Oct 31 12:44:48 2019
    Quoting apam to All <=-

    Just fixed a bug in the blog I noticed on Tiny's BBS...

    Aren't you glad I babble endless drivel?

    Shawn

    ... Oxymoron: New and improved.

    --- EzyBlueWave V3.00 01FB001F
    * Origin: Tiny's BBS - telnet://tinysbbs.com:3023 (21:1/130)
  • From apam@21:1/126 to Tiny on Fri Nov 1 09:53:20 2019
    Quoting apam to All <=-

    Just fixed a bug in the blog I noticed on Tiny's BBS...

    Aren't you glad I babble endless drivel?

    Well it wasn't quiet endless, it was just between 8 and 10 lines of
    drivel.... :P

    Andrew

    --- MagickaBBS v0.13alpha (Linux/x86_64)
    * Origin: HappyLand - telnet://magickabbs.com:2023/ (21:1/126)