Merge branch 'master' of ssh://git.code.sf.net/p/mbsebbs/code
Syncing Hg and Git repositories.
This commit is contained in:
commit
5f9ec17a78
32
AUTHORS
32
AUTHORS
@ -5,7 +5,7 @@ $Id: AUTHORS,v 1.29 2015/11/03 21:05:00 mbse Exp $
|
||||
|
||||
The following people are members of the MBSE BBS development team:
|
||||
|
||||
Andrew Leary 1:320/219@fidonet
|
||||
Andrew Leary ajleary19@gmail.com 1:320/219@fidonet
|
||||
Vincent Coen vbcoen@gmail.com 2:250/1@fidonet
|
||||
Robert James Clay jame@rocasa.us 1:120/544@fidonet
|
||||
|
||||
@ -13,10 +13,10 @@ Robert James Clay jame@rocasa.us 1:120/544@fidonet
|
||||
All following people have contributed to the MBSE BBS project. I'm sure that
|
||||
people are missing from this list. The list is not in any special order.
|
||||
|
||||
Michiel Broek mbroek@mbse.eu 2:280/2802
|
||||
Michiel Broek mbroek@mbse.eu
|
||||
Ken Bowley kbowley@users.sourceforge.net, 1:114/485@fidonet
|
||||
Redy Rodriguez redy@users.sourceforge.net 2:283/613.6
|
||||
Scott Street sstreet98@users.sourceforge.net, 1:266/420@fidonet
|
||||
Redy Rodriguez redy@users.sourceforge.net
|
||||
Scott Street sstreet98@users.sourceforge.net
|
||||
Joaquim Homrighausen joho@abs.lu
|
||||
Andrew Milner andrew@fido.lu
|
||||
Mats Wallin mw@fido.lu
|
||||
@ -30,10 +30,10 @@ Cristof Meerwald
|
||||
P. Saratxaga
|
||||
Dima Maloff
|
||||
Jan van de Werken
|
||||
Sean Rima
|
||||
Sean Rima 2:263/1@fidonet
|
||||
Juergen Heisel
|
||||
Jim Hansen
|
||||
Johannes Lundberg 2:206/149@fidonet, <jojo@chaosdev.org>
|
||||
Johannes Lundberg jojo@chaosdev.org
|
||||
Vincent Danen
|
||||
Francois Thunus francois@telematique.org
|
||||
Johan Lindh
|
||||
@ -41,21 +41,21 @@ William McBrine
|
||||
Harald Wuensch
|
||||
NERvOus nervous@nervous.it
|
||||
Bobby Cabral bobbyc@digitelone.com
|
||||
Johannes Beekhuizen 2:280/1018@fidonet
|
||||
Johannes Beekhuizen
|
||||
Lukas De Groen 2:280/1027@fidonet
|
||||
Joachim Kuwan 2:249/591@fidonet
|
||||
Joachim Kuwan
|
||||
Greek greek@voyager.nnov.ru
|
||||
Sergey Nechaev 2:5015/53@fidonet
|
||||
Sergey Nechaev
|
||||
Serge Terekhov 2:5000/13@fidonet
|
||||
Vadim Kurland vadim@gu.kiev.ua
|
||||
Vadim Zaliva lord@crocodile.kiev.ua
|
||||
Przemyslaw Kwiatkowski 2:480/127@fidonet
|
||||
Phil Kimble kimerud@users.sourceforge.net 1:14/200@fidonet
|
||||
David Gonzalez skynetbbs@007mundo.com 4:930/1@fidonet
|
||||
Malte Tychsen 2:240/9350@fidonet
|
||||
Przemyslaw Kwiatkowski
|
||||
Phil Kimble kimerud@users.sourceforge.net
|
||||
David Gonzalez skynetbbs@007mundo.com
|
||||
Malte Tychsen
|
||||
Dmitry Komissaroff rsprog@mail.ru
|
||||
skyroam skyroam@users.sourceforge.net
|
||||
val khokhlov 2:550/180@fidonet
|
||||
Robert Wolfe 1:2613/4307@fidonet
|
||||
Alan Ianson
|
||||
val khokhlov
|
||||
Robert Wolfe 1:116/18@fidonet
|
||||
Alan Ianson 1:153/757@fidonet
|
||||
Simon Voortman 2:280/1049.1@fidonet
|
||||
|
35
ChangeLog
35
ChangeLog
@ -1,3 +1,38 @@
|
||||
v1.0.6.9 28-Sep-2016 - Andrew Leary
|
||||
|
||||
1. Fixed compiler warnings while building the BBS. Thanks to
|
||||
Ken Bowley for the patches.
|
||||
|
||||
2. Fixed a bug with the use of an external editor, and removed
|
||||
a limitation that forced a message to have at least two lines.
|
||||
Thanks to Ken Bowley for these patches as well.
|
||||
|
||||
v1.0.6.8 20-Jul-2016 - Andrew Leary
|
||||
|
||||
1. Fixed the SETUP.sh script to handle installing on fresh
|
||||
installations of Ubuntu 12.04+. These versions do not install
|
||||
an admin group, which MBSE uses to enable the mbse user to run
|
||||
sudo. SETUP.sh will now add the admin group if it doesn't
|
||||
exist, to prevent useradd failing to create the mbse user.
|
||||
This change only affects first time installations on Ubuntu
|
||||
12.04 or later.
|
||||
|
||||
v1.0.6.7 28-Jun-2016 - Andrew Leary
|
||||
|
||||
1. Added the ability to disable cross-zone SEEN-BY
|
||||
stripping to mbfido. This is currently a global toggle,
|
||||
defaulting to strip SEEN-BYs when crossing zone boundaries.
|
||||
In situations where this behavior is not desired, toggle the
|
||||
SBstrip option to "No" in mbsetup 1.11.20. If there is
|
||||
enough call for it, I will consider making this configurable
|
||||
on a group and/or area basis.
|
||||
|
||||
v1.0.6.6 23-Jun-2016 - Andrew Leary
|
||||
|
||||
1. Several spelling and grammar corrections in mbsebbs.c,
|
||||
chat.c, offline.c, and newuser.c. Thanks to Sean Dennis for
|
||||
the updates.
|
||||
|
||||
v1.0.6.5 12-Feb-2016 - Robert James Clay
|
||||
|
||||
1. Edit README file to better reflect current practice.
|
||||
|
2
Makefile
2
Makefile
@ -148,7 +148,9 @@ dist tar: ${TARFILE}
|
||||
|
||||
clean:
|
||||
rm -f .filelist core ${TARFILE} paths.h config.h
|
||||
rm -f FILE_ID.DIZ INSTALL config.log config.status stamp-h
|
||||
for d in ${SUBDIRS}; do (cd $$d && ${MAKE} $@) || exit; done;
|
||||
rm -f Makefile.global
|
||||
|
||||
${TARFILE}: .filelist
|
||||
cd ..; ln -s ${PACKAGE} ${PACKAGE}-${VERSION} ; rm -f ${TARFILE}; \
|
||||
|
4
SETUP.sh
4
SETUP.sh
@ -299,6 +299,10 @@ if [ "$OSTYPE" = "Linux" ]; then
|
||||
fi
|
||||
if [ "$DISTNAME" = "Ubuntu" ]; then
|
||||
GRPS=${GRPS}",adm,admin"
|
||||
if ! grep -q ^admin /etc/group ; then
|
||||
# Fresh install of Ubuntu 12.04+ has no admin group; we need it to enable use of sudo.
|
||||
$PW groupadd admin
|
||||
fi
|
||||
fi
|
||||
if grep -q ^dialout /etc/group ; then
|
||||
GRPS=${GRPS}",dialout"
|
||||
|
6
configure
vendored
6
configure
vendored
@ -2309,10 +2309,10 @@ SUBDIRS="lib mbcico mbfido mbmon mbsebbs mbutils mbnntp mbtask mbsetup unix lang
|
||||
PACKAGE="mbsebbs"
|
||||
MAJOR="1"
|
||||
MINOR="0"
|
||||
REVISION="6.5"
|
||||
REVISION="6.9"
|
||||
VERSION="$MAJOR.$MINOR.$REVISION"
|
||||
COPYRIGHT="Copyright (C) 1997-2015 Michiel Broek, All Rights Reserved"
|
||||
SHORTRIGHT="Copyright (C) 1997-2015 M. Broek"
|
||||
COPYRIGHT="Copyright (C) 1997-2016 MBSE Development Team, All Rights Reserved"
|
||||
SHORTRIGHT="Copyright (C) 1997-2016 MBSE DevTm"
|
||||
GROUP="bbs"
|
||||
OWNER="mbse"
|
||||
ROWNER="`id -un root`"
|
||||
|
@ -12,10 +12,10 @@ AC_SUBST(SUBDIRS)
|
||||
PACKAGE="mbsebbs"
|
||||
MAJOR="1"
|
||||
MINOR="0"
|
||||
REVISION="6.5"
|
||||
REVISION="6.9"
|
||||
VERSION="$MAJOR.$MINOR.$REVISION"
|
||||
COPYRIGHT="Copyright (C) 1997-2015 Michiel Broek, All Rights Reserved"
|
||||
SHORTRIGHT="Copyright (C) 1997-2015 M. Broek"
|
||||
COPYRIGHT="Copyright (C) 1997-2016 MBSE Development Team, All Rights Reserved"
|
||||
SHORTRIGHT="Copyright (C) 1997-2016 MBSE DevTm"
|
||||
GROUP="bbs"
|
||||
OWNER="mbse"
|
||||
ROWNER="`id -un root`"
|
||||
|
@ -115,6 +115,7 @@ install:
|
||||
|
||||
clean:
|
||||
rm -f filelist
|
||||
rm -f basic.html index.html upgrade.html
|
||||
|
||||
filelist: Makefile
|
||||
BASE=`pwd`; \
|
||||
|
340
lang/source.en
340
lang/source.en
@ -1,34 +1,34 @@
|
||||
|Please enter your First and Last name:
|
||||
|Please enter your Last name:
|
||||
|Disconnecting user ...
|
||||
|Scanning User File ...
|
||||
|Please enter your first and last name:
|
||||
|Please enter your last name:
|
||||
|Disconnecting user...
|
||||
|Scanning user file...
|
||||
YN|Did you spell your name correctly? [Y/n]
|
||||
|You need to login again with the name:
|
||||
|This is a PRIVATE System. Type "off" to leave
|
||||
|Mark file number or press <Enter> to stop
|
||||
|You need to login again using the name:
|
||||
|This is a PRIVATE system. Type "off" to leave.
|
||||
|Mark file number or press <ENTER> to stop.
|
||||
|Password:
|
||||
|Maximum login attempts have been exceeded ...
|
||||
|Either your NAME or PASSWORD is incorrect
|
||||
|Maximum login attempts have been exceeded!
|
||||
|Either your NAME or PASSWORD is incorrect.
|
||||
HR|Export to (H)ome or (R)ules directory:
|
||||
|Message exported to rules directory as
|
||||
|No rules found for this area
|
||||
|You are not allowed to delete that message
|
||||
|Offline Reader: Extended Info turned ON
|
||||
|Offline Reader: Extended Info turned OFF
|
||||
|This is not a plain textfile.
|
||||
|No rules found for this area.
|
||||
|You are not allowed to delete that message!
|
||||
|Offline Reader: Extended Info turned ON.
|
||||
|Offline Reader: Extended Info turned OFF.
|
||||
|This is not a plain text file.
|
||||
|You may only login
|
||||
|times at the same time
|
||||
|The door is in use by another user, try again later
|
||||
YN| Is this correct [y/N]:
|
||||
|times at the same time.
|
||||
|The door is in use by another user. Please try again later.
|
||||
YN| Is this correct? [y/N]:
|
||||
|Could not parse
|
||||
|Select your preferred character set
|
||||
|Select character set (Enter to Quit):
|
||||
|Select character set (<ENTER> to quit):
|
||||
|Character set now set to:
|
||||
YN|Check for new mail at login [Y/n]:
|
||||
YN|Check for new files at login [Y/n]:
|
||||
|Enter a short reason for chat
|
||||
|The Sysop cannot use the bbs to chat! Use mbmon to chat
|
||||
|Sorry, the chatserver is not available
|
||||
YN|Check for new mail at login? [Y/n]:
|
||||
YN|Check for new files at login? [Y/n]:
|
||||
|Enter a short reason for chat:
|
||||
|The Sysop cannot use the BBS to chat! Use mbmon to chat.
|
||||
|Sorry, the chat server is not available.
|
||||
|line
|
||||
|
|
||||
|
|
||||
@ -39,34 +39,34 @@ YN|Check for new files at login [Y/n]:
|
||||
|Use this name:
|
||||
|Please enter new password :
|
||||
|Please enter password again :
|
||||
|Your passwords do not match! Try again.
|
||||
|Your passwords do not match! Try again.
|
||||
|Your password must contain at least
|
||||
|characters! Try again.
|
||||
|characters! Try again.
|
||||
|
|
||||
|Please enter you Voice Number
|
||||
|Please enter your voice number:
|
||||
|Message exported to your private directory as:
|
||||
|Please enter a proper phone number
|
||||
|Please enter you Data Number
|
||||
|Please enter a proper phone number!
|
||||
|Please enter your data number:
|
||||
|Please enter your location:
|
||||
|Please enter a longer location
|
||||
|Please enter a longer location.
|
||||
MF|What is your sex? (M)ale or (F)emale:
|
||||
|Male
|
||||
|Female
|
||||
|Please answer M or F
|
||||
|Please answer M or F.
|
||||
|Unknown
|
||||
|Please enter your Date of Birth DD-MM-YYYY:
|
||||
|Sorry you entered this year by mistake.
|
||||
|Please enter the correct date format
|
||||
|Please enter your date of birth (DD-MM-YYYY):
|
||||
|Sorry, you entered this year by mistake.
|
||||
|Please enter the date using the correct date format.
|
||||
|*** Sysop is starting chat ***
|
||||
|*** Sysop has terminated chat ***
|
||||
YN=|More (Y/n/=)
|
||||
YN|Would you like Hot-Keyed menus? [Y/n]:
|
||||
|Please answer Y or N
|
||||
YN|Would you like hot-keyed menus? [Y/n]:
|
||||
|Please answer Y or N.
|
||||
|
|
||||
|None
|
||||
|Tag Offline Reader message areas
|
||||
|Your user account has been created:
|
||||
|Login Name :
|
||||
|Login name :
|
||||
|Password :
|
||||
|not displayed
|
||||
|New user registration completed.
|
||||
@ -75,42 +75,42 @@ YN|Would you like Hot-Keyed menus? [Y/n]:
|
||||
|Please enter a longer location (min
|
||||
|
|
||||
|
|
||||
|Message doesn't exist
|
||||
|News bulletins turned ON
|
||||
|News bulletins turned OFF
|
||||
|Message doesn't exist!
|
||||
|News bulletins turned ON.
|
||||
|News bulletins turned OFF.
|
||||
|
|
||||
|
|
||||
|Private message, not owner
|
||||
|Please enter the correct date format
|
||||
|Todays Callers to
|
||||
|This is a private message; only the owner and addressee can view it.
|
||||
|Please enter the date using the correct date format.
|
||||
|Today's Callers to
|
||||
|# User Name Device TimeOn Calls Location
|
||||
|Can't open archiver file.
|
||||
|Select your preferred archiver
|
||||
|Select Archiver (Enter to Quit):
|
||||
|Select your preferred archiver:
|
||||
|Select archive type (<ENTER> to quit):
|
||||
|Archiver now set to:
|
||||
|Please enter three combinations.
|
||||
|1st digit:
|
||||
|Please try again! You must input a number greater than Zero and less than
|
||||
|Please try again! You must input a number greater than zero and less than
|
||||
|2nd digit:
|
||||
|3rd digit:
|
||||
| Left:
|
||||
|Right:
|
||||
YN|Attempt to open safe with this combination [Y/n]:
|
||||
|You have won the following...
|
||||
|Sorry - You didn't open the safe!
|
||||
|Sorry - you didn't open the safe!
|
||||
|The safe code was:
|
||||
YN|Do you want to try again ? [Y/n]:
|
||||
YN|Do you want to open the safe ? [Y/n]:
|
||||
|THE SAFE IS CURRENTLY LOCKED
|
||||
YN|Do you want to try again? [Y/n]:
|
||||
YN|Do you want to open the safe? [Y/n]:
|
||||
|THE SAFE IS CURRENTLY LOCKED!
|
||||
|has cracked the safe.
|
||||
|The safe will remain locked until the sysop rewards the user.
|
||||
|Maximum trys per day Exceeded!
|
||||
|Maximum tries per day exceeded!
|
||||
|Edit message signature
|
||||
|The FROM, TO and SUBJECT fields are optional.
|
||||
| From:
|
||||
| To:
|
||||
|Subject:
|
||||
| Type up to 10 lines 74 Characters per line
|
||||
| Type up to 10 lines (74 characters per line).
|
||||
|Functions available:
|
||||
LREAS|(L)ist, (R)eplace text, (E)dit line, (A)bort, (S)ave
|
||||
|Select:
|
||||
@ -122,13 +122,13 @@ LREAS|(L)ist, (R)eplace text, (E)dit line, (A)bort, (S)ave
|
||||
|New password:
|
||||
|Confirm new password:
|
||||
|Passwords do not match!
|
||||
|Password Change Successful
|
||||
|Password change successful.
|
||||
|Old password incorrect!
|
||||
|User List
|
||||
|Enter Username search string or (Enter) for all users:
|
||||
|Enter user name search string or <ENTER> for all users:
|
||||
|Name Location Last On Calls
|
||||
|Could not find search string ...
|
||||
|Time limit exceeded ... disconnecting!
|
||||
|Could not find search string!
|
||||
|Time limit exceeded. Disconnecting!
|
||||
YN=M|More (Y/n/=) M=Mark
|
||||
|Scanning
|
||||
|with
|
||||
@ -142,30 +142,30 @@ YN=M|More (Y/n/=) M=Mark
|
||||
|Daily time limit :
|
||||
|You have
|
||||
YN|messages, read your mail now? [Y/n]:
|
||||
|You have no new mail in your mail box ...
|
||||
|Hotkeys are now ON
|
||||
|Hotkeys are now OFF
|
||||
|You have no new mail in your mail box.
|
||||
|Hotkeys are now ON.
|
||||
|Hotkeys are now OFF.
|
||||
|On
|
||||
|Off
|
||||
|User name already exists
|
||||
|User name already exists!
|
||||
|Checking your mail box ...
|
||||
|MBSE BBS Chat
|
||||
|The SysOp is currently speaking to somebody else.
|
||||
|Try paging him again in a few minutes ...
|
||||
|You have paged the Sysop the maximum times allowed.
|
||||
|Sysop currently is not available ... please leave a comment
|
||||
|The sysop is currently speaking to somebody else.
|
||||
|Try paging him again in a few minutes.
|
||||
|You have paged the Sysop the maximum times allowed for the day.
|
||||
|The sysop currently is not available. Please leave a comment.
|
||||
|Posting message in area:
|
||||
|From :
|
||||
| To :
|
||||
|Verifying user ...
|
||||
|User not found. Try again, or (Enter) to quit
|
||||
|Verifying user...
|
||||
|User not found. Try again or <ENTER> to quit.
|
||||
|Subj :
|
||||
YN|Abort Message [y/N] ?:
|
||||
YN|Private [y/N]:
|
||||
|Begin your message now, Blank line to end
|
||||
|Maximum of 60 lines, 73 characters per line
|
||||
|Maximum message length exceeded
|
||||
|Functions available: (Current Message:
|
||||
|Begin your message now. Enter a blank line to end the message.
|
||||
|Maximum of 60 lines (73 characters per line).
|
||||
|Maximum message length exceeded!
|
||||
|Functions available: (current message:
|
||||
|Lines)
|
||||
|L - List message S - Save message C - Continue message
|
||||
|Q - Quit message D - Delete line I - Insert line
|
||||
@ -177,7 +177,7 @@ LSCQDITERZ|Z - Center line
|
||||
|Delete starting at line
|
||||
|Aborted.
|
||||
|Please enter a number in the range of
|
||||
|Delete ending at line
|
||||
|Delete ending at line
|
||||
|Edit
|
||||
|Enter line # to edit
|
||||
|Insert
|
||||
@ -188,7 +188,7 @@ LSCQDITERZ|Z - Center line
|
||||
|Unchanged.
|
||||
|Line now reads:
|
||||
|Quit
|
||||
YN|Are you sure [y/N]:
|
||||
YN|Are you sure? [y/N]:
|
||||
|Message aborted.
|
||||
|No
|
||||
|Text Edit
|
||||
@ -199,10 +199,10 @@ YN|Are you sure [y/N]:
|
||||
|Save
|
||||
|Possible VIRUS found!
|
||||
|Ok
|
||||
|Unpacking archive
|
||||
|Saving message to disk
|
||||
|Unpacking archive.
|
||||
|Saving message to disk.
|
||||
|Enter line # to center
|
||||
|Line is maximum length and cannot be centered
|
||||
|Line is maximum length and cannot be centered.
|
||||
|There are no messages in this area.
|
||||
|Date :
|
||||
YN=|More (Y/n/=/Area #):
|
||||
@ -217,7 +217,7 @@ ANLREQDX|(A)gain, (N)ext, (L)ast, (R)eply, (E)nter, (D)el, (Q)uit, e(X)port
|
||||
|Next
|
||||
|ERROR
|
||||
RNQ|(R)eply, (N)ext, (Q)uit:
|
||||
|Enter to keep Subject.
|
||||
|<ENTER> to keep subject.
|
||||
|# From To Subject
|
||||
|Message area
|
||||
|contains
|
||||
@ -226,27 +226,27 @@ RNQ|(R)eply, (N)ext, (Q)uit:
|
||||
|Message number [
|
||||
|Area Type Description Messages Personal
|
||||
|thread
|
||||
|Enter the name of the conference, or ? for a list:
|
||||
|Enter the name of the conference or ? for a list:
|
||||
|Conference Area Msgs Description
|
||||
|Deleting message
|
||||
| Message Areas
|
||||
|Select Area:
|
||||
|Invalid area specified - Please try again ...
|
||||
|Password is incorrect
|
||||
|Password is correct
|
||||
|You don't have enough security to list this area
|
||||
|Can't open file database for this area
|
||||
|Select area:
|
||||
|Invalid area specified. Please try again.
|
||||
|Password is incorrect!
|
||||
|Password is correct.
|
||||
|You don't have enough security to list this area.
|
||||
|Can't open file database for this area!
|
||||
|Uploaded by:
|
||||
|D E L E T E D
|
||||
|
|
||||
YN|Node not known, continue anyway [y/N]:
|
||||
|Total Files:
|
||||
|FATAL: Unable to open areas database
|
||||
YN|Node not known. Continue anyway? [y/N]:
|
||||
|Total files:
|
||||
|FATAL: Unable to open areas database!
|
||||
|You do not have enough access to download from this area.
|
||||
|Please enter filename:
|
||||
|No filename entered, Aborting.
|
||||
|Illegal Filename!
|
||||
|Sorry that file is unavailable for download
|
||||
|No filename entered. Aborting.
|
||||
|Illegal filename!
|
||||
|Sorry, that file is unavailable for download.
|
||||
|You have
|
||||
|extra download KBytes.
|
||||
|You do not have enough time to download that file.
|
||||
@ -254,16 +254,16 @@ YN|Node not known, continue anyway [y/N]:
|
||||
|You must upload before you can download.
|
||||
|Kilobytes currently available:
|
||||
|Checking your marked downloads, please wait...
|
||||
|Untag Offline Reader message areas
|
||||
|Found FILEID.DIZ in
|
||||
|Untag offline reader message areas
|
||||
|Found FILE_ID.DIZ in
|
||||
|No files marked for download.
|
||||
|
|
||||
|You have selected the following Conference(s):
|
||||
|You have selected the following conference(s):
|
||||
|Filename Size Date
|
||||
|Protocol: Can't open protocol file.
|
||||
|Select your preferred file transfer protcol
|
||||
|Select Protocol (Enter to Quit):
|
||||
|Ivalid selection, please try again!
|
||||
|Select your preferred file transfer protocol:
|
||||
|Select protocol (<ENTER> to quit):
|
||||
|Invalid selection. Please try again!
|
||||
|Protocol now set to:
|
||||
|Enter keyword to use for Search:
|
||||
|File Search by Keyword
|
||||
@ -271,33 +271,33 @@ YN|Node not known, continue anyway [y/N]:
|
||||
| : *.zip is the same as .zip
|
||||
|Enter filename to search for :
|
||||
|File Search by Filename
|
||||
YN|Search for new since your last call [Y/n]:
|
||||
YN|Search for new files since your last call? [Y/n]:
|
||||
|Enter new date to search for [DD-MM-YYYY]:
|
||||
|File Search by Date
|
||||
|
|
||||
|Offline Reader Download
|
||||
|You do not have enough access to upload to this area.
|
||||
|You have not enough diskspace free to copy this file
|
||||
|There is not enough disk space free to copy this file.
|
||||
|files(
|
||||
|bytes) marked for download.
|
||||
|The file already exists on the system
|
||||
|Please start your upload now ...
|
||||
|The file already exists on the system!
|
||||
|Please start your upload now.
|
||||
|Upload was unsuccessful for:
|
||||
YN|Do you want to password protect your upload ? [y/N]:
|
||||
YN|Do you want to password protect your upload? [y/N]:
|
||||
|REMEMBER: Passwords are "CaSe SeNsITiVe!"
|
||||
|Please enter description of file
|
||||
|Your upload time has been returned to you. Thank you for your upload!
|
||||
|Please enter description of file:
|
||||
|Your upload time has been returned to you. Thank you for your upload!
|
||||
|Start copy:
|
||||
|Can't open directory for listing:
|
||||
|Home directory listing for
|
||||
|Please enter filename to delete:
|
||||
|Sorry you may not delete hidden files ...
|
||||
|Unable to delete file ...
|
||||
|Invalid filename, please try again ...
|
||||
|File does not exist, please try again ...
|
||||
|Sorry you may not delete hidden files!
|
||||
|Unable to delete file!
|
||||
|Invalid filename. Please try again.
|
||||
|File does not exist. Please try again.
|
||||
|Forum Description Msgs. Pers.
|
||||
| File Areas
|
||||
|Please enter Area Password:
|
||||
|Please enter area password:
|
||||
|Adding BBS
|
||||
|BBS Name:
|
||||
|Response needed ...
|
||||
@ -307,17 +307,17 @@ YN|Do you want to password protect your upload ? [y/N]:
|
||||
|Storage (GigaByte):
|
||||
|Speeds:
|
||||
YN|Would you like to add a extended discription? [Y/n]:
|
||||
|Please a enter discription for
|
||||
|Please enter a description for
|
||||
|BBS Listing
|
||||
|# BBS Name Number Software GigaByte Speed
|
||||
|Search for a BBS
|
||||
|Please enter 3 letters of BBS to search for:
|
||||
|I need at least 3 letters ...
|
||||
|You must use at least 3 letters for searching.
|
||||
YN|View this BBS? [Y/n]:
|
||||
|Could not find the BBS Listed ...
|
||||
|Could not find the BBS listed.
|
||||
|Show a BBS
|
||||
|Please enter number to list:
|
||||
|Record does not exist
|
||||
|Record does not exist!
|
||||
| Record :
|
||||
| BBS Name :
|
||||
| Number :
|
||||
@ -332,17 +332,17 @@ YN|View this BBS? [Y/n]:
|
||||
|Please enter number to delete:
|
||||
|Record
|
||||
|does not belong to you.
|
||||
|already marked for deletion
|
||||
|marked for deletion
|
||||
|The Sysop will purge the list once he has
|
||||
|already marked for deletion.
|
||||
|marked for deletion.
|
||||
|The sysop will purge the list once he has
|
||||
|seen you have marked a record for deletion.
|
||||
|Total messages found:
|
||||
|Unknown Menu Command!
|
||||
|Saving...
|
||||
|Sorry, that command isn't recognized.
|
||||
|Saving.
|
||||
|MBSE BBS Oneliners will randomly appear on the main menu.
|
||||
|Obscene or libellous oneliners will be deleted!!
|
||||
|Please enter your oneliner below. You have 75 characters.
|
||||
|Oneliner added
|
||||
|Obscene or libellous oneliners will be deleted!
|
||||
|Please enter your oneliner below. You have 75 characters.
|
||||
|Oneliner added!
|
||||
| # A Date User Description
|
||||
| # Description
|
||||
|Please enter number to list:
|
||||
@ -350,7 +350,7 @@ YN|View this BBS? [Y/n]:
|
||||
|File(s) :
|
||||
|Size :
|
||||
|Protocol :
|
||||
|Updating download counters, please wait ...
|
||||
|Updating download counters. Please wait.
|
||||
|Failed!
|
||||
|Bytes
|
||||
| # Area Active Size Cost File
|
||||
@ -361,30 +361,30 @@ TE|(T)oggle active, (E)rase all, (ENTER) to continue:
|
||||
|Marked:
|
||||
|No files tagged.
|
||||
|Replace
|
||||
|Loading BBS, please wait ...
|
||||
|Loading BBS. Please wait!
|
||||
|New or deleted mail areas at
|
||||
|Area State Type Description
|
||||
|New Mail check is now ON
|
||||
|New Mail check is now OFF
|
||||
|New Mail check is now ON.
|
||||
|New Mail check is now OFF.
|
||||
|Delete file:
|
||||
YN|Are you Sure? [Y/n]:
|
||||
|New Files check is now ON
|
||||
|New Files check is now OFF
|
||||
|New Files check is now ON.
|
||||
|New Files check is now OFF.
|
||||
|Now using the
|
||||
12|Select: 1) Fullscreen editor, 2) External editor
|
||||
12|Select: 1) Fullscreen editor or 2) External editor (joe)
|
||||
|No messages found to download!
|
||||
|Press (Enter) to continue:
|
||||
|Press <ENTER> to continue.
|
||||
|Center
|
||||
|Too much messages. Only the first
|
||||
|Select your preferred language
|
||||
|Select Language:
|
||||
|Too many messages! Only the first
|
||||
|Select your preferred language:
|
||||
|Select language:
|
||||
|Language now set to:
|
||||
|The system will now ask you for a "Unix Account"
|
||||
|Your "Unix Account" is created, you may use it the next time you call.
|
||||
|Please enter a login name (Maximum 8 characters)
|
||||
|The system will now ask you for a "system account".
|
||||
|Your "system account" has been created. You can use it the next time you call.
|
||||
|Please enter a login name (maximum 8 characters) to log onto the server.
|
||||
|ie. John Doe, login = jdoe
|
||||
|login >
|
||||
|That login name already exists, please choose another one.
|
||||
|That login name already exists. Please choose another one.
|
||||
|Line
|
||||
|Fullscreen
|
||||
|External
|
||||
@ -394,7 +394,7 @@ YN|Are you Sure? [Y/n]:
|
||||
|Netmail
|
||||
|Echomail
|
||||
|News
|
||||
|E-Mail
|
||||
|Email
|
||||
|Del
|
||||
|Jan
|
||||
|Feb
|
||||
@ -410,12 +410,12 @@ YN|Are you Sure? [Y/n]:
|
||||
|Dec
|
||||
|Autologout: idletime reached.
|
||||
|Will be packed!
|
||||
|Enter your handle (Enter for none):
|
||||
|You are now ready to use the bbs
|
||||
|Callers On-Line to
|
||||
|Enter your handle (<ENTER> for none):
|
||||
|You are now ready to use the bbs!
|
||||
|Callers Online to
|
||||
|Name Device Status Location
|
||||
|Do not disturb turned OFF
|
||||
|Do not disturb turned ON
|
||||
|Do not disturb turned OFF.
|
||||
|Do not disturb turned ON.
|
||||
|Browsing
|
||||
|Downloading
|
||||
|Uploading
|
||||
@ -429,54 +429,54 @@ YN|Do you want to download these messages [Y/n]?
|
||||
|WhosOn List
|
||||
|Offline Reader
|
||||
|Please enter username to send message to:
|
||||
|Sorry, there is no user on
|
||||
|doesn't wish to be disturbed
|
||||
|Please enter in message to send (Max 76 Characters)
|
||||
|Sorry, there is no one logged on.
|
||||
|doesn't wish to be disturbed.
|
||||
|Please enter message to send (max 76 characters):
|
||||
|** Message ** from
|
||||
|Your password is expired, new password :
|
||||
|Press ENTER to continue
|
||||
|Posting not allowed, this area is Read Only!
|
||||
|Your password has expired. Please enter a new password:
|
||||
|Press <ENTER> to continue.
|
||||
|Posting not allowed as this area is read-only!
|
||||
1|Select: 1) Fullscreen editor
|
||||
|Offline Reader Upload
|
||||
|Invalid packet received
|
||||
|Unknown compression type
|
||||
|Archiver not available
|
||||
|Unknown type mailpacket
|
||||
|BlueWave Offline download
|
||||
|Invalid packet received!
|
||||
|Unknown compression type!
|
||||
|Archiver not available!
|
||||
|Mail packet type is unknown.
|
||||
|Blue Wave offline download
|
||||
|Preparing packet
|
||||
|Packing with
|
||||
|Download failed
|
||||
|Download successfull
|
||||
|Updating lastread pointers
|
||||
|Processing BlueWave reply packet
|
||||
|ERROR in packet
|
||||
|Download failed!
|
||||
|Download successful.
|
||||
|Updating lastread pointers.
|
||||
|Processing Blue Wave reply packet.
|
||||
|ERROR in packet!
|
||||
|Import messages
|
||||
|No Write access to area
|
||||
|Messages imported
|
||||
|Processing Offline Configuration
|
||||
|No write access to area!
|
||||
|message(s) imported.
|
||||
|Processing offline configuration.
|
||||
|Message areas selected
|
||||
|Processing file requests
|
||||
|Processing file requests.
|
||||
|QWK Offline Download
|
||||
|Processing QWK reply packet
|
||||
|Processing QWK reply packet.
|
||||
|ASCII Offline Download
|
||||
YN|Crash [y/N]:
|
||||
YN|Warning: node is not CM, send immediate [y/N]:
|
||||
YN|Warning: node is not CM, send immediate? [y/N]:
|
||||
YN|Attach file [y/N]:
|
||||
|File
|
||||
|will be attached
|
||||
|will be attached.
|
||||
|File not within
|
||||
|mailbox - Incoming and outgoing email
|
||||
|archive - Archive of your email
|
||||
|trash - Trashcan, your old email
|
||||
|Area #
|
||||
|minutes.
|
||||
|Fullscreen Editor shortcut keys set to Emacs
|
||||
|Fullscreen Editor shortcut keys set to Wordstar
|
||||
|Your address, maximum 3 lines (only visible for the sysop):
|
||||
|You need to enter your address here
|
||||
|Fullscreen editor shortcut keys set to Emacs.
|
||||
|Fullscreen editor shortcut keys set to Wordstar.
|
||||
|Your address (maximum 3 lines [only visible for the sysop]):
|
||||
|You need to enter your address here.
|
||||
|Old address:
|
||||
|Use your alias (
|
||||
YN|) to post this message [Y/n]:
|
||||
|No more areas with unread messages
|
||||
|Addresse not in Nodelist
|
||||
|Found Addresse in Nodelist
|
||||
YN|) to post this message? [Y/n]:
|
||||
|No more areas with unread messages.
|
||||
|Addressee not in nodelist.
|
||||
|Found addressee in nodelist!
|
||||
|
@ -619,7 +619,7 @@ char *printable(char *s, int l)
|
||||
case '\b': *p++='\\'; *p++='b'; break;
|
||||
default: snprintf(p, 5, "\\%02x", (*s & 0xff)); p+=3; break;
|
||||
}
|
||||
s++;
|
||||
s++;
|
||||
}
|
||||
*p='\0';
|
||||
return pbuff;
|
||||
|
@ -594,7 +594,7 @@ fidoaddr *faddr2fido(faddr *aka)
|
||||
fidoaddr *Sys;
|
||||
|
||||
Sys = (fidoaddr *)malloc(sizeof(fidoaddr));
|
||||
memset(Sys, 0, sizeof(Sys));
|
||||
memset(Sys, 0, sizeof(*Sys));
|
||||
Sys->zone = aka->zone;
|
||||
Sys->net = aka->net;
|
||||
Sys->node = aka->node;
|
||||
|
@ -245,7 +245,7 @@ void html_massage(char *inbuf, char *outbuf, size_t size)
|
||||
char *inptr = inbuf;
|
||||
char *outptr = outbuf;
|
||||
|
||||
memset(outbuf, 0, sizeof(outbuf));
|
||||
memset(outbuf, 0, sizeof(*outbuf));
|
||||
|
||||
while (*inptr) {
|
||||
|
||||
|
@ -1274,6 +1274,7 @@ struct sysconfig {
|
||||
unsigned ca_Notify : 1; /* Areamgr: Notify on/off */
|
||||
unsigned ca_Passwd : 1; /* Areamgr: Passwd change */
|
||||
unsigned ca_Pause : 1; /* Areamgr: Allow Pause */
|
||||
unsigned ca_SBstrip : 1; /* Strip SB out-of-zone */
|
||||
unsigned ca_Check : 1; /* Flag for upgrade check */
|
||||
|
||||
char rulesdir[65]; /* Area rules directory */
|
||||
|
@ -518,8 +518,8 @@ char *Fgets(char *l, int size, FILE *f) {
|
||||
eol = TRUE;
|
||||
break;
|
||||
} else
|
||||
cr = (c=='\r');
|
||||
if ( cr )
|
||||
cr = (c=='\r');
|
||||
if ( cr )
|
||||
continue;
|
||||
--size;
|
||||
if (c=='\n') { eol = TRUE; break; }
|
||||
|
@ -862,7 +862,7 @@ node *getnlent(faddr *addr)
|
||||
* Parse the IP flag for a optional port number.
|
||||
*/
|
||||
if ((r = strrchr(p, ':'))) {
|
||||
*r++;
|
||||
r++;
|
||||
for (tmps = &nl_service; *tmps; tmps=&((*tmps)->next)) {
|
||||
if (strncmp(p, (*tmps)->flag, 3) == 0) {
|
||||
/*
|
||||
|
@ -88,7 +88,7 @@ int rearc(char *filename, char *arctype, int do_quiet)
|
||||
newname = calloc(PATH_MAX, sizeof(char));
|
||||
strcpy(newname, filename);
|
||||
p = strrchr(newname, '.');
|
||||
*p++;
|
||||
p++;
|
||||
*p = '\0';
|
||||
|
||||
if (!getarchiver(arctype)) {
|
||||
|
@ -161,7 +161,7 @@ int clam_stream_check(char *servname, char *servport, char *filename)
|
||||
/* fwrite(buf, 1, buf_len, stderr); */
|
||||
buf_c = buf + buf_len;
|
||||
while(*buf_c=='\r' || *buf_c == '\r' || *buf_c == ' ')
|
||||
*buf_c --;
|
||||
buf_c --;
|
||||
if (buf_c - buf >= sizeof(" FOUND") && strncasecmp(buf_c - sizeof(" FOUND"), " FOUND", sizeof(" FOUND")-1) == 0) {
|
||||
char *buf_s = buf;
|
||||
buf_c -= sizeof(" FOUND");
|
||||
|
@ -175,7 +175,7 @@ char *mkemsidat(int caller)
|
||||
p=xstrcat(p,(char *)"ZAP,");
|
||||
if (emsi_local_protos & PROT_ZMO)
|
||||
p=xstrcat(p,(char *)"ZMO,");
|
||||
if (emsi_local_protos & PROT_DZA);
|
||||
if (emsi_local_protos & PROT_DZA)
|
||||
p=xstrcat(p,(char *)"DZA,");
|
||||
if (emsi_local_protos & PROT_KER)
|
||||
p=xstrcat(p,(char *)"KER,");
|
||||
|
@ -491,9 +491,9 @@ file_list *create_filelist(fa_list *al, char *fl, int create)
|
||||
}
|
||||
|
||||
for (tmpf = st; tmpf; tmpf = tmpf->next)
|
||||
Syslog('o',"flist: \"%s\" -> \"%s\" dsp:%d flofp:%u floff:%u",
|
||||
Syslog('o',"flist: \"%s\" -> \"%s\" dsp:%d flofp:%p floff:%p",
|
||||
MBSE_SS(tmpf->local), MBSE_SS(tmpf->remote), tmpf->disposition,
|
||||
(unsigned int)tmpf->flofp, (unsigned int)tmpf->floff);
|
||||
tmpf->flofp, tmpf->floff);
|
||||
|
||||
return st;
|
||||
}
|
||||
|
@ -241,7 +241,7 @@ SM_STATE(send_mail)
|
||||
tmpfl = tosend;
|
||||
tosend = request;
|
||||
for (; request->next; request = request->next);
|
||||
request->next = tmpfl;
|
||||
request->next = tmpfl;
|
||||
|
||||
request = NULL;
|
||||
}
|
||||
|
@ -1807,7 +1807,7 @@ int hydra(int role)
|
||||
tmpfl = tosend;
|
||||
tosend = request;
|
||||
for (; request->next; request = request->next);
|
||||
request->next = tmpfl;
|
||||
request->next = tmpfl;
|
||||
|
||||
request = NULL;
|
||||
}
|
||||
@ -1823,7 +1823,7 @@ int hydra(int role)
|
||||
|
||||
if (emsi_remote_lcodes & LCODE_RH1) {
|
||||
for (tmpfl = tosend; tmpfl->next; tmpfl = tmpfl->next);
|
||||
tmpfl->next = respond;
|
||||
tmpfl->next = respond;
|
||||
|
||||
rc = hydra_batch(role, tosend);
|
||||
tmpfl->next = NULL; /* split filelist into tosend and respond again */
|
||||
|
@ -312,8 +312,8 @@ int main(int argc, char *argv[])
|
||||
if (execl(temp, "mblogin", (char *)NULL) == -1)
|
||||
perror("FATAL: Error loading BBS!");
|
||||
|
||||
InitClient(pw->pw_name, (char *)"mbcico", CFG.location, CFG.logfile,
|
||||
CFG.cico_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||
InitClient(pw->pw_name, (char *)"mbcico", CFG.location, CFG.logfile,
|
||||
CFG.cico_loglevel, CFG.error_log, CFG.mgrlog, CFG.debuglog);
|
||||
/*
|
||||
* If this happens, nothing is logged!
|
||||
*/
|
||||
|
@ -388,8 +388,8 @@ int each(faddr *addr, char flavor, int isflo, char *fname)
|
||||
if (*p == '\\')
|
||||
*p='/';
|
||||
for (p = buf; *p && isspace(*p); p++);
|
||||
if (*p == '~')
|
||||
continue;
|
||||
if (*p == '~')
|
||||
continue;
|
||||
if ((*p == '#') || (*p == '-') || (*p == '^') || (*p == '@') || (*p == '~'))
|
||||
p++;
|
||||
if (stat(p, &st) != 0) {
|
||||
|
@ -73,7 +73,7 @@ int rxtcp(void)
|
||||
if ((rc=tcprcvfiles()) == 0) {
|
||||
if ((emsi_local_opts & OPT_NRQ) == 0) {
|
||||
for (tmpfl = &tosend; *tmpfl; tmpfl = &((*tmpfl)->next));
|
||||
*tmpfl = respond_wazoo();
|
||||
*tmpfl = respond_wazoo();
|
||||
}
|
||||
|
||||
if ((tosend != NULL) || ((emsi_remote_lcodes & LCODE_NPU) == 0))
|
||||
|
@ -305,7 +305,7 @@ void Send(int newsmode, char *outstr)
|
||||
int ftn2rfc(faddr *f, faddr *t, char *subj, char *origline, time_t mdate, int flags, FILE *pkt)
|
||||
{
|
||||
int rrq, result = 1, waskludge = FALSE, badkludge;
|
||||
int bNeedToGetAddressFromMsgid = (int)NULL, newsmode = 0, lines, pass, count, first;
|
||||
int bNeedToGetAddressFromMsgid = 0, newsmode = 0, lines, pass, count, first;
|
||||
char *newsgroup = NULL, *charset = NULL;
|
||||
char *temp, *p, *q, *r, *l, *b, *To = NULL, buf[4096], c, MailFrom[128], MailTo[128];
|
||||
time_t now;
|
||||
|
@ -202,7 +202,7 @@ void editor_configs(void)
|
||||
for (i = 1; i < 40; i++)
|
||||
if (CFG.akavalid[i])
|
||||
fprintf(fp, "AKA %s\n", aka2str(CFG.aka[i]));
|
||||
fprintf(fp, "\n");
|
||||
fprintf(fp, "\n");
|
||||
|
||||
gold_akamatch(fp);
|
||||
fprintf(fp, "; JAM MessageBase Setup\n;\n");
|
||||
|
@ -444,8 +444,8 @@ int compile(char *nlname, unsigned short zo, unsigned short ne, unsigned short n
|
||||
*/
|
||||
if ((*(buf+strlen(buf) -1) != '\n') && (*(buf + strlen(buf) -1) != '\012')) {
|
||||
while (fgets(buf, sizeof(buf) -1, nl) && (*(buf + strlen(buf) -1) != '\n')) /*void*/;
|
||||
if (strlen(buf) > 1) /* Suppress EOF character */
|
||||
Syslog('-', "Nodelist: too long line junked (%d)", lineno);
|
||||
if (strlen(buf) > 1) /* Suppress EOF character */
|
||||
Syslog('-', "Nodelist: too long line junked (%d)", lineno);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ void MacroRead(FILE *fi, FILE *fp)
|
||||
/*
|
||||
* Empty lines are just written
|
||||
*/
|
||||
fprintf(fp, "\r");
|
||||
fprintf(fp, "\n");
|
||||
} else {
|
||||
strncpy(temp, ParseMacro(line,&res), 254);
|
||||
if (res)
|
||||
@ -78,7 +78,7 @@ void MacroRead(FILE *fi, FILE *fp)
|
||||
* Only output if something was evaluated
|
||||
*/
|
||||
if (strlen(temp))
|
||||
fprintf(fp, "%s\r", temp);
|
||||
fprintf(fp, "%s\n", temp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -338,7 +338,7 @@ int postecho(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t m
|
||||
*/
|
||||
if (!dupe && !isbad) {
|
||||
|
||||
if (msgs.Aka.zone != Link.aka.zone) {
|
||||
if ((msgs.Aka.zone != Link.aka.zone) && (CFG.ca_SBstrip)) {
|
||||
/*
|
||||
* If it is a zonegated echomailmessage the SEEN-BY lines
|
||||
* are stripped off including that of the other zone's
|
||||
|
@ -373,8 +373,8 @@ int rfc2ftn(FILE *fp, faddr *recipient)
|
||||
fprintf(ofp, "\001TOPT %d\n", fmsg->to->point);
|
||||
if (fmsg->from->point != 0)
|
||||
fprintf(ofp, "\001FMPT %d\n", fmsg->from->point);
|
||||
fprintf(ofp, "\001INTL %d:%d/%d %d:%d/%d\n", fmsg->to->zone, fmsg->to->net, fmsg->to->node,
|
||||
fmsg->from->zone, fmsg->from->net, fmsg->from->node);
|
||||
fprintf(ofp, "\001INTL %d:%d/%d %d:%d/%d\n", fmsg->to->zone, fmsg->to->net, fmsg->to->node,
|
||||
fmsg->from->zone, fmsg->from->net, fmsg->from->node);
|
||||
}
|
||||
|
||||
if ((fmsg->msgid_a == NULL) || (fmsg->msgid_n == 0)) {
|
||||
@ -673,10 +673,10 @@ int rfc2ftn(FILE *fp, faddr *recipient)
|
||||
for (tmp = msg; tmp; tmp = tmp->next)
|
||||
if (!strcasecmp(tmp->key,"X-FTN-PATH"))
|
||||
fill_path(&ptl,tmp->val);
|
||||
if (msgs.Aka.point == 0) {
|
||||
snprintf(sbe,128,"%u/%u",msgs.Aka.net, msgs.Aka.node);
|
||||
fill_path(&ptl,sbe);
|
||||
}
|
||||
if (msgs.Aka.point == 0) {
|
||||
snprintf(sbe,128,"%u/%u",msgs.Aka.net, msgs.Aka.node);
|
||||
fill_path(&ptl,sbe);
|
||||
}
|
||||
|
||||
/*
|
||||
* Only add PATH line if there is something
|
||||
|
@ -463,9 +463,9 @@ int getmessage(FILE *pkt, faddr *p_from, faddr *p_to)
|
||||
} else
|
||||
if (*(l=p+strlen(p)-1) == '\n')
|
||||
*l='\0';
|
||||
for (l=p+strlen(p)-1;*l == ' ';l--)
|
||||
*l='\0';
|
||||
orig = xstrcpy(p);
|
||||
for (l=p+strlen(p)-1;*l == ' ';l--)
|
||||
*l='\0';
|
||||
orig = xstrcpy(p);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -89,7 +89,7 @@ void ParseMask(char *s, fidoaddr *addr)
|
||||
else
|
||||
if (strcmp(str, "All"))
|
||||
good = FALSE;
|
||||
str = p;
|
||||
str = p;
|
||||
}
|
||||
|
||||
if ((p=strchr(str, '.'))) {
|
||||
@ -101,7 +101,7 @@ void ParseMask(char *s, fidoaddr *addr)
|
||||
addr->node = 65535;
|
||||
else
|
||||
good = FALSE;
|
||||
str = p;
|
||||
str = p;
|
||||
} else {
|
||||
if (strspn(str, "0123456789") == strlen(str))
|
||||
addr->node = atoi(str);
|
||||
@ -110,7 +110,7 @@ void ParseMask(char *s, fidoaddr *addr)
|
||||
addr->node = 65535;
|
||||
else
|
||||
good = FALSE;
|
||||
str = NULL;
|
||||
str = NULL;
|
||||
}
|
||||
|
||||
if (str) {
|
||||
|
@ -406,7 +406,7 @@ int get_post(char *buf, int max)
|
||||
int c, len;
|
||||
|
||||
len = 0;
|
||||
memset(buf, 0, sizeof(buf));
|
||||
memset(buf, 0, sizeof(*buf));
|
||||
while (TRUE) {
|
||||
c = tty_getc(180);
|
||||
if (c <= 0) {
|
||||
|
@ -263,7 +263,7 @@ int get_nntp(char *buf, int max)
|
||||
int c, len;
|
||||
|
||||
len = 0;
|
||||
memset(buf, 0, sizeof(buf));
|
||||
memset(buf, 0, sizeof(*buf));
|
||||
while (TRUE) {
|
||||
c = tty_getc(180);
|
||||
if (c <= 0) {
|
||||
|
@ -652,10 +652,10 @@ int rfc2ftn(FILE *fp)
|
||||
for (tmp = msg; tmp; tmp = tmp->next)
|
||||
if (!strcasecmp(tmp->key,"X-FTN-PATH"))
|
||||
fill_path(&ptl,tmp->val);
|
||||
if (msgs.Aka.point == 0) {
|
||||
snprintf(sbe,16,"%u/%u",msgs.Aka.net, msgs.Aka.node);
|
||||
fill_path(&ptl,sbe);
|
||||
}
|
||||
if (msgs.Aka.point == 0) {
|
||||
snprintf(sbe,16,"%u/%u",msgs.Aka.net, msgs.Aka.node);
|
||||
fill_path(&ptl,sbe);
|
||||
}
|
||||
|
||||
/*
|
||||
* Only add PATH line if there is something
|
||||
|
@ -236,7 +236,7 @@ void Chat(char *username, char *channel)
|
||||
if (socket_send(buf) == 0) {
|
||||
strncpy(buf, socket_receive(), sizeof(buf)-1);
|
||||
if (strncmp(buf, "200:1,", 6) == 0) {
|
||||
Syslog('!', "Chatsever is not available");
|
||||
Syslog('!', "Chat server is not available");
|
||||
colour(LIGHTRED, BLACK);
|
||||
mvprintw(4, 1, (char *) Language(30));
|
||||
Enter(2);
|
||||
@ -248,7 +248,7 @@ void Chat(char *username, char *channel)
|
||||
|
||||
locate(rows - 2, 1);
|
||||
colour(WHITE, BLUE);
|
||||
snprintf(buf, 200, "%-*s", cols, " Chat, type \"/EXIT\" to exit or \"/HELP\" for help");
|
||||
snprintf(buf, 200, "%-*s", cols, " Type \"/EXIT\" to exit or \"/HELP\" for help.");
|
||||
mvprintw(rows - 2, 1, buf);
|
||||
|
||||
colour(WHITE, BLACK);
|
||||
|
@ -1042,7 +1042,7 @@ void Choose_Mailbox(char *Option)
|
||||
SetEmailArea((char *)"trash");
|
||||
else if (!strcmp(sMailbox, "trash"))
|
||||
SetEmailArea((char *)"archive");
|
||||
else if (!strcmp(sMailbox, "archive"));
|
||||
else if (!strcmp(sMailbox, "archive"))
|
||||
SetEmailArea((char *)"mailbox");
|
||||
}
|
||||
Syslog('+', "Emailarea: %s", sMailbox);
|
||||
|
@ -817,7 +817,7 @@ int Save_Msg(int IsReply, faddr *Dest)
|
||||
|
||||
Syslog('b', "Entering Save_Msg() Line=%d, Dest=%s", Line, (Dest == NULL)?"NULL":"valid");
|
||||
|
||||
if (Line < 2)
|
||||
if (Line < 1)
|
||||
return TRUE;
|
||||
|
||||
/* Saving message to disk */
|
||||
@ -2939,7 +2939,7 @@ int Ext_Edit()
|
||||
i++;
|
||||
}
|
||||
changed=TRUE;
|
||||
Line=i;
|
||||
Line=i-1;
|
||||
fclose(fd);
|
||||
}
|
||||
free(l);
|
||||
|
@ -220,7 +220,7 @@ int main(int argc, char **argv)
|
||||
i = getpid();
|
||||
|
||||
if ((tty = ttyname(0)) == NULL) {
|
||||
WriteError("Not at a tty");
|
||||
WriteError("Not at a TTY");
|
||||
Free_Language();
|
||||
Quick_Bye(MBERR_OK);
|
||||
}
|
||||
@ -250,7 +250,7 @@ int main(int argc, char **argv)
|
||||
* log the user off.
|
||||
*/
|
||||
if (CheckStatus() == FALSE) {
|
||||
Syslog('+', "Kicking user out, the BBS is closed");
|
||||
Syslog('+', "Kicking user out. The BBS is closed.");
|
||||
Free_Language();
|
||||
Quick_Bye(MBERR_OK);
|
||||
}
|
||||
@ -272,7 +272,7 @@ int main(int argc, char **argv)
|
||||
* Check and report screens that are too small
|
||||
*/
|
||||
if ((cols < 80) || (rows < 24)) {
|
||||
snprintf(temp, 81, "Your screen is set to %dx%d, we use 80x24 at least", cols, rows);
|
||||
snprintf(temp, 81, "\r\n\r\nYour screen is set to %dx%d. MBSE requires an 80x24 minimum screen size.", cols, rows);
|
||||
poutCR(LIGHTRED, BLACK, temp);
|
||||
Enter(1);
|
||||
cols = 80;
|
||||
@ -287,9 +287,9 @@ int main(int argc, char **argv)
|
||||
*/
|
||||
snprintf(temp, PATH_MAX, "%s/%s", CFG.bbs_usersdir, sUnixName);
|
||||
if (stat(temp, &sb)) {
|
||||
snprintf(temp, 81, "No homedirectory\r\n\r\n");
|
||||
snprintf(temp, 81, "You don't have a home directory!\r\n\r\n");
|
||||
PUTSTR(temp);
|
||||
WriteError("homedirectory %s doesn't exist", temp);
|
||||
WriteError("User's home directory %s doesn't exist", temp);
|
||||
Quick_Bye(MBERR_OK);
|
||||
}
|
||||
Fix = FALSE;
|
||||
@ -331,13 +331,13 @@ int main(int argc, char **argv)
|
||||
}
|
||||
if (Fix) {
|
||||
if (chmod(temp, 0770)) {
|
||||
WriteError("Could not set home directory mode to 0770");
|
||||
snprintf(temp, 81, "Internal error, the sysop is notified");
|
||||
WriteError("Could not set home directory mode to 0770!");
|
||||
snprintf(temp, 81, "Internal error: the sysop has been notified.");
|
||||
poutCR(LIGHTRED, BLACK, temp);
|
||||
Enter(1);
|
||||
Quick_Bye(MBERR_OK);
|
||||
} else {
|
||||
Syslog('+', "Corrected home directory mode to 0770");
|
||||
Syslog('+', "Corrected home directory mode to 0770.");
|
||||
}
|
||||
}
|
||||
|
||||
@ -359,7 +359,7 @@ int main(int argc, char **argv)
|
||||
snprintf(ttyinfo.comment, 41, "%s", p);
|
||||
snprintf(ttyinfo.tty, 7, "%s", pTTY);
|
||||
snprintf(ttyinfo.speed, 21, "10 mbit");
|
||||
snprintf(ttyinfo.flags, 31, "IBN,IFC,XX");
|
||||
snprintf(ttyinfo.flags, 31, "XX,IBN,IFC");
|
||||
ttyinfo.type = NETWORK;
|
||||
ttyinfo.available = TRUE;
|
||||
ttyinfo.honor_zmh = FALSE;
|
||||
|
@ -328,7 +328,7 @@ void DoMenu(int Type)
|
||||
case 7:
|
||||
/* Run external program */
|
||||
if (strlen(menus.DoorName) && !menus.HideDoor) {
|
||||
memset(temp, 0, sizeof(temp));
|
||||
memset(temp, 0, sizeof(*temp));
|
||||
strcpy(temp, menus.DoorName);
|
||||
ExtDoor(menus.OptionalData, menus.NoDoorsys, menus.Y2Kdoorsys, menus.Comport,
|
||||
menus.NoSuid, menus.NoPrompt, menus.SingleUser, temp);
|
||||
|
@ -81,7 +81,7 @@ int newuser(void)
|
||||
struct userrec us;
|
||||
|
||||
IsDoing("New user login");
|
||||
Syslog('+', "Newuser registration");
|
||||
Syslog('+', "New user registration");
|
||||
clear();
|
||||
DisplayFile((char *)"newuser");
|
||||
if ((iLang = Chg_Language(TRUE)) == 0)
|
||||
@ -198,7 +198,7 @@ int newuser(void)
|
||||
if (CFG.iVoicePhone) {
|
||||
while (1) {
|
||||
Enter(1);
|
||||
/* Please enter you Voice Number */
|
||||
/* Please enter your voice number */
|
||||
language(LIGHTGREEN, BLACK, 45);
|
||||
Enter(1);
|
||||
|
||||
@ -223,7 +223,7 @@ int newuser(void)
|
||||
if (CFG.iDataPhone) {
|
||||
while (TRUE) {
|
||||
Enter(1);
|
||||
/* Please enter you Data Number */
|
||||
/* Please enter your data number */
|
||||
language(LIGHTGREEN, BLACK, 48);
|
||||
Enter(1);
|
||||
|
||||
@ -233,7 +233,7 @@ int newuser(void)
|
||||
GetPhone(temp, 16);
|
||||
|
||||
/*
|
||||
* If no dataphone, copy voicephone.
|
||||
* If no data phone, copy voice phone.
|
||||
*/
|
||||
if (strcmp(temp, "") == 0) {
|
||||
strcpy(usrconfig.sDataPhone, usrconfig.sVoicePhone);
|
||||
@ -559,7 +559,7 @@ int newuser(void)
|
||||
|
||||
DisplayFile((char *)"registered");
|
||||
|
||||
Syslog('+', "Completed new-user procedure");
|
||||
Syslog('+', "Completed new user procedure");
|
||||
/* New user registration completed. */
|
||||
poutCR(LIGHTGREEN, BLACK, (char *) Language(71));
|
||||
/* You need to login again with the name: */
|
||||
|
@ -955,7 +955,7 @@ void OLR_RestrictDate()
|
||||
{
|
||||
WhosDoingWhat(OLR, NULL);
|
||||
|
||||
PUTSTR((char *)"Not Yet Implemented");
|
||||
PUTSTR((char *)"Sorry, but this feature isn't yet implemented.");
|
||||
Enter(1);
|
||||
Pause();
|
||||
}
|
||||
@ -974,7 +974,7 @@ void OLR_Upload(void)
|
||||
up_list *up = NULL, *tmpf;
|
||||
|
||||
if (strlen(CFG.bbsid) == 0) {
|
||||
PUTSTR((char *)"System configuration error, inform sysop");
|
||||
PUTSTR((char *)"System configuration error. Inform the sysop!");
|
||||
Enter(1);
|
||||
WriteError("Config OLR bbsid not configured");
|
||||
Pause();
|
||||
@ -1013,7 +1013,7 @@ void OLR_Upload(void)
|
||||
}
|
||||
|
||||
if (RetVal == FALSE) {
|
||||
WriteError("Invalid OLR packed received");
|
||||
WriteError("Invalid OLR packet received!");
|
||||
for (tmpf = up; tmpf; tmpf = tmpf->next) {
|
||||
Syslog('+', "Delete %s", tmpf->filename);
|
||||
unlink(tmpf->filename);
|
||||
@ -1074,7 +1074,7 @@ void OLR_Upload(void)
|
||||
|
||||
rc = execute_str(archiver.funarc, File, NULL, (char *)"/dev/null", (char *)"/dev/null", (char *)"/dev/null");
|
||||
if (rawport() != 0) {
|
||||
WriteError("Unable to set raw mode");
|
||||
WriteError("Unable to set raw mode!");
|
||||
}
|
||||
if (rc) {
|
||||
WriteError("$Failed %s", temp);
|
||||
@ -1090,7 +1090,7 @@ void OLR_Upload(void)
|
||||
unlink(File);
|
||||
|
||||
/*
|
||||
* Check for BlueWave files, case insensitive.
|
||||
* Check for Blue Wave files, case insensitive.
|
||||
*/
|
||||
RetVal = FALSE;
|
||||
snprintf(Dirpath, PATH_MAX, "%s/%s", CFG.bbs_usersdir, exitinfo.Name);
|
||||
@ -1111,7 +1111,7 @@ void OLR_Upload(void)
|
||||
}
|
||||
|
||||
if (RetVal) {
|
||||
Syslog('+', "OLR packet is BlueWave v3");
|
||||
Syslog('+', "OLR packet is Blue Wave v3");
|
||||
free(File);
|
||||
free(temp);
|
||||
BlueWave_Fetch();
|
||||
@ -1133,7 +1133,7 @@ void OLR_Upload(void)
|
||||
return;
|
||||
}
|
||||
|
||||
WriteError("OLR_Upload: Garbage in mailpacket, clean directory!");
|
||||
WriteError("OLR Upload: Garbage in mail packet. Clean up the directory!");
|
||||
/* Unknown type mailpacket */
|
||||
poutCR(LIGHTRED, BLACK, (char *)Language(443));
|
||||
Pause();
|
||||
@ -1145,7 +1145,7 @@ void OLR_Upload(void)
|
||||
|
||||
/***************************************************************************
|
||||
*
|
||||
* BlueWave specific functions.
|
||||
* Blue Wave specific functions.
|
||||
*/
|
||||
|
||||
|
||||
@ -1156,7 +1156,7 @@ char *Extensions[] = {
|
||||
|
||||
|
||||
/*
|
||||
* Download a BlueWave mailpacket, called from menu.
|
||||
* Download a Blue Wave mailpacket, called from menu.
|
||||
*/
|
||||
void OLR_DownBW()
|
||||
{
|
||||
@ -1172,9 +1172,9 @@ void OLR_DownBW()
|
||||
msg_high *mhl = NULL;
|
||||
|
||||
if (strlen(CFG.bbsid) == 0) {
|
||||
PUTSTR((char *)"System configuration error, inform sysop");
|
||||
PUTSTR((char *)"System configuration error. Inform the sysop!");
|
||||
Enter(1);
|
||||
WriteError("Config OLR bbsid not configured");
|
||||
WriteError("Config OLR BBS ID not configured");
|
||||
Pause();
|
||||
return;
|
||||
}
|
||||
@ -1192,7 +1192,7 @@ void OLR_DownBW()
|
||||
|
||||
Now = time(NULL);
|
||||
tp = localtime(&Now);
|
||||
Syslog('+', "Preparing BlueWave packet");
|
||||
Syslog('+', "Preparing Blue Wave packet");
|
||||
|
||||
snprintf(Pktname, 32, "%s%s", CFG.bbsid , Extensions[tp->tm_wday]);
|
||||
Syslog('m', "Packet name %s", Pktname);
|
||||
@ -1405,13 +1405,13 @@ void OLR_DownBW()
|
||||
}
|
||||
|
||||
if (rc) {
|
||||
Syslog('+', "BlueWave download failed");
|
||||
Syslog('+', "Blue Wave download failed");
|
||||
/* Download failed */
|
||||
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(447));
|
||||
} else {
|
||||
Syslog('+', "BlueWave download successfull");
|
||||
Syslog('+', "Blue Wave download successful");
|
||||
PUTCHAR('\r');
|
||||
/* Download successfull */
|
||||
/* Download successful */
|
||||
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448));
|
||||
|
||||
if (mhl != NULL)
|
||||
@ -1461,10 +1461,10 @@ void BlueWave_Fetch()
|
||||
}
|
||||
if (up != NULL) {
|
||||
fread(&Uph, sizeof(UPL_HEADER), 1, up);
|
||||
Syslog('+', "Processing BlueWave v3 \"%s\" file", Filename);
|
||||
Syslog('+', "Processing Blue Wave v3 \"%s\" file", Filename);
|
||||
Syslog('+', "Client: %s %d.%d", Uph.reader_name, Uph.reader_major, Uph.reader_minor);
|
||||
if (le_us(Uph.upl_header_len) != sizeof(UPL_HEADER)) {
|
||||
WriteError("Recordsize mismatch");
|
||||
WriteError("Record size mismatch");
|
||||
fclose(up);
|
||||
free(temp);
|
||||
/* ERROR in packet */
|
||||
@ -1638,7 +1638,7 @@ void BlueWave_Fetch()
|
||||
if (iol != NULL) {
|
||||
/* Processing Offline Configuration */
|
||||
poutCR(LIGHTBLUE, BLACK, (char *)Language(455));
|
||||
Syslog('+', "Processing BlueWave v3 configuration file \"%s\"", Filename);
|
||||
Syslog('+', "Processing Blue Wave v3 configuration file \"%s\"", Filename);
|
||||
OLC_head = FALSE;
|
||||
|
||||
while (fgets(b, 255, iol) != NULL ) {
|
||||
@ -1950,7 +1950,7 @@ void OLR_DownQWK(void)
|
||||
msg_high *tmp, *mhl = NULL;
|
||||
|
||||
if (strlen(CFG.bbsid) == 0) {
|
||||
poutCR(LIGHTRED, BLACK, (char *)"System configuration error, inform sysop");
|
||||
poutCR(LIGHTRED, BLACK, (char *)"System configuration error. Inform the sysop!");
|
||||
WriteError("Config OLR bbsid not configured");
|
||||
Pause();
|
||||
return;
|
||||
@ -2159,9 +2159,9 @@ void OLR_DownQWK(void)
|
||||
/* Download failed */
|
||||
pout(CFG.HiliteF, CFG.HiliteB, (char *)Language(447));
|
||||
} else {
|
||||
Syslog('+', "QWK download successfull");
|
||||
Syslog('+', "QWK download successful");
|
||||
PUTCHAR('\r');
|
||||
/* Download successfull */
|
||||
/* Download successful */
|
||||
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448));
|
||||
|
||||
if (mhl != NULL)
|
||||
@ -2191,7 +2191,7 @@ void QWK_Fetch()
|
||||
fidoaddr dest;
|
||||
int HasTear;
|
||||
|
||||
/* Processing BlueWave reply packet */
|
||||
/* Processing QWK reply packet */
|
||||
poutCR(LIGHTBLUE, BLACK, (char *)Language(459));
|
||||
temp = calloc(PATH_MAX, sizeof(char));
|
||||
otemp = calloc(PATH_MAX, sizeof(char));
|
||||
@ -2665,7 +2665,7 @@ void OLR_DownASCII(void)
|
||||
msg_high *tmp, *mhl = NULL;
|
||||
|
||||
if (strlen(CFG.bbsid) == 0) {
|
||||
poutCR(LIGHTRED, BLACK, (char *)"System configuration error, inform sysop");
|
||||
poutCR(LIGHTRED, BLACK, (char *)"System configuration error. Inform the sysop!");
|
||||
WriteError("Config OLR bbsid not configured");
|
||||
Pause();
|
||||
return;
|
||||
@ -2853,9 +2853,9 @@ void OLR_DownASCII(void)
|
||||
/* Download failed */
|
||||
pout(CFG.HiliteF, CFG.HiliteB, (char *)Language(447));
|
||||
} else {
|
||||
Syslog('+', "ASCII download successfull");
|
||||
Syslog('+', "ASCII download successful");
|
||||
PUTCHAR('\r');
|
||||
/* Download successfull */
|
||||
/* Download successful */
|
||||
poutCR(CFG.HiliteF, CFG.HiliteB, (char *)Language(448));
|
||||
|
||||
if (mhl != NULL)
|
||||
|
@ -776,13 +776,14 @@ void s_fidomailcfg(void)
|
||||
mbse_mvprintw(17, 1, "11. Max systems");
|
||||
mbse_mvprintw(18, 1, "12. Max groups");
|
||||
|
||||
mbse_mvprintw(12,42, "13. 4d address");
|
||||
mbse_mvprintw(13,42, "14. Split at");
|
||||
mbse_mvprintw(14,42, "15. Force at");
|
||||
mbse_mvprintw(15,42, "16. Allow +*");
|
||||
mbse_mvprintw(16,42, "17. Notify");
|
||||
mbse_mvprintw(17,42, "18. Passwd");
|
||||
mbse_mvprintw(18,42, "19. Pause");
|
||||
mbse_mvprintw(11,42, "13. 4d address");
|
||||
mbse_mvprintw(12,42, "14. Split at");
|
||||
mbse_mvprintw(13,42, "15. Force at");
|
||||
mbse_mvprintw(14,42, "16. Allow +*");
|
||||
mbse_mvprintw(15,42, "17. Notify");
|
||||
mbse_mvprintw(16,42, "18. Passwd");
|
||||
mbse_mvprintw(17,42, "19. Pause");
|
||||
mbse_mvprintw(18,42, "20. SB strip");
|
||||
|
||||
set_color(WHITE, BLACK);
|
||||
show_str( 7,16,64, CFG.badboard);
|
||||
@ -798,13 +799,14 @@ void s_fidomailcfg(void)
|
||||
show_int( 17,16, CFG.toss_systems);
|
||||
show_int( 18,16, CFG.toss_groups);
|
||||
|
||||
show_bool(12,58, CFG.addr4d);
|
||||
show_int( 13,58, CFG.new_split);
|
||||
show_int( 14,58, CFG.new_force);
|
||||
show_bool(15,58, CFG.ca_PlusAll);
|
||||
show_bool(16,58, CFG.ca_Notify);
|
||||
show_bool(17,58, CFG.ca_Passwd);
|
||||
show_bool(18,58, CFG.ca_Pause);
|
||||
show_bool(11,58, CFG.addr4d);
|
||||
show_int( 12,58, CFG.new_split);
|
||||
show_int( 13,58, CFG.new_force);
|
||||
show_bool(14,58, CFG.ca_PlusAll);
|
||||
show_bool(15,58, CFG.ca_Notify);
|
||||
show_bool(16,58, CFG.ca_Passwd);
|
||||
show_bool(17,58, CFG.ca_Pause);
|
||||
show_bool(18,58, CFG.ca_SBstrip);
|
||||
}
|
||||
|
||||
|
||||
@ -815,7 +817,7 @@ void e_fidomailcfg(void)
|
||||
|
||||
s_fidomailcfg();
|
||||
for (;;) {
|
||||
switch(select_menu(19)) {
|
||||
switch(select_menu(20)) {
|
||||
case 0: return;
|
||||
case 1: E_JAM( 7,16,64, CFG.badboard, "The path to the ^bad echomail^ board.")
|
||||
case 2: E_JAM( 8,16,64, CFG.dupboard, "The path to the ^dupe echomail^ board.")
|
||||
@ -851,13 +853,14 @@ void e_fidomailcfg(void)
|
||||
CloseNoderec(TRUE);
|
||||
}
|
||||
break;
|
||||
case 13:E_BOOL(12,58, CFG.addr4d, "Use ^4d^ addressing instead of ^5d^ addressing.")
|
||||
case 14:E_IRC( 13,58, CFG.new_split, 12, 60, "Gently ^split^ newfiles reports after n kilobytes (12..60).")
|
||||
case 15:E_IRC( 14,58, CFG.new_force, 16, 64, "Force ^split^ of newfiles reports after n kilobytes (16..64).")
|
||||
case 16:E_BOOL(15,58, CFG.ca_PlusAll, "Allow ^+%*^ (Plus all) in AreaMgr requests.")
|
||||
case 17:E_BOOL(16,58, CFG.ca_Notify, "Allow turning ^Notify^ messages on or off.")
|
||||
case 18:E_BOOL(17,58, CFG.ca_Passwd, "Allow changing the AreaMgr/FileMgr ^password^.")
|
||||
case 19:E_BOOL(18,58, CFG.ca_Pause, "Allow the ^Pause^ AreaMgr command.")
|
||||
case 13:E_BOOL(11,58, CFG.addr4d, "Use ^4d^ addressing instead of ^5d^ addressing.")
|
||||
case 14:E_IRC( 12,58, CFG.new_split, 12, 60, "Gently ^split^ newfiles reports after n kilobytes (12..60).")
|
||||
case 15:E_IRC( 13,58, CFG.new_force, 16, 64, "Force ^split^ of newfiles reports after n kilobytes (16..64).")
|
||||
case 16:E_BOOL(14,58, CFG.ca_PlusAll, "Allow ^+%*^ (Plus all) in AreaMgr requests.")
|
||||
case 17:E_BOOL(15,58, CFG.ca_Notify, "Allow turning ^Notify^ messages on or off.")
|
||||
case 18:E_BOOL(16,58, CFG.ca_Passwd, "Allow changing the AreaMgr/FileMgr ^password^.")
|
||||
case 19:E_BOOL(17,58, CFG.ca_Pause, "Allow the ^Pause^ AreaMgr command.")
|
||||
case 20:E_BOOL(18,58, CFG.ca_SBstrip, "Strip SEEN-BYs across zones.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -892,28 +892,28 @@ void MsgGlobal(void)
|
||||
Found = TRUE;
|
||||
break;
|
||||
}
|
||||
if (Found)
|
||||
break;
|
||||
fseek(tfil, 0, SEEK_SET);
|
||||
while (fread(&Sc, sizeof(sysconnect), 1, tfil) == 1) {
|
||||
if (Sc.aka.zone == 0) {
|
||||
fseek(tfil, - sizeof(sysconnect), SEEK_CUR);
|
||||
memset(&Sc, 0, sizeof(sysconnect));
|
||||
Sc.aka.zone = a2.zone;
|
||||
Sc.aka.net = a2.net;
|
||||
Sc.aka.node = a2.node;
|
||||
Sc.aka.point = a2.point;
|
||||
Sc.sendto = TRUE;
|
||||
Sc.receivefrom = TRUE;
|
||||
snprintf(Sc.aka.domain, 13, "%s", a2.domain);
|
||||
fwrite(&Sc, sizeof(sysconnect), 1, tfil);
|
||||
if (SaveMsgRec(marea, FALSE) == 0) {
|
||||
Done++;
|
||||
Syslog('+', "Added %s to area %s", aka2str(a2), msgs.Tag);
|
||||
}
|
||||
break;
|
||||
if (Found)
|
||||
break;
|
||||
fseek(tfil, 0, SEEK_SET);
|
||||
while (fread(&Sc, sizeof(sysconnect), 1, tfil) == 1) {
|
||||
if (Sc.aka.zone == 0) {
|
||||
fseek(tfil, - sizeof(sysconnect), SEEK_CUR);
|
||||
memset(&Sc, 0, sizeof(sysconnect));
|
||||
Sc.aka.zone = a2.zone;
|
||||
Sc.aka.net = a2.net;
|
||||
Sc.aka.node = a2.node;
|
||||
Sc.aka.point = a2.point;
|
||||
Sc.sendto = TRUE;
|
||||
Sc.receivefrom = TRUE;
|
||||
snprintf(Sc.aka.domain, 13, "%s", a2.domain);
|
||||
fwrite(&Sc, sizeof(sysconnect), 1, tfil);
|
||||
if (SaveMsgRec(marea, FALSE) == 0) {
|
||||
Done++;
|
||||
Syslog('+', "Added %s to area %s", aka2str(a2), msgs.Tag);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 3: fseek(tfil, 0, SEEK_SET);
|
||||
while (fread(&Sc, sizeof(sysconnect), 1, tfil) == 1) {
|
||||
|
@ -474,7 +474,7 @@ void ImportOneline(void)
|
||||
mbse_mvprintw(5, 6, "8.7.3 IMPORT ONELINERS");
|
||||
set_color(CYAN, BLACK);
|
||||
temp = calloc(PATH_MAX, sizeof(char));
|
||||
memset(temp, 0, sizeof(temp));
|
||||
memset(temp, 0, sizeof(*temp));
|
||||
strcpy(temp, edit_str(21, 6,64, temp, (char *)"The ^full path and filename^ of the file to import"));
|
||||
if (strlen(temp) == 0) {
|
||||
free(temp);
|
||||
|
@ -117,7 +117,7 @@ static void die(int onsig)
|
||||
for (i = 1; i < 40; i++)
|
||||
if (CFG.akavalid[i])
|
||||
fprintf(fp, "AKA %s\n", aka2str(CFG.aka[i]));
|
||||
fprintf(fp, "\n");
|
||||
fprintf(fp, "\n");
|
||||
|
||||
gold_akamatch(fp);
|
||||
fprintf(fp, "; JAM MessageBase Setup\n;\n");
|
||||
|
@ -313,6 +313,7 @@ void load_maincfg(void)
|
||||
CFG.ca_Notify = TRUE;
|
||||
CFG.ca_Passwd = TRUE;
|
||||
CFG.ca_Pause = TRUE;
|
||||
CFG.ca_SBstrip = TRUE;
|
||||
CFG.ca_Check = TRUE;
|
||||
|
||||
for (i = 0; i < 32; i++) {
|
||||
|
@ -837,8 +837,8 @@ int each(faddr *addr, char flavor, int isflo, char *fname)
|
||||
if (*p == '\\')
|
||||
*p='/';
|
||||
for (p = buf; *p && isspace(*p); p++);
|
||||
if (*p == '~')
|
||||
continue;
|
||||
if (*p == '~')
|
||||
continue;
|
||||
if ((*p == '#') || (*p == '-') || (*p == '^') || (*p == '@'))
|
||||
p++;
|
||||
if (stat(p, &st) != 0) {
|
||||
|
@ -84,7 +84,7 @@ void fill_portlist(pp_list **fdp, pp_list *new)
|
||||
pp_list *tmp, *ta;
|
||||
|
||||
tmp = (pp_list *)malloc(sizeof(pp_list));
|
||||
memset(tmp, 0, sizeof(tmp));
|
||||
memset(tmp, 0, sizeof(*tmp));
|
||||
tmp->next = NULL;
|
||||
strncpy(tmp->tty, new->tty, 6);
|
||||
tmp->mflags = new->mflags;
|
||||
|
@ -309,7 +309,7 @@ void disk_getfs_r(char *buf)
|
||||
|
||||
if (ans != NULL)
|
||||
free(ans);
|
||||
ans = NULL;
|
||||
ans = NULL;
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -14,6 +14,7 @@ all:
|
||||
|
||||
clean:
|
||||
rm -f core filelist Makefile.bak
|
||||
rm -f editor
|
||||
|
||||
install:
|
||||
@if [ "`id -un`" != "root" ] ; then \
|
||||
|
@ -35,11 +35,11 @@ case "$1" in
|
||||
rm -f $MBSE_ROOT/var/sema/*
|
||||
rm -f $MBSE_ROOT/var/*.LCK
|
||||
rm -f $MBSE_ROOT/tmp/mb*
|
||||
su mbse -c '$MBSE_ROOT/bin/mbtask' >/dev/null
|
||||
su -m mbse -c '$MBSE_ROOT/bin/mbtask' >/dev/null
|
||||
echo -n "mbtask "
|
||||
sleep 2
|
||||
if [ -f $MBSE_ROOT/etc/config.data ]; then
|
||||
su mbse -c '$MBSE_ROOT/bin/mbstat open -quiet'
|
||||
su -m mbse -c '$MBSE_ROOT/bin/mbstat open -quiet'
|
||||
echo -n "opened "
|
||||
fi
|
||||
echo "done."
|
||||
@ -48,7 +48,7 @@ case "$1" in
|
||||
echo -n "Stopping $DESC: "
|
||||
if [ -f $MBSE_ROOT/var/run/mbtask ]; then
|
||||
echo -n "logoff users "
|
||||
su mbse -c '$MBSE_ROOT/bin/mbstat close wait -quiet' >/dev/null
|
||||
su -m mbse -c '$MBSE_ROOT/bin/mbstat close wait -quiet' >/dev/null
|
||||
echo -n " stopping mbtask"
|
||||
pid=$( cat $MBSE_ROOT/var/run/mbtask )
|
||||
kill $pid
|
||||
|
@ -30,6 +30,7 @@ all: ${TARGET}
|
||||
|
||||
clean:
|
||||
rm -f ${TARGET} *.o *.h~ *.c~ core filelist Makefile.bak
|
||||
rm -f login.defs
|
||||
|
||||
mbuseradd: ${MBUSERADD_OBJS}
|
||||
${CC} -o mbuseradd ${MBUSERADD_OBJS} ${LDFLAGS} ${LIBS}
|
||||
|
@ -85,7 +85,7 @@ void dolastlog(struct lastlog *ll, const struct passwd *pw, const char *line, co
|
||||
if (ll)
|
||||
*ll = newlog;
|
||||
|
||||
time(&newlog.ll_time);
|
||||
time((time_t *) &newlog.ll_time);
|
||||
strncpy(newlog.ll_line, line, sizeof newlog.ll_line);
|
||||
#ifdef HAVE_LL_HOST
|
||||
strncpy(newlog.ll_host, host, sizeof newlog.ll_host);
|
||||
|
@ -120,7 +120,7 @@ void checkutmp(int picky)
|
||||
/* XXX - assumes /dev/tty?? */
|
||||
strncpy(utent.ut_id, utent.ut_line + 3, sizeof utent.ut_id);
|
||||
strcpy(utent.ut_user, "LOGIN");
|
||||
time(&utent.ut_time);
|
||||
time((time_t *) &utent.ut_time);
|
||||
}
|
||||
}
|
||||
|
||||
@ -294,7 +294,7 @@ void setutmp(const char *name, const char *line, const char *host)
|
||||
{
|
||||
utent.ut_type = USER_PROCESS;
|
||||
strncpy(utent.ut_user, name, sizeof utent.ut_user);
|
||||
time(&utent.ut_time);
|
||||
time((time_t *) &utent.ut_time);
|
||||
/* other fields already filled in by checkutmp above */
|
||||
setutent();
|
||||
pututline(&utent);
|
||||
|
Reference in New Issue
Block a user