-
exec/text_sec.js
From
rswindell@1:103/705 to
CVS commit on Wed Jul 24 23:27:33 2019
exec text_sec.js NONE 1.1
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv24721
Added Files:
text_sec.js
Log Message:
General Text File ("G-File") Section module
Replacement for Baja TEXT_FILE_SECTION and JS bbs.text_sec() functions.
Ported from src/sbbs3/text_sec.cpp
You run it from a Baja module with: exec_bin text_sec
This is a work-alike port of one of the oldest/cruftiest bits of C code in Synchronet with no improvements in look or usability.
1. I want to eventually start deleting all the redundant C/C++ code in sbbs,
so that's one reason why I've been creating these *_sec.js modules, and
2. I think this "section" of the BBS could use some significant improvement
and didn't want to do any of that in C/C++ - this is clearly a JavaScript
task. But I wanted to start with the identical functionality and improve
from there.
--- SBBSecho 3.07-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Tue Aug 13 23:31:55 2019
exec text_sec.js 1.2 1.3
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv31545
Modified Files:
text_sec.js
Log Message:
Search for the file in the data dir first, before falling back to the CWD (ctrl_dir).
Use the CPM-EOF printfile mode to stop printing files when encountering a
SAUCE record.
--- SBBSecho 3.08-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Tue Mar 24 20:55:47 2020
exec text_sec.js 1.3 1.4
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv19979
Modified Files:
text_sec.js
Log Message:
Fix bug introduced in previous commit of this file: files outside of the text/data/<code> dir were not viewable at all.
Now, not only can files be located outside of text/data/<code>, but the path can also include command-line specifiers (e.g. %z for text, %j for data) so
the paths remain valid even if directory paths are reconfigured in SCFG.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Apr 3 01:52:30 2020
exec text_sec.js 1.4 1.5
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv22881
Modified Files:
text_sec.js
Log Message:
Use the .ini formatted index files now (created/migrated by update.js.
New per-file properties supported:
- ars: access requirement string
- tail: print (view) the last n-lines of a text file rather than entire file
- mode: override P_mode flags (default is now P_OPENCLOSE | P_CPM_EOF)
The 'E' opertor command allows each file description to be edited too.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Apr 3 17:57:10 2020
exec text_sec.js 1.5 1.6
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv23729
Modified Files:
text_sec.js
Log Message:
Better abort (Ctrl-C) detection in various places.
An auto-add type feature (fills in the next non-indexed filename for you).
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Sat May 2 01:02:22 2020
exec text_sec.js 1.6 1.7
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv11892
Modified Files:
text_sec.js
Log Message:
Save the path of the file added.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon May 4 02:01:51 2020
exec text_sec.js 1.7 1.8
Update of /cvsroot/sbbs/exec
In directory cvs:/tmp/cvs-serv25807
Modified Files:
text_sec.js
Log Message:
When editing a descripton, actuallly save it.
When viewing, default to view the next file.
Support a "petscii_graphics=true" setting for displaying PETSCII files that use
the Upper/Graphics character set rather than the Upper/Lower character set but lack the control code to switch the mode.
Trim whitespace off the end of paths.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to sbbs/master on Sun Sep 13 12:36:58 2020
-
From
Rob Swindell@1:103/705 to
Git commit to sbbs/master on Sun Sep 13 16:26:23 2020
-
From
Michael Long@1:103/705 to
Git commit to main/sbbs/master on Fri Feb 5 19:43:47 2021
https://gitlab.synchro.net/main/sbbs/-/commit/bf3d51ddd3a7ae642351fc19
Modified Files:
exec/text_sec.js
Log Message:
Update text_sec.js - don't ask for description if file does not exist, don't permanently change file path if file doesn't exist (let user correct the path on next add attempt)
--- SBBSecho 3.12-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Michael Long@1:103/705 to
Git commit to main/sbbs/master on Fri Feb 5 19:43:47 2021
-
From
Michael Long@1:103/705 to
Git commit to main/sbbs/master on Fri Feb 5 19:43:47 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Fri Feb 5 19:43:47 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Mon Jan 16 21:26:10 2023
https://gitlab.synchro.net/main/sbbs/-/commit/37fc072b46cd320a829e777f
Modified Files:
exec/text_sec.js
Log Message:
text_sec updated for v3.20+There are some changes in here that I forgot the history behind, but themost important is that it uses file.ini rather than file.cnf, thusfixing issue #478. I actually had this changed file sitting outside of mygit repo for a while now and didn't realize it.The other changes appear to be:- RIP support (clearing the window before/after each file is displayed)- read the display files a chunk at a time (rather than read the entire file into RAM, which could take a really long time on very large files),- allow files that don't exist on disk to be added to the list
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Mon Jan 23 12:24:39 2023
https://gitlab.synchro.net/main/sbbs/-/commit/61854212a1fbb3d2f9acdc74
Modified Files:
exec/text_sec.js
Log Message:
We need store the file full path in the section nameWe need to support the same
filename in different directories.The 'path' key is just an artifact and not normally used when read,so that was a distraction that apparently confused me previouslyand I broke this functionality in commit c44ed79a3b2c5e5.This should fix the issues reported by xbit (XBITBBS) on DOVE-Net.Also, don't open the file.ini for write-access (unnecessary).
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)