Minor build fixups
Update copywright and version
Convert run_menu to not busy wait It took me a while to notice, but the run_menu is written using blocking file metaphor, but the socket it is working on is a non blocking socket. This manifests itself with the run_menu loop consuming most of the available CPU time
Add telnet option processing, including ECHO support The amount of effort here seems like overkill, but it seems to be the practical minimum implementation for telnet clients to do the right thing. I have added in more decoding than is strictly required and I hacked in the status suboption so that...
Try using getnameinfo to show more information about connected users
Add connection table debugging, net byte counting, some more thread interlocks
Migrate most of the menu system into the connection structure
Clean up lots of compile warnings. I have been getting lots of errors while testing under wine, so this is the start of looking for problems. I have not cleaned up any of the warnings in process_menu_line since that whole function is an abortion and all the warnings are either send() signedness mismatch...
Start to implement a connection table This change is only half baked as I still have not altered the rest of the threads to use the new connection table. Nor have I updated the event signalling model to take into account the existance of multiple connections.
Add winelib support and the ability to set the listen port
More cmdline processing fiddling
More cmdline processing hacks
Fix mode autodetection, change default tcp port back to 9600 It turns out that my telnet client doesnt work at all when I default to port 23. Instead of debugging this problem at the moment, I am setting the default port back to 9600
Detect if we are running as a service or console app. Change listen port to 23
Add a quit option to the menu and update help texts
Use strtok for commandline tokenisation
Factor the menu handling code and slightly clean it up. closes 18
Add a makefile target for testing the application
More debug message changes
More debug print statement cleanups
Dont copy as much stuff to the windows compile system
Sanitise the excessive number of lines used by all output messages
Create a dprintf function and convert all log messages to use it
Update version to mark this one as compiling
First version that compiles with mingw. Tested and working
Update makefile to stop using lcc It turns out that my previous testing was all invalid as lcc could not even correctly compile a hello world program.
Start makeing some minor changes
Move the include statements around - this version compiles
Remove CR's from every line I noticed that not every line had a CRLF and that this was screwing up viewing diffs and confusing various editors. So, I removed all the CR's
Add compile line to makefile
Add enough CR's to make vi realise that this is a dos format file
Add initial makefile
Newer version from ftp://ftp.h07.org/pub/h07.org/projects/system/wconsd-0.1.zip
Original version from http://www.greenend.org.uk/steve/software/wconsd.c