Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
util:sexpots [2019/05/05 16:14] – [See Also] INI files... digital man | util:sexpots [2024/06/09 21:37] (current) – [Modem Settings] Note about the factory defaults digital man | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Overview ===== | ===== Overview ===== | ||
- | Synchronet BBS Software version 3 was designed for client connections over TCP/IP protocols only (predominently, Telnet). Over the 7 years since Synchronet v3's release, I've received occasional (but persistent) inquiries about the possibility or likelihood of adding modem support back into Synchronet to support direct analog dial-up users of the old BBS days before the Internet/ | + | Synchronet BBS Software version 3 was designed for client connections over TCP/IP protocols only (predominantly, Telnet). Over the 7 years since Synchronet v3's release, I've received occasional (but persistent) inquiries about the possibility or likelihood of adding modem support back into Synchronet to support direct analog dial-up users of the old BBS days before the Internet/ |
- | I've resisted this idea (for a few significant reasons I won't go into here), and have instead, suggested alternative methods of supporting dial-up users (e.g. running Synchronet v2.3 for DOS concurrently with v3, using *getty on Linux/Unix, using Manning' | + | I've resisted this idea (for a few significant reasons I won't go into here), and have instead, suggested alternative methods of supporting dial-up users (e.g. running Synchronet v2.3 for DOS concurrently with v3, using *getty on Linux/Unix, using Manning' |
I knew exactly what was required to write a Serial< | I knew exactly what was required to write a Serial< | ||
Line 33: | Line 33: | ||
SEXPOTS is freeware, licensed under the GNU General Public License ([[http:// | SEXPOTS is freeware, licensed under the GNU General Public License ([[http:// | ||
- | You can find the current source code (in C) in the Synchronet [[dev:CVS]] repository. | + | You can find the current source code (in C) in the Synchronet [[dev:Git]] repository. |
The latest and greatest build will be included in Synchronet-Win32 releases. | The latest and greatest build will be included in Synchronet-Win32 releases. | ||
Line 73: | Line 73: | ||
</ | </ | ||
- | ===== Installation | + | Additional options for Unix versions: |
+ | |||
+ | < | ||
+ | -syslog | ||
+ | </ | ||
+ | ===== Install | ||
No installation is required. You should be able to just run " | No installation is required. You should be able to just run " | ||
Line 80: | Line 85: | ||
- | ===== Configuration | + | ===== Configure |
- | Configuration is normally performed by editing the file '' | + | Configuration is normally performed by editing the file '' |
Optionally, a different [[config: | Optionally, a different [[config: | ||
Line 88: | Line 93: | ||
Command-line options that modify values of the same name in the '' | Command-line options that modify values of the same name in the '' | ||
- | The order of precendence | + | The order of precedence |
- Command-line options | - Command-line options | ||
- Command-line specified '' | - Command-line specified '' | ||
Line 101: | Line 106: | ||
Debug = FALSE ; enable debug logging (overrides LogLevel) | Debug = FALSE ; enable debug logging (overrides LogLevel) | ||
PauseOnExit = FALSE ; wait for key-press on exit (non-service) | PauseOnExit = FALSE ; wait for key-press on exit (non-service) | ||
+ | CLS = FALSE ; send a form feed (clear screen) before copyright banner | ||
+ | Prompt = | ||
+ | PromptTimeout = 60 ; seconds to wait for a remote character after sending prompt (0=infinite) | ||
[COM] | [COM] | ||
Line 110: | Line 118: | ||
DTRDelay = 100 ; Milliseconds to delay before hangup | DTRDelay = 100 ; Milliseconds to delay before hangup | ||
NullModem = FALSE ; Set to TRUE to not send AT commands to modem | NullModem = FALSE ; Set to TRUE to not send AT commands to modem | ||
+ | Parity = FALSE ; Use parity (error detection/ | ||
+ | ParityOdd = FALSE ; Use odd (not even) parity for parity calculations | ||
+ | ByteSize = 8 ; Number of data bits per byte | ||
+ | StopBits = 1 ; Number of stop bits per byte | ||
[Modem] | [Modem] | ||
Line 126: | Line 138: | ||
Port = 23 ; TCP port number of TCP server | Port = 23 ; TCP port number of TCP server | ||
NoDelay = TRUE ; Set to TRUE to disable the Nagle Algorithm | NoDelay = TRUE ; Set to TRUE to disable the Nagle Algorithm | ||
+ | Telnet = TRUE ; Set to FALSE to disable Telnet mode | ||
[Telnet] | [Telnet] | ||
- | Enabled = TRUE ; Set to FALSE to disable Telnet mode | ||
Debug = FALSE ; Set to TRUE to log Telnet commands sent/recv | Debug = FALSE ; Set to TRUE to log Telnet commands sent/recv | ||
AdvertiseLocation = FALSE ; Set to TRUE to send "WILL SEND LOCATION" | AdvertiseLocation = FALSE ; Set to TRUE to send "WILL SEND LOCATION" | ||
Line 144: | Line 156: | ||
Note: Support for the '' | Note: Support for the '' | ||
+ | |||
+ | ==== Modem Settings ==== | ||
+ | |||
+ | Modem settings that SEXPOTS will work best with: | ||
+ | |||
+ | ^ AT Command ^ Description ^ | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | ''& | ||
+ | | ''& | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | | '' | ||
+ | |||
+ | These are typically the default factory settings for modems manufactured in the last 30 years. | ||
+ | |||
+ | If these settings are not your modem' | ||
+ | ==== Prompting for a TCP Host ==== | ||
+ | |||
+ | By setting the '' | ||
+ | |||
+ | Example .ini file (with default values given): | ||
+ | <file sexpots.ini> | ||
+ | Prompt: "Hit ' | ||
+ | |||
+ | [TCP] | ||
+ | Host=mybbs | ||
+ | Port=23 | ||
+ | Telnet=true | ||
+ | |||
+ | [TCP:P] | ||
+ | Host=thepbx | ||
+ | Port=2600 | ||
+ | Telnet=false | ||
+ | </ | ||
+ | |||
===== NT Service Control ===== | ===== NT Service Control ===== | ||
Line 160: | Line 212: | ||
net stop sexpots | net stop sexpots | ||
+ | ==== DebugView ==== | ||
+ | |||
+ | When running SEXPOTS as an NT Service, you may want to use a debugger viewer (e.g. [[https:// | ||
+ | |||
+ | {{: | ||
===== Notes on Advanced Features ===== | ===== Notes on Advanced Features ===== | ||
Line 175: | Line 232: | ||
===== Linux/Unix Version ===== | ===== Linux/Unix Version ===== | ||
- | There is a preliminary | + | There is a *nix port of SEXPOTS in [[dev:Git]]. |
===== See Also ===== | ===== See Also ===== |