• Msglist, command line switch

    From DesotoFireflite@desotofireflite@VALHALLA.remove-jy4-this to All on Tue Jan 5 16:02:43 2021
    From Newsgroup: alt.bbs.synchronet

    OK, what you suggested Rob, works fine, but I also want to read them in reverse order, but if I add -reverse on the command line, it doesn't do reverse, so Im assuming it can't do command stacking, or I'm looking at this all wrong. The below works fine to preview private mail.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview");
    break;

    But this doesen't work, it still only does the preview, with no reverse. Sorry to keep bothering you about this. Thanks as always.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview -reverse");
    break;

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Home Of Odin's Maze Game Server!
    Come Play Trade Wars On Valhalla's T.W.G.S!

    --- Fartvergnugen: The pleasure of breaking wind.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    --- Synchronet 3.18c-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.19c-Linux NewsLink 1.113
  • From Digital Man@digital.man@vert.synchro.net.remove-105a-this to DesotoFireflite on Tue Jan 5 20:29:20 2021
    From Newsgroup: alt.bbs.synchronet

    To: DesotoFireflite
    Re: Msglist, command line switch
    By: DesotoFireflite to All on Tue Jan 05 2021 04:02 pm

    OK, what you suggested Rob, works fine, but I also want to read them in reverse order, but if I add -reverse on the command line, it doesn't do reverse, so Im assuming it can't do command stacking, or I'm looking at this all wrong. The below works fine to preview private mail.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview");
    break;

    But this doesen't work, it still only does the preview, with no reverse. Sorry to keep bothering you about this. Thanks as always.

    case 'P':
    // Read Private Mail With Msglist
    bbs.exec("?msglist.js mail -preview -reverse");
    break;

    So a "reverse" listing means the newest messages are at the top of the list ("reverse" chronology, towards the top of the terminal) and that is the default mode. To change the default, for mail, add to your your modopts.ini:

    [msglist]
    reverse_mail = false

    The '-reverse' command-line option is a holdover from before I added that modopt key.
    --
    digital man

    Rush quote #49:
    Some will sell their dreams for small desires or lose the race to rats
    Norco, CA WX: 60.8øF, 48.0% humidity, 4 mph WSW wind, 0.00 inches rain/24hrs --- Synchronet 3.18c-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.19c-Linux NewsLink 1.113
  • From DesotoFireflite@desotofireflite@VALHALLA.remove-twf-this to Digital Man on Wed Jan 6 14:41:35 2021
    From Newsgroup: alt.bbs.synchronet

    To: Digital Man
    Re: Msglist, command line switch
    By: Digital Man to DesotoFireflite on Tue Jan 05 2021 08:29 pm

    So a "reverse" listing means the newest messages are at the top of the list ("reverse" chronology, towards the top of the terminal) and that is the default mode. To change the default, for mail, add to your your modopts.ini:

    [msglist]
    reverse_mail = false

    The '-reverse' command-line option is a holdover from before I added that modopt key.

    Ahh, ok, makes sense, thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    A Gamers Paradise - Over 150 Registered Online Game Doors!

    Home Of Odin's Maze Game Server!
    Come Play Trade Wars On Valhalla's T.W.G.S!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
    --- Synchronet 3.18c-Win32 NewsLink 1.113
    * Vertrauen - Riverside County, California - telnet://vert.synchro.net
    --- Synchronet 3.19c-Linux NewsLink 1.113