• Rg/Lnx printf procedure..

    From ignatius@10:101/1 to All on Friday, October 08, 2021 19:49:30
    Hi, all,

    I have a problem with the Renegade source code. The printf procedure, which does not work at all. Maybe it's a porting issue. I don't know. But, anyway,
    I cannot use it, and it doesn't work. So, I had to create a work-around.. Here's a simple workaround I came up with.
    ----
    procedure displayansi(aString : string);

    Var f: File;

    begin
    fpsystem('cat '+general.miscpath + aString);
    end;

    ----

    I need to come up with something that works better, the code is dirty, and I need to replace it. Anyone have any thoughts on this? Tips? Suggestions?
    One weird thing is, when I use the printf procedure, the ansis do not
    display, but for some reason, when I press the "?" key (the "?" key is set to display the main menu ansi, for example), it actually displays the ansi.. strange. Anyway, i'm looking for suggestions.

    Mucho thanks,
    ignatius

    --- Mystic BBS v1.12 A46 2020/03/29 (Windows/32)
    * Origin: iNK tWO BBS : Covina,CA : telnet>bbs.inktwo.com (10:101/1)
  • From jack phlash@10:102/7 to ignatius on Saturday, October 09, 2021 15:28:33
    on 08 Oct 2021, ignatius said...

    I have a problem with the Renegade source code. The printf procedure, which does not work at all. Maybe it's a porting issue. I don't know.
    But, anyway, I cannot use it, and it doesn't work.

    Anyone have any thoughts on this? Tips? Suggestions? One weird thing is, when I use the printf procedure, the ansis do not display, but for some reason, when I press the "?" key (the "?" key is set to display the main menu ansi, for example), it actually displays the ansi.. strange.

    I'm sure that's a *major* clue as to what the problem actually is. Have you done any debugging? I'm sure with some breakpoints and step-throughs you
    could find the cause relatively quickly. Who did this port? It seems odd to leave such a fundamental feature broken. :/

    |08j |15A C K |08p |15H L A S H |08!

    --- Mystic BBS v1.12 A47 2020/09/07 (Windows/32)
    * Origin: d i s t o r t i o n // d1st.org (10:102/7)