• c library odoors

    From shinobi@21:1/153 to APAM on Sat May 19 13:31:50 2018
    Hello Apam,

    I could You please somehow high-level explain to me what's the odoors library You clone to the Galactic Dynasty good for?

    My weak knowledge is that is somehow forwards data from BBS to the GD.

    But if You would recommend me any document that explains the principles...
    that would help a lot.

    Thanks a lot and Happy Birthday to You

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From Ktulu@21:2/122 to shinobi on Sat May 19 12:25:08 2018
    Shinobi,

    ODOORS is a library built for C++ used for writing doors on BBS programs.
    It's a set of reserved functions that interfaces with the BBS.

    If you'd like I can have someone hatch out the original archive ODOORS62.ZIP

    cr1mson is also using ODOORS for writing his Legion game as well.

    Hope this helps!



    Hello Apam,

    I could You please somehow high-level explain to me what's the odoors library You clone to the Galactic Dynasty good for?

    My weak knowledge is that is somehow forwards data from BBS to the GD.
    But if You would recommend me any document that explains the
    principles... that would help a lot.

    |08---
    |08-|04Ktulu
    |07SysOp |08@ |12Insane Asylum BBS
    |07telnet://bbs.asylumbbs.net port 28

    --- Mystic BBS v1.12 A39 2018/04/14 (Windows/64)
    * Origin: Insane Asylum (21:2/122)
  • From shinobi@21:1/153 to Ktulu on Sat May 19 20:33:50 2018
    ODOORS is a library built for C++ used for writing doors on BBS
    programs.
    It's a set of reserved functions that interfaces with the BBS.


    thanks for clarification. I didn't yet really explored it. But what I would like to achieve. For now I've got a web server in python flask. And I've got Elinks with disabled menus and keystrokes. So it could be potentially used as client for the web application from BBS.


    What I'd like to achieve is forward authentication token from the BBS that would login to the web-pages and possibly display content for the given user. I'm thinking about two paths. The first would be just simply give the Elinks browser called from BBS the username it has been called with.

    The second is to explore odoors and make the authentication process within browser more robust. That would mean some deeper exploration and I would like to use the oddors potentially.

    The question remains whether it would be feasible. I know there is something like DOOR32.SYS. But I would have to find out more.

    Thanks for reply and have a nice day

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From shinobi@21:1/153 to shinobi on Sat May 19 20:49:22 2018
    The question remains whether it would be feasible. I know there is something like DOOR32.SYS. But I would have to find out more.

    The question is whether just implementing it using odoors wouldn't be
    overkill. In the fact what would be simply enough is to provide correct
    cookie file to the web browser from the BBS.

    I have to think about it.

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From shinobi@21:1/153 to Ktulu on Sat May 19 22:50:00 2018
    ODOORS is a library built for C++ used for writing doors on BBS programs. It's a set of reserved functions that interfaces with the BBS.

    So far here is what I did until now. I created the BBS Elinks variant. That means disabled almost everything so in case it would be run from the BBS he user won't be able to visit own pages, save page. Anything. Just de-facto
    dumb terminal with possibility to follow given links and go back and forward between pages. That's the client side.

    The server side is .. as I stated just python flask web server. It could display just anything that could be written in python. The tables displays fine. And text also. I didn't yet tried the ANSI characters. But that's on my todo list. That's the server side.

    And now I'm experimenting with the drop from BBS to the BBS Elinks. I thought cookies could make it. But that's not how it would have to be. Cookies are reserved for web pages to store some information. And it's user's specific.
    So I made a shell script that's called from the BBS together with current user's username as parameter. The script then screates simple web-page on localhost. That contains simple form. With BBS_SECRET and BBS_KEY (two strings). The web-server has these two strings either. And into the form is
    the username injected. After that the script runs the simple form on
    localhost. And displays simple button. If You click the button You are then forwarded to the web server using the secret, key and username. Thus the
    server recognizes You as the visitor from BBS and could display content specific to Your credentials. That's the bbs to BBS elinks path.

    To sum it up. Sysop gets possibility to provide web pages that could be displayed from BBS. It provides some basic authentication mechanism. And it's easy to create forms and pages and change it on the fly.

    First application was just searching in the food database using barcodes.

    Now the next step would be to extend the food database by possibility to
    extend the food diary by user's own meal. And it could count the calories.
    And whatever else.

    Of course the applications are plenty.

    And the pages could be accessed from the www either.

    If you'd like I can have someone hatch out the original archive ODOORS62.ZIP

    I'd really like to see and have the original file. Last time I compiled Galactic Dynasty it displayed some warnings. Didn't happened in the previous oddors version. So I'd be glad to have any sources of the older version in
    case of the need of downgrade.

    Best regards

    Shinobi

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: INFOLINKA BBS (21:1/153)
  • From Ktulu@21:2/122 to shinobi on Sat May 19 23:50:34 2018
    Yeah that would be cool if you could make something that tied the BBS
    together with asking for a username and password and we could start on a 'out of the box' web template. It sounds like a few people are already working on such a thing, not sure if any of them have tried login authentication.

    |08---
    |08-|04Ktulu
    |07SysOp |08@ |12Insane Asylum BBS
    |07telnet://bbs.asylumbbs.net port 28

    --- Mystic BBS v1.12 A39 2018/04/14 (Windows/64)
    * Origin: Insane Asylum (21:2/122)
  • From apam@21:1/125 to shinobi on Sun May 20 15:04:38 2018
    Hello Apam,

    I could You please somehow high-level explain to me what's the odoors library You clone to the Galactic Dynasty good for?

    My weak knowledge is that is somehow forwards data from BBS to the
    GD.

    That's part of it, it also handles socket communications (or stdio if you
    use that) and works with Windows as well as Linux, I think on windows it
    also does COM ports as well.

    It also has a bunch of functions that make it easier to work with ANSI
    screens and support RIP as well.

    If you're just using stdio redirection, ie like on linux with mystic,
    then you don't really need a door library, you could just write a normal console application that reads data from the drop files.

    The version I clone with my doors is just a clone of the OpenDoors code
    in the synchronet cvs server with a couple of patches to make it work
    properly on SunOS. (I don't think I added anything else).

    Thanks a lot and Happy Birthday to You

    Thanks :)

    Andrew

    --- MagickaBBS v0.11alpha (Linux/x86_64)
    * Origin: Exotica BBS - telnet://exoticabbs.com:2023/ (21:1/125)
  • From Gryphon@21:1/120 to shinobi on Mon May 21 17:30:46 2018
    On 05/19/18, shinobi said the following...

    Hello Apam,

    I could You please somehow high-level explain to me what's the odoors library You clone to the Galactic Dynasty good for?

    My weak knowledge is that is somehow forwards data from BBS to the GD.

    But if You would recommend me any document that explains the
    principles... that would help a lot.

    Back in the day, door games had to communicate through the modem, using
    special routines. OpenDoors as a library handled all that. It also read
    drop files and did colorized output. These days it doesn't do anything with the modem, but it does have all the color manipulation and dropfile reading. It has a lot of useful input functions that are similar to mystic's input commands. It just makes it easier to manage all that.

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)