• Command shell issue?

    From drillsar@VERT/DIGDIST to All on Sunday, May 31, 2026 02:02:19
    everything is working in the command shell except library up and down and I don't know why.

    print "\x01n\x01gFile \x01c� \x01h@TLEFT@ \x01n\x01c� \x01h\x01c(@LN@) @LIB@ (@DN@) @DIR@: "
    shell.file_menu = {
    file: "obv-2/files",
    cls: true,
    eval: 'bbs.file_cmds++',
    node_action: NODE_XFER,
    prompt: "\x01n\x01gFile \x01c� \x01h"
    + time_code
    + " \x01n\x01c� \x01h\x01c(@LN@) @LIB@ (@DN@) @DIR@: ",
    num_input: shell.get_dir_num,
    slash_num_input: shell.get_lib_num,
    command: {
    'A': { eval: 'console.clear(); select_file_area();' },
    'B': { eval: 'bbs.batch_menu()' },
    'C': { exec: 'filescancfg.js' },
    '/D': { eval: 'download_files()', msg: '\r\n\x01c\x01hDownload File(s)\r\n', ars: 'REST NOT D' },
    'E': { eval: 'view_file_info(FI_REMOVE)', msg: '\r\n\x01c\x01hRemove/Edit File(s)\r\n' },
    'G': { eval: 'logoff(false)' },
    '/G': { eval: 'logoff(true)' },
    'K': { eval: 'file_config_listing()' },
    'L': { eval: 'list_files()' },
    'N': { eval: 'bbs.scan_dirs(FL_ULTIME)', msg: '\r\n\x01c\x01hNew File Scan\r\n' },
    'R': { eval: 'bbs.batch_menu()' },
    'S': { eval: 'bbs.scan_dirs(FL_NO_HDR)', msg: '\r\n\x01c\x01hSearch for Filename(s)\r\n' },
    'T': { eval: 'bbs.temp_xfer()' },
    'U': { eval: 'upload_file()', msg: '\r\n\x01c\x01hUpload File\r\n' },
    '/U': { eval: 'upload_user_file()', msg: '\r\n\x01c\x01hUpload File to User\r\n' },
    'V': { eval: 'view_files()', msg: '\r\n\x01c\x01hView File(s)\r\n' },
    'W': { eval: 'view_file_info(FI_INFO)', msg: '\r\n\x01c\x01hExtended File Information\r\n' },
    'X': { eval: 'show_sysop_wants()' }
    },
    nav: {
    '\r': {},
    'M': { eval: 'menu = shell.message_menu' },
    'Q': { eval: 'menu = shell.main_menu' },
    '+': { eval: 'dir_up()' },
    '-': { eval: 'dir_down()' },
    '*': { eval: 'show_dirs(bbs.curlib)' },
    '/*': { eval: 'show_libs()' },
    ']': { eval: 'lib_up()' },
    '[': { eval: 'lib_down()' },
    }
    };

    // Arrow keys
    shell.file_menu.nav[KEY_UP] = { eval: 'dir_up()' }; shell.file_menu.nav[KEY_DOWN] = { eval: 'dir_down()' }; shell.file_menu.nav[KEY_RIGHT] = { eval: 'lib_up()' }; shell.file_menu.nav[KEY_LEFT] = { eval: 'lib_down()' };

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From drillsar@VERT/DIGDIST to All on Sunday, May 31, 2026 02:04:18
    print "\x01n\x01gFile \x01c� \x01h@TLEFT@ \x01n\x01c� \x01h\x01c(@LN@) @LIB@ (@DN@) @DIR@: " first line was mistake wasnt supposed to be there

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to drillsar on Sunday, May 31, 2026 03:37:22
    Re: Command shell issue?
    By: drillsar to All on Sun May 31 2026 02:02 am

    everything is working in the command shell except library up and down and I don't know why.

    Do the other lib up/down keys ([ and ]) work? Does the equivalent navigation work on the message menu for groups?

    Basically, more information is needed. And if you wante someone else to test the shell, you'll need to provide a link to where they can clone or download *all* of it to test with.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #5:
    ATASCII = ATARI Standard Code for Information Interchange
    Norco, CA WX: 70.6�F, 57.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From MRO@VERT/BBSESINF to drillsar on Sunday, May 31, 2026 06:11:57
    Re: Command shell issue?
    By: drillsar to All on Sun May 31 2026 02:02 am

    everything is working in the command shell except library up
    and down and I don't know why.

    print "\x01n\x01gFile \x01c� \x01h@TLEFT@ \x01n\x01c�


    hey you should use pastebin if you are posting code.


    --
    "Before using Wildcat....This Company did not have a convenient way of
    looking after some of the richest clients in the world...Now we do!"


    President of BBS Sysop's Union +++ https://bbses.info/union
    ---
    � Synchronet � ::: BBSES.info - free BBS services :::
  • From drillsar@VERT/DIGDIST to MRO on Sunday, May 31, 2026 09:03:24
    If this helps, the original OBV-2 Baja library up and down didn't work either. I tried other commands like ([ and ]) those don't work either. Also, no big deal, but $ doesn't work either. I may get rid of that and put an expert mode toggle switch instead.

    Here is the full code:

    https://pastebin.com/YMXKYZD2

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From drillsar@VERT/DIGDIST to MRO on Sunday, May 31, 2026 10:16:51
    I did some debug work and it looks like when I hit lib_up or down it loses File Area Active

    put debug lines in shell_lib
    console.print("\r\nLIB NOW = " + bbs.curlib + "\r\n");
    console.print("\r\nFILE AREA ACTIVE? " + bbs.curdir + "\r\n");

    put debug line in OBV-2 shell
    eval: 'console.print("\\r\\nENTERING FILE MENU\\r\\n"); bbs.file_cmds++;',


    get the following

    ENTERING FILE MENU

    lib_up() fired up

    Lib Now = 0

    FILE_AREA_ACTIVE? 0

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to drillsar on Sunday, May 31, 2026 19:36:39
    Re: Command shell issue?
    By: drillsar to MRO on Sun May 31 2026 09:03 am

    If this helps, the original OBV-2 Baja library up and down didn't work

    Seem to work for me:

    Command Shell : Oblivion/2 Clone
    ...
    Which or [Q] to Quit: Q

    Main �3:59:00� Command: T

    File � 3:59:00 � (4) Simtel Jun-1992 (1) 4dos: /-
    File � 3:59:00 � (3) Music (1) Weedpuller: /-
    --
    digital man (rob)

    Synchronet "Real Fact" #75:
    Rob's alias "digital man" was inspired by a song on Rush's 1982 "Signals" album Norco, CA WX: 70.6�F, 57.0% humidity, 0 mph NW wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net