Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| util:sexpots [2012/03/13 01:56] – [Command-line Syntax] Fixed typo. digitalman | 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 | + | 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/ |
| - | 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), | + | 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' |
| - | 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' | + | |
| - | front-end application, | + | |
| - | in some ways or excessively complex or inconvenient. I wanted to provide | + | |
| - | something easier, more seemless.... " | + | |
| - | isn't much demand for dial-up BBSes today (30Kbps!), there has been enough | + | |
| - | interest from sysops to at least justify some effort (in my mind) to attempt | + | |
| - | to relive the BBS days of old, using actual *gasp* modems! | + | |
| - | I knew exactly what was required to write a Serial< | + | I knew exactly what was required to write a Serial< |
| - | and blogged on the www.synchro.net web-site way back in 2002 that I planned on | + | |
| - | writing just such a program to give dial-up capabilities to Synchronet v3 | + | |
| - | Win32 sysops. | + | |
| - | Better late than never (?), I finally started writing this a program a few | + | Better late than never (?), I finally started writing this a program a few months ago (early 2007). I had to buy an analog modem (I'd thrown-out or donated all my modems years ago) and get a second phone line installed to test it, but finally, here it is: SEXPOTS (the name pays homage to [[SEXYZ]]). |
| - | months ago (early 2007). I had to buy an analog modem (I'd thrown-out or | + | |
| - | donated all my modems years ago) and get a second phone line installed to test | + | |
| - | it, but finally, here it is: SEXPOTS (the name pays homage to SEXYZ). | + | |
| - | While SEXPOTS was designed with Synchronet-Win32 sysops in mind, it should | + | While SEXPOTS was designed with Synchronet-Win32 sysops in mind, it should work with any TCP Server (e.g. Telnet BBS software). |
| - | work with any TCP Server (e.g. Telnet BBS software). | + | |
| - | I recently discovered a couple of unrelated Win32 programs by the name of | + | I recently discovered a couple of unrelated Win32 programs by the name of COM2TCP which do fundamentally the same thing as SEXPOTS, but SEXPOTS is more robust/ |
| - | COM2TCP which do fundamentally the same thing as SEXPOTS, but SEXPOTS is more | + | |
| - | robust/ | + | |
| - | features you'll like: | + | |
| ==== Features ==== | ==== Features ==== | ||
| Line 53: | 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 93: | Line 73: | ||
| </ | </ | ||
| - | ===== Installation ===== | + | Additional options for Unix versions: |
| - | No installation is required. You should be able to just run " | + | < |
| - | optionally specifying command-line options to over-ride the default | + | -syslog |
| - | values (shown below), or the values in your '' | + | </ |
| - | have one). | + | ===== Install ===== |
| + | |||
| + | No installation is required. You should be able to just run " | ||
| - | On Windows NT-based operating systems, you may install SEXPOTS as an | + | On Windows NT-based operating systems, you may install SEXPOTS as an NT service (runs in the background when your system boots up, before user login), by running '' |
| - | NT service (runs in the background when your system boots up, before | + | |
| - | user login), by running '' | + | |
| - | stop the service using the " | + | |
| - | with the '' | + | |
| - | You can toggle the service start mode (between auto-start and disabled) | + | |
| - | with the '' | + | |
| - | an NT service, the SEXPOTS log output goes to the " | + | |
| - | in the NT event viewer. | + | |
| - | ===== Configuration | + | ===== Configure |
| - | Configuration is normally performed by editing the file '' | + | Configuration is normally performed by editing the file '' |
| - | in the same directory where the SEXPOTS program (e.g. '' | + | |
| - | located (e.g. '' | + | |
| Optionally, a different [[config: | Optionally, a different [[config: | ||
| Line 121: | 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 134: | 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 143: | 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 151: | Line 130: | ||
| Timeout = 5 ; Seconds to wait for a response from modem | Timeout = 5 ; Seconds to wait for a response from modem | ||
| ReInit = 60 ; Minutes of inactivity while waiting for caller before re-initialization | ReInit = 60 ; Minutes of inactivity while waiting for caller before re-initialization | ||
| + | Answer = ATA ; Answer command | ||
| + | Ring = RING ; Ring indication (from modem) | ||
| + | ManualAnswer = FALSE ; Set to TRUE to disable auto-answer and use ring detection/ | ||
| [TCP] | [TCP] | ||
| Line 156: | 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 169: | Line 151: | ||
| Interface = 0 ; IP address of network interface (0=Any) | Interface = 0 ; IP address of network interface (0=Any) | ||
| Response = CALLERID: | Response = CALLERID: | ||
| + | </ | ||
| + | |||
| + | Note: SEXPOTS v1.25 and earlier did not supports comments on '' | ||
| + | |||
| + | 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 | ||
| </ | </ | ||
| Line 187: | 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 ===== | ||
| :!: NOTE: Requires Synchronet v3.14b or later | :!: NOTE: Requires Synchronet v3.14b or later | ||
| - | SEXPOTS will report the connection (DCE) rate to a Synchronet Terminal Server | + | SEXPOTS will report the connection (DCE) rate to a Synchronet Terminal Server using the Telnet " |
| - | using the Telnet " | + | |
| - | speed to calculate estimated file transfer durations, update the node record, | + | |
| - | log to the user logon list, and save in the user record as the user's most | + | |
| - | recent " | + | |
| - | SEXPOTS can report Caller-ID information to the Synchronet Terminal Server using | + | SEXPOTS can report Caller-ID information to the Synchronet Terminal Server using the Telnet " |
| - | the Telnet " | + | |
| - | Phone Number in the user's ' | + | |
| - | stored) and the Caller-ID reported Caller Name in the user's ' | + | |
| - | field (where the Hostname is normally stored). Synchronet will also log each | + | |
| caller' | caller' | ||
| - | Alternatively, | + | Alternatively, |
| - | protocol, but this feature is disabled by default and is not the preferred | + | |
| - | mechanism (use the Telnet " | + | |
| - | Using Synchronet v3.14a or earlier, the Synchronet Terminal Server will detect | + | Using Synchronet v3.14a or earlier, the Synchronet Terminal Server will detect the caller as just another Telnet connection, but coming in from the local network interface (IP address). |
| - | the caller as just another Telnet connection, but coming in from the local | + | |
| - | network interface (IP address). | + | |
| ===== Linux/Unix Version ===== | ===== Linux/Unix Version ===== | ||
| - | There is a preliminary | + | There is a *nix port of SEXPOTS in [[dev:Git]]. |
| ===== See Also ===== | ===== See Also ===== | ||
| * [[: | * [[: | ||
| * [[: | * [[: | ||
| + | * [[: | ||