• Display a Textfile

    From Michael Braun@21:4/117 to All on Wednesday, April 04, 2018 10:37:18
    I'm a little confused. I would like to display a text file, but I use in a
    menu the function (GD) Display a file. If I now show the text file, it is
    only briefly visible and the window is closed immediately. Is there a way to enable a pause function or a permanent view?

    ______ __ __
    | __ \.----.---.-.|__|.-----.-----.--.--.----.| |--.-----.----.
    | __ <| _| _ || || |__ --| | | __|| <| -__| _|
    |______/|__| |___._||__||__|__|_____|_____|____||__|__|_____|__|

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Brainsuxx.inc BBS (21:4/117)
  • From Avon@21:1/101 to Michael Braun on Wednesday, April 04, 2018 21:24:55

    On 04/04/18, Michael Braun pondered and said...

    I'm a little confused. I would like to display a text file, but I use in
    a menu the function (GD) Display a file. If I now show the text file, it is only briefly visible and the window is closed immediately. Is there a way to enable a pause function or a permanent view?

    Firstly here's a link to the GD command for your info :)

    https://goo.gl/nzz7Xd

    I also noted this in past WHATSNEW.TXT

    [snip]

    + New options for the GD "Display a file" menu command. The old optional
    data where just the filename is supplied continues to work, but now if
    the first character is @ it will expect a few options in the following
    format:

    Format #1: filename
    Format #2: @baudrate@true/false/end@filename

    The @baudrate field specifies the baud rate to display the file.

    The second field defines how file pauses should work. If set to TRUE
    the file will pause. If set to false it will not pause. If set to END
    then it will only pause after displaying the file.

    The final @filename is just the same as the format #1

    For example:
    @38400@end@bogacid1.ans

    The above would display JEDs 250kb ANSImation at 38400 baud, with no
    pauses except for one at the end.

    + The GD (display a file) command can now have a " /NEW" appended on the
    end of the command data, which if found, will only display the file if
    its file date is more recent than the user's last login.

    [snip]

    Hope this helps :)

    Gryphon also has a mod out that displays text files in a nice way, and you
    can always use the Mystic inbuilt ANSI file viewer to also display text files stored in a directory.

    Best, Paul

    --- Mystic BBS v1.12 A39 2018/04/01 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Michael Braun@21:4/117 to Avon on Wednesday, April 04, 2018 12:01:25
    Can you tell me the name of the Gryphon Modification or a link ? Thx for your help. :)

    ______ __ __
    | __ \.----.---.-.|__|.-----.-----.--.--.----.| |--.-----.----.
    | __ <| _| _ || || |__ --| | | __|| <| -__| _|
    |______/|__| |___._||__||__|__|_____|_____|____||__|__|_____|__|

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Brainsuxx.inc BBS (21:4/117)
  • From g00r00@21:1/108 to Michael Braun on Wednesday, April 04, 2018 14:04:02
    I'm a little confused. I would like to display a text file, but I use in
    a menu the function (GD) Display a file. If I now show the text file, it is only briefly visible and the window is closed immediately. Is there a way to enable a pause function or a permanent view?

    What is it exactly that you're trying to display and why? I'm assuming you're trying to create something that just shows a file and pauses when a user selects a menu item? If that is the cause the problem is probably just that the menu is redisplayed afterwards, and it contains a clear screen in the menu.

    If you want to insert a pause in the text file put a |PA in the places where you want it to pause. Keep in mind that Mystic should pause on its own if you're truly talking about displaying an actual text file with multiple pages of information.

    You can read more about |PA and other codes at:

    http://wiki.mysticbbs.com/doku.php?id=displaycodes

    You can also use the GV menu command to view the file in "full screen" that will allow the user to scroll through it with the arrow keys (and home, end, pageup, pagedown, etc).

    --- Mystic BBS v1.12 A39 2018/04/04 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Michael Braun@21:4/117 to g00r00 on Thursday, April 05, 2018 08:16:55
    What is it exactly that you're trying to display and why?

    i will make a short help manual for Users.
    i create a menu .. in the menu i create different commands (Example
    Navigation Help). If a user now selects the function, then a text file should appear.

    You can also use the GV menu command to view the file in
    "full screen"

    mhh ... I did not think about the GV menu command. I tried to use it. However, I'm not sure if I understand the example correctly. As a command I have selected (GV). In the DATA area, the example given was <template name>; <placeholder>; <filename>; <END optional>.

    What exactly does the placeholder stand for?

    my example would be:
    ANSI viewer; ???; help

    and in which directory should the files be?

    Thx for your Support :)

    ______ __ __
    | __ \.----.---.-.|__|.-----.-----.--.--.----.| |--.-----.----.
    | __ <| _| _ || || |__ --| | | __|| <| -__| _|
    |______/|__| |___._||__||__|__|_____|_____|____||__|__|_____|__|

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Brainsuxx.inc BBS (21:4/117)
  • From Avon@21:1/101 to Michael Braun on Thursday, April 05, 2018 19:23:35

    On 04/05/18, Michael Braun pondered and said...

    What is it exactly that you're trying to display and why?

    i will make a short help manual for Users.

    Michael, is this a help file for BBS users? Something to explain the options
    of the BBS menu or something along those lines? Just curious.

    Best, Paul

    --- Mystic BBS v1.12 A39 2018/04/04 (Windows/32)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Pequito@21:1/126 to Michael Braun on Thursday, April 05, 2018 02:06:11
    On 04/05/18, Michael Braun said the following...

    What is it exactly that you're trying to display and why?

    i will make a short help manual for Users.
    i create a menu .. in the menu i create different commands (Example Navigation Help). If a user now selects the function, then a text file should appear.

    Strongly suggest you take a look over the current wiki. http://wiki.mysticbbs.com/doku.php

    Cheers!
    Pequito

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Twinkle BBS # (21:1/126)
  • From Pequito@21:1/126 to Avon on Thursday, April 05, 2018 02:06:46
    On 04/05/18, Avon said the following...


    On 04/05/18, Michael Braun pondered and said...

    What is it exactly that you're trying to display and why?

    i will make a short help manual for Users.

    Michael, is this a help file for BBS users? Something to explain the options of the BBS menu or something along those lines? Just curious.


    Honest believe this is already explained in the wiki. http://wiki.mysticbbs.com/doku.php

    Cheers!
    Pequito

    --- Mystic BBS v1.12 A38 2018/01/01 (Linux/64)
    * Origin: Twinkle BBS # (21:1/126)
  • From Michael Braun@21:4/117 to Avon on Thursday, April 05, 2018 09:43:28
    Michael, is this a help file for BBS users? Something to explain the options of the BBS menu or something along those lines? Just curious.

    yes it is a helpfile for BBS Users that explain some navigation and Function
    of the BBS. And the only thing what i will do is Display that File.

    ______ __ __
    | __ \.----.---.-.|__|.-----.-----.--.--.----.| |--.-----.----.
    | __ <| _| _ || || |__ --| | | __|| <| -__| _|
    |______/|__| |___._||__||__|__|_____|_____|____||__|__|_____|__|

    --- Mystic BBS v1.12 A39 2018/02/06 (Windows/32)
    * Origin: Brainsuxx.inc BBS (21:4/117)