• File date

    From Alan Ianson@1:153/757.1 to All on Fri Jul 10 11:13:39 2015
    Hello All,

    When listing files the upload date is displayed and I'd like to change that to the file date on disk. Can that be done? Maybe in the language file?

    I'm also wondering about msg numbers displayed on the top right when reading messages. Would it be possible to add the total number of messages? Maybe change it to "112 / 220" or something similar. Should I look in the language file for that too?

    Ttyl :-),
    Al

    ... Plagiarism prohibited, derive carefully.

    --- MBSE BBS v1.0.4 (GNU/Linux-x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.1)
  • From mark lewis@1:3634/12.73 to Alan Ianson on Fri Jul 10 17:04:08 2015

    10 Jul 15 11:13, you wrote to All:

    When listing files the upload date is displayed and I'd like to change that to the file date on disk. Can that be done? Maybe in the language file?

    remote access has three dates stored in its database for each file...

    actual file date
    upload date
    last download date

    when i pull files en mass, sometimes i have to adjust their file dates otherwise they get the date i downloaded them... that generally depends on how i download them (eg: http ftp etc)... i've got a script that i run that sets the file date to the newest file in the archive... then when i import them into
    the filebase, they have the proper "upload" date... lastly i have a process that sets the last download date to the upload date so they don't show any weird dates...

    every time i look at a different bbs package, i hope to find at least all the existing functionality i currently have plus maybe something new ;)

    I'm also wondering about msg numbers displayed on the top right when reading messages. Would it be possible to add the total number of messages? Maybe change it to "112 / 220" or something similar. Should
    I look in the language file for that too?

    there's probably a language macro for that value that you can add to the prompt... i'm guessing that MBSE has macros to access the various values for the current user's record along with their current location in the message and file bases... it seems to be a pretty standard function... the real question is
    how complete is the list ;)

    )\/(ark

    ... 80. The opposite sex likes people who shower.
    ---
    * Origin: (1:3634/12.73)
  • From Sean Dennis@1:18/200 to Alan Ianson on Sat Jul 11 02:08:27 2015
    Alan Ianson wrote to All <=-

    When listing files the upload date is displayed and I'd like to change that to the file date on disk. Can that be done? Maybe in the language file?

    I'm also wondering about msg numbers displayed on the top right when reading messages. Would it be possible to add the total number of messages? Maybe change it to "112 / 220" or something similar. Should I look in the language file for that too?

    Both of those are hard-coded from what I've seen in the source code. I'm
    sure that can be changed, but I don't know C well enough to do that yet. If
    I have time this week (looks like I'll be moving soon), I'll try to hunt
    those down myself.

    --Sean


    ... I got a life once. Didn't like it. Traded it in for a faster modem.
    --- MultiMail/Linux
    * Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
  • From Sean Dennis@1:18/200 to mark lewis on Sat Jul 11 02:09:30 2015
    mark lewis wrote to Alan Ianson <=-

    there's probably a language macro for that value that you can add to
    the prompt... i'm guessing that MBSE has macros to access the various values for the current user's record along with their current location
    in the message and file bases... it seems to be a pretty standard function... the real question is how complete is the list ;)

    Both of those functions he's talking about are hard-coded. MBSE has macros
    for display files, yes, but what Alan's talking about is going to take
    someone going into the code and changing it.

    --Sean


    ... Between two evils, I always pick the one I never tried before.
    --- MultiMail/Linux
    * Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
  • From mark lewis@1:3634/12.73 to Sean Dennis on Sat Jul 11 11:07:42 2015

    11 Jul 15 02:09, you wrote to me:

    there's probably a language macro for that value that you can add to
    the prompt... i'm guessing that MBSE has macros to access the various
    values for the current user's record along with their current
    location in the message and file bases... it seems to be a pretty
    standard function... the real question is how complete is the list ;)

    Both of those functions he's talking about are hard-coded. MBSE has macros for display files, yes, but what Alan's talking about is going
    to take someone going into the code and changing it.

    oh... as i haven't looked at MBSE yet, i was under the impression that all text
    was in language files with nothing hard coded... that would mean that one should be able to edit them to include macros for various values... macros like
    the following list from my RA setup... these are available anywhere within RA so i set up a drop file (eg: door.sys, dorinfo1.bbs) template we can use for custom drop files and let it fill in all the values of the macros ;)

    yes, these macros do use the actual ^K and ^F characters so they are all two character macros plus any data they need (eg: file name to display, language prompt to display)... not sure how to write these control characters under *nix
    but this is for example to give ideas for possible future enhancement of MBSE...

    ==== Begin "droptest" ====

    RemoteAccess Control Codes, Their Meanings, and Samples

    The following codes do the same thing...

    ^F\ and ^K(
    ^K0 and ^KC

    ***** BBS DATA *****
    ^K! Display ASC/ANS/AVT/RIP file named. ie: ^K!foo : ^K! :
    ^K@ ????? : :
    ^K# ** if translation is attempted, system locks up ** : ^K# :
    ^K$ Number of callers today. : 4 :
    ^K% Handle of last caller (any node). : xxxxxxxxxx :
    ^K^ ????? : :
    ^K& Number of tagged files. : 0 :
    ^K* ????? : :
    ^K( Current selected language. ** same as ^F\ ** : English :
    ^K) ????? : :
    ^K_ ????? : :
    ^K+ ????? : :
    ^K| ????? : :
    ^K1 Number of the current template message area. : 1 :
    ^K2 Number of current template file area. : 2 :
    ^K3 ????? : :
    ^K4 ????? : :
    ^K5 ????? : :
    ^K6 ????? : :
    ^K7 ????? : :
    ^K8 ????? : :
    ^K9 ????? : :
    ^K0 Number of messages in current message area. ** ^KC ** : 1 :
    ^K- ????? : :
    ^K= ????? : :
    ^K\ esc[K : esc[K :
    ^K{ ????? : :
    ^K[ Display color codes specified. ie ^K[42 : ^K[ :
    ^K} ????? : :
    ^K] Display language prompt number specified. ie: ^K]258 : ^K] :
    ^K: ????? : :
    ^K; ????? : :
    ^K" ????? : :
    ^K' Number of tagged kbytes. : 0 :
    ^K< ????? : :
    ^K, ????? : :
    ????? : :
    ^K. ????? : :
    ^K? ????? : :
    ^K/ ????? : :
    ^KA Total system calls. : 12915 :
    ^KB Name of last caller (any node). : xxxxxx xxxxxxxx : ^KC Number of messages in current message area. ** ^K0 ** : 1 :
    ^KD Starting message number of currently selected area. : 656 :
    ^KE Ending message number of currently selected area. : 656 :
    ^KF Number of times user has paged the Sysop this session. : 0 :
    ^KG Day of the week (full form). : Friday :
    ^KH Number of users in the user file. : 921 :
    ^KI Time in 24-hour format. : 13:21 :
    ^KJ Today's date. : 08-11-2000 :
    ^KK Minutes connected this call. : 15 :
    ^KL Seconds connected (always returns zero). : 0 :
    ^KM Minutes used today. : 25 :
    ^KN Seconds used today (always returns zero). : 0 :
    ^KO Minutes remaining today. : 35 :
    ^KP Seconds remaining today (always returns zero). : 0 :
    ^KQ Daily time limit. : 60 :
    ^KR Connect speed. : 57600 :
    ^KS Day of the week (abbreviated form). : Fri :
    ^KT Daily download limit (in Kb). : 64000 :
    ^KU Minutes until next system event. : 638 :
    ^KV 24 hour format time of the next event. : 23:59 :
    ^KW Node number (as set on command line). : 11 :
    ^KX Terminate this call. : NO CARRIER :
    ^KY Name of current template message area. : FIDONETMAIL :
    ^KZ Name of current template file area. : Archivers :

    ***** USER DATA *****
    ^F! User's default protocol setting. : Zmodem :
    ^F@ User's current file ratio count (kb). : 3 :
    ^F# User's current file group. : General Files and Stuff :
    ^F$ User's address line 1. : xxxxxxxxxxxxxxxxxxxxxxxx :
    ^F% User's address line 2. : xxxxxxxxxxxxxxxxxxxxxxxx :
    ^F^ Current session time limit. : 1440 :
    ^F& User's address line 3. : xxxxxxxxxxxxxxxxxxxxxxxx :
    ^F* Current file group number. : 1 :
    ^F( User's Post Billing flag setting (ON/OFF). : OFF :
    ^F) User's current message group. : Local Areas :
    ^F_ Time remaining this session. : 635 :
    ^F+ Current message group number. : 1 :
    ^F| ????? : :
    ^F1 Current do not disturb setting (ON/OFF). : OFF :
    ^F2 Current Hot-Key setting (ON/OFF). : ON :
    ^F3 User's handle. : xxxxxxxxxx :
    ^F4 Date of user's first call to the system. : 09-19-1984 :
    ^F5 User's date of birth. : xx-xx-xxxx :
    ^F6 Subscription expiration date. : - - :
    ^F7 Days until subscription expiration. : :
    ^F8 Current AVATAR setting (ON/OFF). : OFF :
    ^F9 File ratio (number of files). : 0 :
    ^F0 User's current full-screen editor setting (ON/OFF). : ON :
    ^F- Mailbox scan limited to combined areas. : OFF :
    ^F= Current auto-message-forwarding setting (ON/OFF). : OFF :
    ^F\ Current selected language. ** same as ^K( ** : English :
    ^F{ ????? : :
    ^F[ Remaining download limit (in Kb). : 64000 :
    ^F} ????? : :
    ^F] Current caller's comment field. : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx :
    ^F: File ratio (kilobytes). : 0 :
    ^F; Current full-screen message viewer setting (ON/OFF). : ON :
    ^F" User's exclude echomail areas from mail scans setting. : OFF :
    ^F' User's sex (Male/Female). : Male :
    ^F< Selected date format. : MM-DD-YYYY :
    ^F, ????? : :
    Name (if any) of message forwardee. : Nobody :
    ^F. ????? : :
    ^F? User's current file ratio count (number of files). : 4 :
    ^F/ ????? : :
    ^FA User's full name. : xxxxxxxxxx :
    ^FB User's location. : xxxxxxxxxxx :
    ^FC ????? : :
    ^FD Business/Data telephone number. : xxx-xxx-xxxx :
    ^FE Voice/Home telephone number. : xxx-xxx-xxxx :
    ^FF Date of last call. : 08-11-2000 :
    ^FG Time of last call. : 14:26 :
    ^FH A Flags setting. : X------- :
    ^FI B Flags setting. : -------- :
    ^FJ C Flags setting. : -------- :
    ^FK D Flags setting. : ------XX :
    ^FL Credits remaining (cents). : 998027.00 :
    ^FM Total messages posted. : 915 :
    ^FN Last message read. : 656 :
    ^FO Security level. : 4000 :
    ^FP Total calls to the BBS. : 732 :
    ^FQ Number of files uploaded. : 26 :
    ^FR Kilobytes uploaded. : 10319 :
    ^FS Number of files downloaded. : 129 :
    ^FT Kilobytes downloaded. : 35859 :
    ^FU Minutes used today. : 21 :
    ^FV Current screen length setting. : 24 :
    ^FW User's first name only. : xxxxxxxxxx :
    ^FX ANSI setting (ON/OFF). : ON :
    ^FY Continue? prompt setting (ON/OFF). : ON :
    ^FZ Screen clearing setting (ON/OFF). : ON :

    ==== End "droptest" ====

    )\/(ark

    ... If you can't tell a fib, make it a BIG lie.
    ---
    * Origin: (1:3634/12.73)
  • From Sean Dennis@1:18/200 to mark lewis on Sat Jul 11 14:25:06 2015
    Hello mark,

    11 Jul 15 11:07, you wrote to me:


    oh... as i haven't looked at MBSE yet, i was under the impression that
    all text was in language files with nothing hard coded... that would

    No, not all of it. A majority of it, yes, but there's a lot of stuff that isn't...

    mean that one should be able to edit them to include macros for
    various values... macros like the following list from my RA setup...
    these are available anywhere within RA so i set up a drop file (eg: door.sys, dorinfo1.bbs) template we can use for custom drop files and
    let it fill in all the values of the macros ;)

    MBSE does not have a macro language. It has a few control codes for use with display screens, but other than that, no. The only dropfiles it creates are DOOR.SYS and DOOR32.SYS and that's hard-coded.

    yes, these macros do use the actual ^K and ^F characters so they are

    If you want to see what control codes MBSE does have:

    http://outpostbbs.ddns.net/mbseman/menus/control.html

    --Sean

    ... TV Truth: People sit on only one side of the dinner table.
    --- GoldED+/LNX 1.1.5-b20130910
    * Origin: Outpost BBS * Johnson City, TN, USA (1:18/200)
  • From Alan Ianson@1:153/757 to Sean Dennis on Sat Jul 11 01:48:38 2015
    Hello Sean,

    Both of those are hard-coded from what I've seen in the source code. I'm sure that can be changed, but I don't know C well enough to do that yet. If I have time this week (looks like I'll be moving soon), I'll try to hunt those down myself.

    I dunno how MBSE sysops would feel about those changes but I appreciate your looking into it.

    I hope your move goes smoothly.. :)

    Ttyl :-),
    Al

    ... DISK ERROR: DISK ERROR: DISK ERROR: @$%#&%!! *WHACK* C:\>
    --- GoldED+/LNX 1.1.5-b20130910
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
  • From Vince Coen@2:250/1 to Sean Dennis on Sat Jul 11 23:53:41 2015
    Hello Sean!

    Saturday July 11 2015 02:08, you wrote to Alan Ianson:

    Alan Ianson wrote to All <=-

    When listing files the upload date is displayed and I'd like to
    change that to the file date on disk. Can that be done? Maybe in
    the language file?

    I'm also wondering about msg numbers displayed on the top right
    when reading messages. Would it be possible to add the total
    number of messages? Maybe change it to "112 / 220" or something
    similar. Should I look in the language file for that too?

    Both of those are hard-coded from what I've seen in the source code.
    I'm sure that can be changed, but I don't know C well enough to do
    that yet. If I have time this week (looks like I'll be moving soon),
    I'll try to hunt those down myself.

    Does the file DB support the various different dates?

    E.g., date loaded, date last downloaded, file date (this really should have a facility to get the latest file date within an archive excluding file_id.diz and use that as file date subject to a switch)


    Vince

    --- Mageia Linux v4/Mbse v1.0.4/GoldED+/LNX 1.1.5-b20130910
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From mark lewis@1:3634/12.73 to Sean Dennis on Sat Jul 11 23:16:34 2015

    11 Jul 15 14:25, you wrote to me:

    oh... as i haven't looked at MBSE yet, i was under the impression
    that all text was in language files with nothing hard coded... that
    would

    No, not all of it. A majority of it, yes, but there's a lot of stuff
    that isn't...

    ouch :(

    mean that one should be able to edit them to include macros for
    various values... macros like the following list from my RA setup...
    these are available anywhere within RA so i set up a drop file (eg:
    door.sys, dorinfo1.bbs) template we can use for custom drop files and
    let it fill in all the values of the macros ;)

    MBSE does not have a macro language. It has a few control codes for
    use with display screens, but other than that, no. The only dropfiles
    it creates are DOOR.SYS and DOOR32.SYS and that's hard-coded.

    double ouch :(

    yes, these macros do use the actual ^K and ^F characters so they are

    If you want to see what control codes MBSE does have:

    http://outpostbbs.ddns.net/mbseman/menus/control.html

    thanks... i'll have a look but i'm starting to feel like i'm dropping back further and further into the early '90s or late '80s :(

    )\/(ark

    ... Its not a stolen tagline, it's just "previously viewed"
    ---
    * Origin: (1:3634/12.73)
  • From Vince Coen@2:250/1 to Andrew Leary on Mon Jul 13 13:01:36 2015
    Hello Andrew!

    Monday July 13 2015 00:37, you wrote to me:


    This will take some work to implement. I'll look into it.

    Thanks, let me know if you need a hand - but not promising anything - health is
    not so good these days and sometimes cannot see too well :(


    Vince

    --- Mageia Linux v4/Mbse v1.0.4/GoldED+/LNX 1.1.5-b20130910
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Alan Ianson@1:153/757.1 to Andrew Leary on Sun Jul 12 12:33:33 2015
    Andrew Leary wrote to Vince Coen:

    The file database contains the upload date, file date (read from disk), and the last download date. There is an option in the fileecho setup
    to keep the filedate on import; if this is set then the upload date is
    set the same as the filedate on disk. If not, the upload date is set
    to the date/time the file was processed/added to the file database.

    Is that the case with local uploads as well, imported with mbfile? I thought I had it setup that way but maybe I missed a switch. I'll take another look at the file area setting and see because I am sure my board used the actual file date on disk before.

    Ttyl :-),
    Al

    ... Don't be vulgar. Just tell 'em how to use a rectal thermometer.

    --- MBSE BBS v1.0.4 (GNU/Linux-x86_64)
    * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757.1)
  • From Vince Coen@2:250/1 to Andrew Leary on Tue Jul 14 13:21:01 2015
    Hello Andrew!

    Monday July 13 2015 00:37, you wrote to me:

    The file database contains the upload date, file date (read from
    disk), and the last download date. There is an option in the
    fileecho setup to keep the filedate on import; if this is set then
    the upload date is set the same as the filedate on disk. If not,
    the upload date is set to the date/time the file was
    processed/added to the file database.

    Just tried to find those settings but couldn't - can you give me
    a clue (been so long since playing with that area).

    mbsetup 1 global configuration -> 10 file processing -> 6 keep date.

    Found it and I do have that set to yes but still have a large number of files with a 2002 date which I am guessing was the date I loaded the file DB which for what ever reason did not use the original file date.

    System could use some tools to help maintain and clean up these type of errors in the DBs but I guess I can live without.


    Vince

    --- Mageia Linux v4/Mbse v1.0.4/GoldED+/LNX 1.1.5-b20130910
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)