• Display a long text file with pauses

    From The Lizard Master@VERT/NITEEYES to All on Mon Dec 14 10:20:53 2020
    Is there a function I can call to dislay a text file with pauses.ããI can read the text file into a variable and then display the file, but it's just a dump. I figured there is probably a display file function I'm missing.ããThanks!ãã---TLMãã---ã þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...ã
  • From Gamgee@VERT/PALANT to The Lizard Master on Mon Dec 14 17:23:00 2020
    The Lizard Master wrote to All <=-ãã TLM> Is there a function I can call to dislay a text file with pauses.ãã TLM> I can read the text file into a variable and then display theã TLM> file, but it's just a dump. I figured there is probably aã TLM> display file function I'm missing.ããYep, you can do this with either a "Ctrl-A code" or an "@-code".ããBoth are explained on the Wiki:ããhttp://wiki.synchro.net/custom:ctrl-a_codes#controlããhttp://wiki.synchro.net/custom:atcodes#terminal_information_controlããThe "@-code" is probably easier. Just embed a "@PAUSE@" (without the ãquotes) in your file at the appropriate place(s).ãããã... Press any key to continue or any other key to quitã--- MultiMail/Linux v0.52ã þ Synchronet þ Palantir BBS * palantirbbs.ddns.net * Pensacola, FLã
  • From The Lizard Master@VERT/NITEEYES to Gamgee on Mon Dec 14 20:23:35 2020
    Re: Re: Display a long text file with pausesã By: Gamgee to The Lizard Master on Mon Dec 14 2020 05:23 pmãã > Yep, you can do this with either a "Ctrl-A code" or an "@-code".ã >ã > Both are explained on the Wiki:ã >ã > http://wiki.synchro.net/custom:ctrl-a_codes#controlã >ã > http://wiki.synchro.net/custom:atcodes#terminal_information_controlã >ã > The "@-code" is probably easier. Just embed a "@PAUSE@" (without theã > quotes) in your file at the appropriate place(s).ããMy fault I wasn't more clear. It's a text file generated nightly. I won't be able to add @ codes. I thought maybe there was a displayfile(); function or something I could use to write it to the screen.ããRight now I'm doing something like this -ãã var lines=f.readAll();ã f.close();ã Unlock(f.name);ã dk.console.attr="G"ã dk.console.println(lines.join("\r\n"));ããThis works fine, but it comes out as one big dump and everyone has to scroll up to read the results. Thanks!ãã---TLMãã---ã þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...ã
  • From Digital Man@VERT to The Lizard Master on Mon Dec 14 21:06:36 2020
    Re: Display a long text file with pausesã By: The Lizard Master to All on Mon Dec 14 2020 10:20 amãã > Is there a function I can call to dislay a text file with pauses.ã >ã > I can read the text file into a variable and then display the file, but it'sã > just a dump. I figured there is probably a display file function I'mã > missing.ããThe easiest method is console.printfile().ããIf you want to do it more manually for some reason, you can use the File methods to read the data and then console.putmsg() to display it (with screen-pauses).ã-- ã digital manããSynchronet/BBS Terminology Definition #6:ãBinkD = Binkley DaemonãNorco, CA WX: 55.5øF, 38.0% humidity, 1 mph S wind, 0.02 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Gamgee on Mon Dec 14 21:12:22 2020
    Re: Re: Display a long text file with pausesã By: Gamgee to The Lizard Master on Mon Dec 14 2020 05:23 pmãã > The "@-code" is probably easier. Just embed a "@PAUSE@" (without theã > quotes) in your file at the appropriate place(s).ããI don't recommend this approach for several reasons:ã- You probably don't want to modify the file in questionã- Not every user's terminal screen is the same length (number of rows)ããBest to leave the auto-screen-pausing to the BBS software.ã-- ã digital manããSynchronet "Real Fact" #68:ãRobert D. Bouman, the author of SyncEdit, died in the mid to late 1990's.ãNorco, CA WX: 55.5øF, 38.0% humidity, 1 mph S wind, 0.02 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From The Lizard Master@VERT/NITEEYES to Digital Man on Tue Dec 15 09:47:54 2020
    Re: Display a long text file with pausesã By: Digital Man to The Lizard Master on Mon Dec 14 2020 09:06 pmãã > The easiest method is console.printfile().ã >ã > If you want to do it more manually for some reason, you can use the Fileã > methods to read the data and then console.putmsg() to display it (withã > screen-pauses).ããAhhh thanks! I'll try that, that's probably what I was looking for.ãã---TLMãã---ã þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...ã
  • From The Lizard Master@VERT/NITEEYES to Digital Man on Tue Dec 15 10:32:40 2020
    Re: Display a long text file with pausesã By: The Lizard Master to Digital Man on Tue Dec 15 2020 09:47 amãã > > The easiest method is console.printfile().ã >ã > > If you want to do it more manually for some reason, you can use the Fileã > > methods to read the data and then console.putmsg() to display it (withã > > screen-pauses).ã >ã > Ahhh thanks! I'll try that, that's probably what I was looking for.ã >ã > ---TLMããYes! Worked perfect! Thanks!ãã---TLMãã---ã þ Synchronet þ Nite Eyes BBS - To make people happy about my tagline everywhere...ã