BBS:      TELESC.NET.BR
Assunto:  Command shell issue?
De:       drillsar
Data:     Sun, 31 May 2026 02:02:19 -0700
-----------------------------------------------------------
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()' };
n
---
  gSynchronetn  Digital Distortion: digitaldistortionbbs.com

-----------------------------------------------------------
[Voltar]