Giter Site home page Giter Site logo

wwivbbs / wwiv Goto Github PK

View Code? Open in Web Editor NEW
177.0 177.0 71.0 93.11 MB

WWIV BBS Software v5

Home Page: http://www.wwivbbs.org

License: Other

CMake 0.89% Shell 0.51% Batchfile 0.21% Prolog 0.01% Python 0.07% C++ 96.65% C 1.47% NSIS 0.10% PowerShell 0.04% FreeBasic 0.04% Makefile 0.02%
bbs bulletin-board bulletinboard cpp11 cpp17 fidonet ftn retro wwiv wwivnet

wwiv's People

Contributors

apamment avatar askpatrickw avatar atanisoft avatar bloodstonebbs avatar bn-abaker avatar dotelpenguin avatar ericpareja avatar granitepenguin avatar markhofmann11 avatar mmunson avatar morgulwwiv avatar realdeuce avatar rezzonico avatar robertstinnett avatar tri0n avatar wwiv avatar wwivsoftwareservices avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wwiv's Issues

Disable force feedback to sysop

Disable force feedback to sysop dont work if you set it on "N" into the wwiv ini.

FORCE_FBACK = N ; force newusers to send fback

Original comment by: xray1870

QWK door does not load via //QWK command

Build: 594
OS Windows 7/32
Using //QWK command via telnet choice 1, and does not display the qwk door. However when i run the qwk door as a door it does work (via the chains menu)

Original comment by: mmunson79

ZIp Archive unknow file_id.diz import dont work

When i try to view a ZIP archive online i get the message archive unknow, file_id.diz import dont work. Even pkunzip and pkzip is into the path and setup into init.

Original comment by: xray1870

backspace (ctrl-?) does not work in init

Build: r480

Operating System: BBS:linux (gentoo) Interface: MacOS 10.9 Terminal.app ssh'd to server

What Happened: when editing in init; hitting the backspace key, which is sending ctrl-?, is not getting read as a delete. It is typing a literal ^? instead.

What was expected: The backspace key deletes the character to the left of the cursor.

Can you provide a screenshot?

System PW : SYS^?^?^?^?░░░░░░░░░

If I change terminal setting to send ctrl-H (^H) instead, or manually type ^H, it works.

Original comment by: granitepenguin

nodemgr fails to build - missing WStringUtils.h

Trying to build nodemgr in r417, it fails to compile because WStringUtils.h is missing.

Compiling main.cpp
main.cpp:25:29: fatal error: ../WStringUtils.h: No such file or directory
compilation terminated.
make: *** [../obj/main.o] Error 1

Original comment by: granitepenguin

Language Configuration

In "Language Configuration" of the program "init" I have the following:
"
Language name : English░░░░░░░░░░░░ OVR
Data Directory : /home/wwiv/menus/en/
Menu Directory : /home/wwiv/menus/en/menus/
"

The problem is, whenver I try to go to the "transfer" section of the BBS, it says that it cannot find the menu. Do I have the right menu directory set?

Original comment by: ignatius33

nodemgr isn't spawning properly via xinetd

When I use xinetd to spawn nodemgr, it isn't spawning the bbs as expected.

What I expect to see is:
wwiv@wdfs ~ $ ./nodemgr
WWIV 5.0 UNIX Node Manager Bootstrap.
Please wait while node data is parsed.
Found 1/4 Nodes in use.
Invoking WWIV with cmd line:
./wwiv /N2 /I2

WWIV v5.00/Linux (Development)
Copyright (c) 1998-2014 WWIV Software Services.
All Rights Reserved.
This is GFILES\WELCOME.MSG.
Edit to suit your needs.

Enter number or name or 'NEW'
NN:


What I actually get is:
damocles:~ drock$ telnet wdfs
Trying 192.168.1.10...
Connected to wdfs.graniteweb.com.
Escape character is '^]'.

WWIV v5.00/Linux (Development)
Copyright (c) 1998-2014 WWIV Software Services.
All Rights Reserved.
^[[47;1RThis is GFILES\WELCOME.MSG.
Edit to suit your needs.

Enter number or name or 'NEW'
NN: 1
1
PW:
PH: ###-###-

ILLEGAL LOGON

Enter number or name or 'NEW'
NN:

Unknown user.

Enter number or name or 'NEW'
NN:

Unknown user.
Too many logon attempts!!

Would you like to leave Feedback to GranitePenguin? No

WWIV Bulletin Board System v5.00 (Development) exiting at error level 0

As you can see, The nodemgr bootstrap info doesn't seem to be getting processed properly when started via xinetd:

WWIV 5.0 UNIX Node Manager Bootstrap.
Please wait while node data is parsed.
Found 1/4 Nodes in use.
Invoking WWIV with cmd line:
./wwiv /N2 /I2

This may be an issue with pathing (xinetd has no file path, so I think things are out of whack for nodemgr). One possible solution would be to add a commandline argument to nodemgr so that you can define the directory to spawn the bbs binary from.

A quick primer on xinetd. You can define services to run that are managed by xinetd, so the binary isn't running all the time. A sample config file for wwiv is:
service wwiv
{
type = UNLISTED
port = 23
socket_type = stream
wait = no
user = wwiv
server = /bbs/wwiv/nodemgr
server_args =
log_on_failure += USERID
disable = no
}
so when you hit the defined port, xinetd spawns the listed server.

I tried using a shell script instead and changing the directory with that, but the results were the same. It just feels like processes are forking out of order when run this way. It may just be something weird with xinetd, I don't know. I think Xenos is using the older inetd config to run his.

Another option would be to have nodemgr be its own proper service that listens on the port. That would potentially be a place to recreate the WFC screen, but it would also probably require you to use screen to leave the process running... blech.

Original comment by: granitepenguin

nodemgr doesn't pass SIGHUP to bbs/wwiv child process

nodemgr doesn't handle SIGHUP properly, it gets orphaned along with the bbs/wwiv child process.

suggested patch attached adds handler for sighup.
patch has a #define BBSHOME line that can be removed.

Original comment by: ericpareja

Linux time left

Under Linux, time left displays as 0 minutes left, and also writes 0 minutes for the time left in the various drop files.

Original comment by: wintermute740

Requesting Documentation

Where's the docs?? they should be lncluded with every version

Original comment by: mroblivious1bmf

Voting booth issues

Voting booth does not let the user finish their question, after you try to add your choices it does not end you end up have to ctrl-c to exit out.

There is also a minor formatting error too.

Original comment by: mmunson79

Express Scan causes system to hang.

Executing Express Scan from Main Menu (Z), with Pause enabled for user, More [Y/n/c] prompt appears on first screen, then subsequent screen is blank. More [Y/n/c] prompt still visible, but appears to hang. No longer responds to any keypresses.

Executing Express Scan without Pause enabled for user will cause a blank screen to be displayed, with no more response from system.

Backtrace from gdb below:
Program received signal SIGTERM, Terminated.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7fdd424 in __kernel_vsyscall ()
#1 0xb7db74e0 in __nanosleep_nocancel ()

at ../sysdeps/unix/syscall-template.S:81

#2 0xb7de674d in usleep (useconds=100)

at ../sysdeps/unix/sysv/linux/usleep.c:32

#3 0x0816afa4 in WWIV_Delay (usec=100)

at /home/xenos/wwv/wwiv-svn/bbs/platform/unix/utility2.cpp:67

#4 0x0810e757 in pausescr () at /home/xenos/wwv/wwiv-svn/bbs/pause.cpp:115
#5 0x0808aa18 in bputch (c=10 '\n', bUseInternalBuffer=true)

at /home/xenos/wwv/wwiv-svn/bbs/bputch.cpp:180

#6 0x0806cae7 in WOutStream::Write (this=0x81b57bc, pszText=0x816f183 "\r\n")

at /home/xenos/wwv/wwiv-svn/bbs/WOutStream.cpp:195

#7 0x0806c599 in WOutStream::NewLine (this=0x81b57bc, nNumLines=2)

at /home/xenos/wwv/wwiv-svn/bbs/WOutStream.cpp:89

#8 0x080f5d40 in HandleScanReadPrompt (nMessageNumber=@0xbfffed00: 19,

nScanOptionType=@0xbfffed04: 0, nextsub=0xbfffed24, 
bTitleScan=@0xbfffec8c: false, done=@0xbfffec95: false, 
quit=@0xbfffec96: false, val=@0xbfffec98: 0)
at /home/xenos/wwv/wwiv-svn/bbs/msgscan.cpp:292

#9 0x080f5043 in scan (nMessageNumber=19, nScanOptionType=0,

nextsub=0xbfffed24, bTitleScan=false)
at /home/xenos/wwv/wwiv-svn/bbs/msgscan.cpp:80

#10 0x080f2b4d in qscan (nBeginSubNumber=1, pnNextSubNumber=0xbfffed78)

---Type to continue, or q to quit---
at /home/xenos/wwv/wwiv-svn/bbs/msgbase1.cpp:357
#11 0x080f2e1a in nscan (nStartingSubNum=0)

at /home/xenos/wwv/wwiv-svn/bbs/msgbase1.cpp:394

#12 0x080e3946 in ExpressScan ()

at /home/xenos/wwv/wwiv-svn/bbs/menusupp.cpp:377

#13 0x080e066f in InterpretCommand (pMenuData=0x81c6c38,

pszScript=0xbfffefcb "ExpressScan")
at /home/xenos/wwv/wwiv-svn/bbs/menuinterpretcommand.cpp:338

#14 0x080d857a in MenuExecuteCommand (pMenuData=0x81c6c38, command=...)

at /home/xenos/wwv/wwiv-svn/bbs/menu.cpp:419

#15 0x080d71bc in Menus (pMenuData=0x81c6c38, menuDirectory=..., menuName=...)

at /home/xenos/wwv/wwiv-svn/bbs/menu.cpp:212

#16 0x080d6fe0 in StartMenus () at /home/xenos/wwv/wwiv-svn/bbs/menu.cpp:186
#17 0x080d6d76 in mainmenu () at /home/xenos/wwv/wwiv-svn/bbs/menu.cpp:137
#18 0x0807ff3c in WApplication::Run (this=0x81b5638, argc=1, argv=0xbffff474)

at /home/xenos/wwv/wwiv-svn/bbs/bbs.cpp:1096

#19 0x0807eb6c in WApplication::BBSMainLoop (this=0x81b5638, argc=1,

argv=0xbffff474) at /home/xenos/wwv/wwiv-svn/bbs/bbs.cpp:753

#20 0x080813b7 in main (argc=1, argv=0xbffff474)

at /home/xenos/wwv/wwiv-svn/bbs/bbs.cpp:1358

(gdb)

Original comment by: ericpareja

chainedit insert is not obvious

//CE does not have an obvious way to add a new chain when you first start. The first time you run it, you get (D)elete, (I)nsert, (M)odify, (Q)uit, and there's nothing listed. If you try to insert, it asks "Insert before which chain?" but you can't tell what you should enter. Entering 0 (zero) works, but is non-obvious (most people would try "1", which doesn't work. By contrast, //BE offers "Insert before which sub ('$' for end)"

It would be nice if //CE also had a ('$' for end) option.

Original comment by: granitepenguin

Modem?

err, I don’t even see that file in my source directory.
I can throw a modem in my computer this week.
do I just make a node with a modem setup?
I don’t this modem calls use the telnet server thou.

Corey

Original comment by: frcorey

WWIV on linux segfaults at startup

using r376 to build. make completes, but when I try to run the bbs binary, it segfaults.

System: gentoo linux x86 profile 13.0
PIII 500MHz

Here's the backtrace from gdb:

Starting program: /bbs/wwiv/bbs
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
bbs: /home/drock/wwiv/wwiv-svn/bbs/memory.cpp:29: void* BbsAllocA(size_t): Assertion `lNumBytes > 0' failed.

Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb7d12271 in raise () from /lib/libc.so.6
#2  0xb7d13b02 in abort () from /lib/libc.so.6
#3  0xb7d0a1ae in ?? () from /lib/libc.so.6
#4  0xb7d0a277 in __assert_fail () from /lib/libc.so.6
#5  0x080d3318 in BbsAllocA (lNumBytes=0) at /home/drock/wwiv/wwiv-svn/bbs/memory.cpp:29
#6  0x081533b0 in WApplication::read_names (this=0x81a9638) at /home/drock/wwiv/wwiv-svn/bbs/xinit.cpp:859
#7  0x08155096 in WApplication::InitializeBBS (this=0x81a9638) at /home/drock/wwiv/wwiv-svn/bbs/xinit.cpp:1167
#8  0x08082ae7 in WApplication::Run (this=0x81a9638, argc=1, argv=0xbffff0d4) at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:974
#9  0x080820c4 in WApplication::BBSMainLoop (this=0x81a9638, argc=1, argv=0xbffff0d4)
    at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:753
#10 0x080846ed in main (argc=1, argv=0xbffff0d4) at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:1358
(gdb) 
```~

Original comment by: granitepenguin

auto-reply creates broken message

Build: r470
Operating System: Linux
What Happened: If I auto-reply to a mail message, when I log off, the packet analyzing fails in the dosemu-called net37. No S1.NET gets created as a result and the reply message is lost.

What was expected: Outgoing message should be properly created.

Here's the output from the script trying to run. I'll make the dosemu call more verbose so I can tell exactly what is being called and attach it.

net37: Analyzing WWIVnet pending files...

Analyzing P0-0.NET
Invalid header:
From: #13620 @14904
To: #12346 @13105
Type: 12832/12592
List: 3380
Date: 977621514
Len: 1869504800
Mth: 26740
Attempting recovery @24... Success (skipped last 114 bytes)

Original comment by: granitepenguin

auto_quote uses current time instead of time of post being replied to

The bug isn't in auto_quote() itself but in utility.cpp W_DateString().

The fix is to simply remove line 4 of the W_DateString() function:

time(&tDateTime);

which sets the date/time value in tDateTime to the current time!

Unfortunately, only auto_quote() and extract_mod() are the only functions that call W_DateString() so this is not so apparent.

Original comment by: ericpareja

Fix blind uploads

Fix blind uploads – they dont’ work

Original comment by: wwiv

OS Detection

In 337, the OS detection is grudged and or missing.

Original comment by: mmunson79

New User Lockup

Ok i have a bug where when a new user logs in
& does his newuser feed back after he saves his
message

the bbs will not responed to the user
it works fine local but it stops takeing users input

& they have to hangup & call back
its rather annoying & im loseing callers cause of it

thanks
Eli Sanford
[email protected]

Original comment by: *anonymous

init creates weird directories

Build: r465
Operating System: linux
What Happened: When I ran init in a new directory, it initialized the directory structure, but the structure is incorrect. The dloads has bad naming; it puts directories named with backslashes at the root level

drwxr-x--- 4 wwiv wwiv 4096 Jun 1 23:37 dloads
drwxr-x--- 2 wwiv wwiv 4096 Jun 1 23:37 **dloads\misc** <-shouldn't exist
drwxr-x--- 2 wwiv wwiv 4096 Jun 1 23:37 **dloads\sysop** <-shouldn't exist

What was expected:

There should be only dloads at the base level, with misc and sysop as subdirectories (which it actually _does_ do correctly).

wwiv@wdfs /bbs/WWIV4 $ ls -lR dloads
dloads:
total 8
drwxr-x--- 2 wwiv wwiv 4096 Jun 1 23:37 misc
drwxr-x--- 2 wwiv wwiv 4096 Jun 1 23:37 sysop

It just adds the extra bad items at the root level in addition to the correct entries.

Original comment by: granitepenguin

Defaults external editor setting does not recognize enter for leave as is

Build: r573
Operating System: Linux
What Happened: In user default settings while selecting editor, Hitting Enter does not "leave as is." There is no response.

What was expected: Hitting Enter should do what the prompt says it does.

Can you provide a screenshot?

Defaults: (1-9,A-C,I,K,L,M,S,T,U,W,?,Q) : 9
0. Normal non-full screen editor
1. WWIVedit
2. Vim

Which editor (1-2, <C/R>=leave as is) ?

Original comment by: granitepenguin

init segfaults when doing initial config

Build: r465
Operating System: linux
What Happened: segfault during new system initialization
What was expected: clean init without a segfault

here's the output and traceback:

gdb init
GNU gdb (Gentoo 7.6.2 p1) 7.6.2
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
http://bugs.gentoo.org/...
Reading symbols from /bbs/WWIV4/init...done.
(gdb) run
Starting program: /bbs/WWIV4/init
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?

WWIV v5.00 (Development) Initialization/Configuration Program.
Copyright (c) 1998-2014, WWIV Software Services

config.dat NOT FOUND.

Perform initial installation? Yes

Now performing installation. Please wait...

Creating Directories.............

Creating Data Files...............................

Program received signal SIGSEGV, Segmentation fault.
0xb7d2caae in vfprintf () from /lib/libc.so.6
(gdb) bt
#0  0xb7d2caae in vfprintf () from /lib/libc.so.6
#1  0xb7d5004b in vsprintf () from /lib/libc.so.6
#2  0xb7d33c5f in sprintf () from /lib/libc.so.6
#3  0x08058356 in create_text (pszFileName=0x8066b69 "welcome.msg") at /home/drock/wwiv/wwiv-svn/init/init1.cpp:1118
#4  0x080593d6 in init_files () at /home/drock/wwiv/wwiv-svn/init/init1.cpp:1470
#5  0x08059b9c in new_init () at /home/drock/wwiv/wwiv-svn/init/init1.cpp:1648
#6  0x0805464e in WInitApp::main (this=0x8072008, argc=1, argv=0xbffff7d4) at /home/drock/wwiv/wwiv-svn/init/init.cpp:773
#7  0x08054176 in main (argc=1, argv=0xbffff7d4) at /home/drock/wwiv/wwiv-svn/init/init.cpp:652
```~

Original comment by: granitepenguin

read_arcs() in xinit.cpp does NOT read in archiver data

Linux r567

Somewhere around line 633:

arcs = static_cast<arcrec *>(BbsAllocA(lFileSize));

Memory is allocated for the arcs, but I don't see any read statement! Not sure how to do that yet.

Original comment by: ericpareja

initial run of init has display issues

Build: r514
Operating System: Linux
What Happened: When running init for the first time, it asks to perform initial installation. When you hit "Y", there is a number artifact ([Y- 89]) in the prompt and at the end of the init, the prompt for the sysop password appears to not have proper CR/LF

What was expected: Prompt for "Perform initial installation" should be [Y-N] and the lines after Modem info for 'LOCAL' should display properly.

Can you provide a screenshot?

WIV v5.00 (Development) Initialization/Configuration Program.
Copyright (c) 1998-2014, WWIV Software Services

config.dat NOT FOUND.



Perform initial installation? [Y - 89]Yes


Now performing installation.  Please wait...

Creating Directories.............

Creating Data Files...............................

Copying String and Miscellaneous files........

Decompressing archives.  Please wait.


Modem info for 'LOCAL' does not exist.

Unknown flag value 'FC=X' in line 9Modem info 'LOCAL' compiled.Your system passS
```~

Original comment by: granitepenguin

Zipped ASCII Text

in the zipped ascii text feature at //QWK, I get an Unhandled exception at 0x746f4e20 in WWIV50.EXE: 0xC0000005: Access violation reading location 0x746f4e20.
with the bbs saying, x_only set! locking up the bbs.

Original comment by: mmunson79

WINS BETA 10

This has been an on going issue.

Even if there are NO packets already prepared for
delivery, EXP writes the note, “packets already in
outbound area for deliver” or some such.

Arthur

Original comment by: seacrest

Pause stays on for Log Off screen

The pause stays on for the Log Off screen during the log
off process, and causes the node to stay online even
though the telenet person has disconnected.

Original comment by: seacrest

Automessage displays only first character of each line

When writing an automessage from within the BBS, only
the first character of each line is being saved. For
example, if the auto message is:
Line 1:Alpha
Line 2:Bravo
Line 3:Charlie
Line 4:Delta
Line 5:Echo
It will be saved to auto.msg as ABCDE

Original comment by: mr_steve

Telnet server position

A option into the telnet server that you can set the screen position for showing on your windows desktop.

So the place where it will set the telnet screen.

Original comment by: xray1870

init backspace when entering sysop password not working

Build: r497
Operating System: Linux (gentoo)

What Happened: The main startup screen for init still isn't handling ^? as a backspace

What was expected: Hitting backspace key (Labeled "delete" on a Mac) deletes characters to the left of the cursor.

Can you provide a screenshot? Sort of... It's this screen where I'm having an issue. ^H does work, but ^? does not. I changed local_echo to true for illustration purposes

WWIV v5.00 (Development) Initialization/Configuration Program.
Copyright (c) 1998-2014, WWIV Software Services


Unknown flag value 'FC=X' in line 9

Modem info 'LOCAL' compiled.


SY: FOOBAR^?^?^?^?

Original comment by: granitepenguin

//ver shows %s for Sysop Name

when I do a //ver I see the following :

WWIV Bulletin Board System v5.00 (Beta 3)
Copyright © 1998-2004, WWIV Software Services.
All Rights Reserved.

Compile Time : Sep 8 2004, 21:38:07
SysOp Name: %sLight Jumper

Original comment by: *anonymous

Internal editor dies when listing text

This is on r427

I ran into a case where if I try to use /LI to relist what I've typed so far, the internal editor dies. The body of the text I'm feeding is:

dsfa sdf asdf
asdfasdfa sdf
asdf
 as
df
 as
df asdf


 asdf asd
f
asdf asdf asdf asdf
```~

The backtrace is:

```~
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb7d12271 in raise () from /lib/libc.so.6
#2  0xb7d13b02 in abort () from /lib/libc.so.6
#3  0xb7d0a1ae in ?? () from /lib/libc.so.6
#4  0xb7d0a277 in __assert_fail () from /lib/libc.so.6
#5  0x0807720c in pla (text="", abort=0xbfffe10f)
    at /home/drock/wwiv/wwiv-svn/bbs/bbsutl.cpp:369
#6  0x08149ebf in InternalMessageEditor (lin=0x81bc240 "dsfa sdf asdf",
    maxli=80, curli=@0xbfffe4c4: 12, setanon=@0xbfffe4c8: 0,
    pszTitle=0xbfffe5db "foobar")
    at /home/drock/wwiv/wwiv-svn/bbs/inmsg.cpp:356
#7  0x08148d84 in inmsg (pMessageRecord=0xbfffefe3,
    pszTitle=0xbfffe5db "foobar", anony=0xbfffefdc, needtitle=true,
    aux=0x8169ee3 "email", fsed=0,
    pszDestination=0xbfffe58a "Granitepenguin #1", flags=0, force_title=false)
    at /home/drock/wwiv/wwiv-svn/bbs/inmsg.cpp:100
#8  0x080b6415 in email (nUserNumber=1, nSystemNumber=0, forceit=false,
    anony=0, force_title=false, bAllowFSED=true)
    at /home/drock/wwiv/wwiv-svn/bbs/msgbase.cpp:818
#9  0x08075767 in send_email ()
    at /home/drock/wwiv/wwiv-svn/bbs/bbsovl1.cpp:140
#10 0x080ac680 in SendEMail ()
    at /home/drock/wwiv/wwiv-svn/bbs/menusupp.cpp:158
#11 0x080a9f7e in InterpretCommand (pMenuData=0x81bb898,
    pszScript=0xbffff2cf "SendEmail")
    at /home/drock/wwiv/wwiv-svn/bbs/menuinterpretcommand.cpp:244
#12 0x080a24f2 in MenuExecuteCommand (pMenuData=0x81bb898, command="E")
    at /home/drock/wwiv/wwiv-svn/bbs/menu.cpp:420
#13 0x080a1353 in Menus (pMenuData=0x81bb898, menuDirectory="wwiv",
    menuName="main") at /home/drock/wwiv/wwiv-svn/bbs/menu.cpp:213
#14 0x080a1167 in StartMenus () at /home/drock/wwiv/wwiv-svn/bbs/menu.cpp:187
#15 0x080a0ef6 in mainmenu () at /home/drock/wwiv/wwiv-svn/bbs/menu.cpp:138
#16 0x08072ffb in WApplication::Run (this=0x81a9638, argc=3, argv=0xbffff7d4)
    at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:1083
#17 0x08071f34 in WApplication::BBSMainLoop (this=0x81a9638, argc=3,
    argv=0xbffff7d4) at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:748
#18 0x080743f5 in bbsmain (argc=3, argv=0xbffff7d4)
    at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:1344
#19 0x08070357 in main (argc=3, argv=0xbffff7d4)
    at /home/drock/wwiv/wwiv-svn/bbs/bbs_main.cpp:22
```~

It doesn't seem to always do this (ie, not every message dies).  However, the text listed above seems to consistently die (a copy/paste into the session works every time for me in iTerm2).  There are no special colors or anything, just straight text.


Original comment by: granitepenguin

quote temp file contains ctrl-z as eof marker

nx ports don't like ctrl-z as EOF marker and will include it in text. this messes with appending of *.tag footers. see attached diff/patch which switches this off for unix builds.

Original comment by: ericpareja

segfault on CreateFullPathToPrint method

There's something about the init of std::vector dirs; that is causing the allocation to freak out. The original statement of:

std::vector dirs{ GetSession()->pszLanguageDir, syscfg.gfilesdir };

causes a segfault, but even when I tried to separate it and do just a define (ie, don't init with any values), it still freaks out:

(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /bbs/wwiv/r417a 
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?

WWIV v5.00/Linux  (Development)
Copyright (c) 1998-2014 WWIV Software Services.
All Rights Reserved.

Breakpoint 1, CreateFullPathToPrint (basename="welcome.msg")
    at /home/drock/wwiv/wwiv-svn/bbs/printfile.cpp:43
43      if (WFile::Exists(basename)) {
(gdb) step
WFile::Exists (fileName="welcome.msg")
    at /home/drock/wwiv/wwiv-svn/bbs/platform/unix/wfile.cpp:313
313     WWIV_ASSERT( !fileName.empty() );
(gdb) 
315     return ( stat(fileName.c_str(), &buf) ? false : true );
(gdb) 
316 }
(gdb) 
CreateFullPathToPrint (basename="welcome.msg")
    at /home/drock/wwiv/wwiv-svn/bbs/printfile.cpp:47
47      std::vector<string> dirs;
(gdb) 
std::vector<std::string, std::allocator<std::string> >::vector (
    this=0xbfffef64)
    at /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/include/g++-v4/bits/stl_vector.h:247
247       : _Base() { }
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xb7d67c46 in ?? () from /lib/libc.so.6
(gdb) bt
#0  0xb7d67c46 in ?? () from /lib/libc.so.6
#1  0xb7f9cce6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) ()
   from /usr/lib/gcc/i686-pc-linux-gnu/4.7.3/libstdc++.so.6
#2  0x080d3812 in CreateFullPathToPrint (basename="welcome.msg")
    at /home/drock/wwiv/wwiv-svn/bbs/printfile.cpp:48
#3  0x080d3d5d in printfile (pszFileName=0x816659a "welcome.msg", 
    bAbortable=true, bForcePause=true)
    at /home/drock/wwiv/wwiv-svn/bbs/printfile.cpp:97
#4  0x0809a2da in GetAnsiStatusAndShowWelcomeScreen (nNetworkOnly=0)
    at /home/drock/wwiv/wwiv-svn/bbs/lilo.cpp:142
#5  0x0809b966 in getuser () at /home/drock/wwiv/wwiv-svn/bbs/lilo.cpp:456
#6  0x08072894 in WApplication::Run (this=0x81a9638, argc=1, argv=0xbffff524)
    at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:1061
#7  0x080718b4 in WApplication::BBSMainLoop (this=0x81a9638, argc=1, 
    argv=0xbffff524) at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:748
#8  0x08073d75 in bbsmain (argc=1, argv=0xbffff524)
    at /home/drock/wwiv/wwiv-svn/bbs/bbs.cpp:1344
#9  0x0806fcd7 in main (argc=1, argv=0xbffff524)
    at /home/drock/wwiv/wwiv-svn/bbs/bbs_main.cpp:22
```~


you can get around it by symlinking from the base directory, but obviously that isn't a very good idea.  It does allow you to bypass issues to test other ones, though.  This issue affects every file that it tries to print. I hit logon, welcome.msg, etc.

Original comment by: granitepenguin

New user routine does not calculate age right

I decided to establish a GUEST account, and I entered my birthdate as 9/3/79, and the bbs still thinks im 30 years old, when In fact I am actually 31.

Original comment by: mmunson79

function printfile()

Under Linux, the function printfile only works if given the filename that needs displayed, including extension. It does not properly build the filename.ext based on the user's ANSI settings, and will only attempt to display the exact filename that is passed to it.

Original comment by: wintermute740

init edit fields display excess characters

Build: r480
Operating System: Linux

What Happened: Edit Fields in init are not properly cleaning out old field information when the previous data was longer than the new data. The new data works correctly, it appears to only be a display issue (ie, the display appears to be based on a fixed field size rather than where the string actually ends).

What was expected: When a field is edited, the fixed field excess should be zeroed out and/or the display should use the string itself and not the field size.

Can you provide a screenshot?

From the "general system config" screen

Old system name entry:
System name : The Beagle, Part 2

New system name entry after editing: (should be just "test name")
System name : test namee, Part 2

Original comment by: granitepenguin

internal qwk

could the asylum internal qwk be added if it would be too complex to re-do the wwivmail door? its very handy for systems with many message bases.

Original comment by: mmunson79

Telnet addresses in bbs list

I think bringing the bbs lister to the present time where telnet url's could be featured just as well as regular phone numbers would be a positive addition.

Original comment by: mmunson79

external editor selection in user prefs does not stay set

Build:r573
Operating System: Linux

What Happened: setting an external editor works for one use then resets to the default internal editor
What was expected: setting an external editor in your preferences should stay set

Original comment by: granitepenguin

user can't login

since i have installed wwiv5.0-57 i am having problems
loggin in. I have also tryed a fresh install, and same
problem. a user can’t log in at all.. it said ILLEGAL LOGON
I can make a new accounts, but after that no one can
log in. Not even sysop in local mode, unless login via
space bar – F and it’s all good.

ttyl
aweman

Original comment by: aweman

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.