Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
util:sexpots [2021/04/30 16:55] – Fix typos. CVS->Git digital manutil:sexpots [2024/06/09 21:37] (current) – [Modem Settings] Note about the factory defaults digital man
Line 73: Line 73:
 </code> </code>
  
 +Additional options for Unix versions:
 +
 +<code>
 +    -syslog               log to syslog rather than stdout/err
 +</code>
 ===== Install ===== ===== Install =====
  
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/correction) bit
 +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 ''[modem] ReInit'' key was added in SEXPOTS v1.27. Note: Support for the ''[modem] ReInit'' key was added in SEXPOTS v1.27.
 +
 +==== Modem Settings ====
 +
 +Modem settings that SEXPOTS will work best with:
 +
 +^ AT Command ^ Description ^
 +| ''C1''     | Modem asserts the DCD signal when it makes connection with another modem and de-asserts the signal upon disconnect. |
 +| ''E0''     | Command echo from the modem is disabled. |
 +| ''Q0''     | Result codes are sent by the modem. |
 +| ''V1''     | Verbal result codes are sent by the modem (instead of numeric result codes). |
 +| ''W2''     | When connecting, the modem reports the line speed (just once) in the CONNECT message. |
 +| ''&C1''    | Modem asserts the DCD signal only when carrier is present. You will need to set ''IgnoreDCD = TRUE'' if your modem does not support this. |
 +| ''&D2''    | When the the DTR signal is de-asserted (on->off transition), the modem hangs up. |
 +| ''S2=43''  | Escape sequence character: ''+'' |
 +| ''S3=13''  | Carriage return character: ''^M'' |
 +| ''S3=10''  | Line feed character: ''^J'' |
 +| ''S95=3''  | CONNECT result code indicates DCE speed instead of DTE speed, append /ARQ in error-correction mode. ((for modems that support this S-Register)) |
 +
 +These are typically the default factory settings for modems manufactured in the last 30 years.
 +
 +If these settings are not your modem's factory defaults, then you may need to make adjustments to the modem initialization string or (if unsupported by your modem), make other adjustments to your configuration file or command-line options.
 +==== Prompting for a TCP Host ====
 +
 +By setting the ''Prompt'' key value (to a text string asking the remote user to press a key), you can have SexPOTS connect to one of a set of TCP hosts by creating additional ''[TCP:x]'' sections in your ''.ini'' file, where ''x'' is a single non-control character that the user may respond with to choose that host to connect with. If the user does not respond by the configured ''PromptTimeout'' duration (default: 60 seconds) or responds with an invalid key press, the default host is connected to.
 +
 +Example .ini file (with default values given):
 +<file sexpots.ini>
 +Prompt: "Hit 'P' for PBX or ENTER for BBS now"
 +
 +[TCP]
 +Host=mybbs
 +Port=23
 +Telnet=true
 +
 +[TCP:P]
 +Host=thepbx
 +Port=2600
 +Telnet=false
 +</file>
 +
 ===== NT Service Control ===== ===== NT Service Control =====