-
src/sbbs3/smbutil.c
From
rswindell@1:103/705 to
CVS commit on Tue Feb 20 19:38:47 2018
src/sbbs3 smbutil.c 1.117 1.118
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
Allow the default umask (typically 022) to be overridden with the new
-U (capital 'U') command-line option (e.g. '-U0' or '-U2' or '-U077').
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Thu Feb 22 14:51:21 2018
src/sbbs3 smbutil.c 1.118 1.119
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv20948
Modified Files:
smbutil.c
Log Message:
When configuring a message base (changing values in the "status header'),
allow the "last_msg" value to be changed as well.
When dumping a msgbase index, show 'M' for messages (not blank).
When running maintenance, read the entire index in one shot.
Don't display progress (percentage counting) during maintenance (just
slows it down).
When reading messages, get the plain-text version (MIME decode if needed).
When a message base fails to open, continue processing additional message bases if specified on the command-line.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Thu Feb 22 15:07:27 2018
src/sbbs3 smbutil.c 1.119 1.120
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv22677
Modified Files:
smbutil.c
Log Message:
Added new commands:
L (capital 'L'): Lock a message base
U (capital 'U'): Unlock a message base
These commands maybe used to insure that a message base is not modified while being backed-up (but don't forget to unlock them when you're done!).
Also note: if you back up all the files (including *.lock), then the backed-up message bases will also be locked and will need to be unlocked (i.e. *.lock removed) before they may be used again if/when restored.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Sun Mar 4 13:06:02 2018
src/sbbs3 smbutil.c 1.120 1.121
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv26312
Modified Files:
smbutil.c
Log Message:
Re-lock the msg base in packmsgs() when re-opening (to set status header),
so that the smb_unlock() in main() doesn't fail and display the harmless
error:
Error -207 (smb_unlock 2 'No such file or directory' removing mail.lock) unlocking mail
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Thu Mar 8 19:54:13 2018
src/sbbs3 smbutil.c 1.121 1.122
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
Output a status line when a messages is imported/added to a msgbase.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
deuce@1:103/705 to
CVS commit on Fri Mar 9 23:17:47 2018
src/sbbs3 smbutil.c 1.123 1.124
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv25272
Modified Files:
smbutil.c
Log Message:
Fix last Clang warning.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Mar 12 23:22:54 2018
src/sbbs3 smbutil.c 1.124 1.125
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
Fix bug introduced in rev 1.119: When reading in the msgbase index
(.sid file), don't divide the fread() results (it's already in number of records read). This could cause msgbase maintenance to not take place
or corruption of a msg base.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Tue Mar 13 22:41:41 2018
src/sbbs3 smbutil.c 1.125 1.126
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv20348
Modified Files:
smbutil.c
Log Message:
Use smb_hfield_netaddr() to properly support FidoNet netmail via the 'n' (import netmail) command along with the '-n' option to set the recipient
net address (and network type). Previously, only Internet or QWK netmail
was supported.
--- SBBSecho 3.03-Win32
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Apr 30 16:02:14 2018
src/sbbs3 smbutil.c 1.126 1.127
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv4120
Modified Files:
smbutil.c
Log Message:
maint(): don't truncate the .sid and .hash files to 0-bytes before writing their
new contents,
Instead truncate to the new length after writing the new contents. This should make the files more tolerant of "out of disk space" situations and reduce
the risk of lost data (0-byte files) due to low/no free disk space.
--- SBBSecho 3.04-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Sun Jul 8 15:38:22 2018
src/sbbs3 smbutil.c 1.127 1.128
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv3657
Modified Files:
smbutil.c
Log Message:
Added support for referencing a message on the command-line with the
'l' (list messages), 'x' (dump index), 'r' (read msgs), and 'v' (view msgs) commands by "days old", by specifying a negative number (in days).
(e.g. "smbutil r-30" would read messages posted within the past 30 days).
This was added to test the smb_getmsgidx_by_time() function, but has some
value otherwise I suppose.
--- SBBSecho 3.05-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Oct 5 01:23:33 2018
src/sbbs3 smbutil.c 1.128 1.129
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
Allow the message number for the l/r/x/v commands to be specified as an
actual message number (rather than a 1-based message index offset) by using #<number>, e.g. "smbutil r#3694" will read the message base starting at
message number 3694, if it exists.
Also documented the [-n] syntax for reading/listing messages less than
n days old.
--- SBBSecho 3.06-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Mon Apr 1 14:58:15 2019
src/sbbs3 smbutil.c 1.129 1.130
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
More detail in help for umask option (use leading 0 for octal).
--- SBBSecho 3.07-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri Jan 3 12:31:54 2020
src/sbbs3 smbutil.c 1.131 1.132
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
Add new command-line option:
-r = display raw message body text (not MIME-decoded)
--- 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 19:37:26 2020
src/sbbs3 smbutil.c 1.132 1.133
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
Strip Ctrl-A codes from body text before printing.
Treat \n the same as \r (next msg cmd)when reading msgs.
--- SBBSecho 3.10-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Wed Apr 29 23:36:33 2020
src/sbbs3 smbutil.c 1.133 1.134
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv8217
Modified Files:
smbutil.c
Log Message:
Detect the charset used in the mesage body (ASCII, CP437, or UTF-8) and set the FIDOCHARSET header field appropriately.
Detect UTF-8 in any of the viewable header fields and set the appropriate aux attribute flag.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Fri May 1 18:23:32 2020
src/sbbs3 smbutil.c 1.134 1.135
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/home/rswindell/sbbs/src/sbbs3
Modified Files:
smbutil.c
Log Message:
Resolve GCC warnings.
Support the continue-on-error option (-C) with the -R (repair) command.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
rswindell@1:103/705 to
CVS commit on Sun May 24 17:40:34 2020
src/sbbs3 smbutil.c 1.135 1.136
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv27737
Modified Files:
smbutil.c
Log Message:
Line up the "index record" value with the other header fields as displayed by smb_dump_msghdr().
--- 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 Sat Sep 26 01:32:04 2020
-
From
Rob Swindell@1:103/705 to
Git commit to sbbs/master on Sat Sep 26 13:38:58 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/c018dfb88f45e97f2553764f
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Use smb_msg_type() to include poll messages in total message count.Don't exclude polls form the message count used for max_msgs enforcementduring maintenance.
--- 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 Thu Oct 8 17:05:12 2020
https://gitlab.synchro.net/sbbs/sbbs/-/commit/c4c9902d6e4f6ae87d9208c4
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Replace ESC chars with '.' when viewing messages, support '-<count>' with 'r'.When reading messages, circumvent ANSI-encoded messages by replacing the ESCcharacter (ASCII 27) with '.'. This could be made an optional behavior ifsomeone really wants ANSI-encoded messages to be read via smbutil.Also, allow
continuous reading of 1 or more consecutive messages using the-<digit> option (no prompting).
--- 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 Thu Oct 8 17:28:32 2020
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Mon May 10 17:05:21 2021
https://gitlab.synchro.net/main/sbbs/-/commit/f92a14cd738c03df9505702e
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Fix issue with the import message commands introduced in previous commitThe fread() usage here did not need "addressing" (Commit 1b56dc96).This caused messages posted via smbutil to be short (e.g. 0 or 1 bytesin length). Reported by Accession via Idle Relay Chat.Also, don't call strlen() on msgtxt which could be NULL, causing segfaultin final printf() callin in postmsg().
--- SBBSecho 3.14-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 Sat Jun 5 14:53:40 2021
https://gitlab.synchro.net/main/sbbs/-/commit/d653a6d97c48dc47819e399f
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Add new commands to flag/unflag all messages for deletionThe command to delete and remove all messages is changed from 'd' to 'D'.This operation is not reversable.New commands are 'd' (flag all msgs for deletion) and 'u' (undelete all msgs).
--- SBBSecho 3.14-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 Sun Jun 6 04:02:21 2021
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed Feb 23 23:25:45 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Tue Mar 1 22:43:08 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Tue Mar 1 22:43:08 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Tue Mar 1 22:43:08 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed Mar 2 18:14:50 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Wed Mar 2 18:14:50 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Thu Mar 3 16:45:56 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sat Mar 12 21:09:16 2022
https://gitlab.synchro.net/main/sbbs/-/commit/07580ea7b1b6e204c4c5400b
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Display textual version of msg attributes when using 'r'ead commandAlso displays net and aux attribute values when non-zero (weren't displayedat all with the 'r'ead command previously).
--- SBBSecho 3.15-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 Sat Mar 12 23:21:15 2022
-
From
Rob Swindell@1:103/705 to
Git commit to main/sbbs/master on Sun Mar 13 00:26:38 2022
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Mon Jun 3 22:23:12 2024
https://gitlab.synchro.net/main/sbbs/-/commit/e995ce203f25446e1208afef
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Add test command 'Z' for locking an SMB header until keypress
Just for testing/experimenting with proper recording locking support. e.g.
when one process or network node (on a LAN) has the SMB header locked, another process/node should not be able to lock it or reading the status header.
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on Debian Linux)@1:103/705 to
Git commit to main/sbbs/master on Mon Jun 17 20:38:51 2024
https://gitlab.synchro.net/main/sbbs/-/commit/c8f60b06ba46058e2c3a367e
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Make filebase status output less confusing ("file" not "msg")
Cosmetic change only, output of 'smbutil s' command when used on a filebase.
Increment the SMBUTIL version from 3.19 to 3.20
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Mon Sep 9 18:29:23 2024
https://gitlab.synchro.net/main/sbbs/-/commit/d84b8e3d6c917620ab0c8a3c
Modified Files:
src/sbbs3/smbutil.c
Log Message:
Indicate vote/poll messages and files (with details) when listing msgs/files
Add '-v' (increase verbosity) option, used to display msg dates and timezones ... when using the the 'l' (list messages) command (to view post date/time). Use '-vv' or '-v -v' to see timezones of messages.
The -v option is now also applicable to the 'v' (view) messages command (now redundant with the 'V' command).
Features as requested by Nelgin as part of issue #786.
Removed day-of-week from date/times displayed. We don't need that level of user-friendliness with this tool.
However, we are also displaying 12h/am/pm times. Some sysops probably would prefer 24hour time, so that should be considered at some point.
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
-
From
Rob Swindell (on Windows 11)@1:103/705 to
Git commit to main/sbbs/master on Tue Sep 17 12:06:15 2024
https://gitlab.synchro.net/main/sbbs/-/commit/daa1b7882234d005c0b2a3ea
Modified Files:
src/sbbs3/smbutil.c
Log Message:
NUL-terminate the SMB fileidxrec_t.name field, just in case
The terminating NUL is actually part of the index record, but with file corruption, it's technically possible the NUL could be missing.
Fixes CID 509554
--- SBBSecho 3.20-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)