Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"I don't mind going nowhere as long as it's an interesting path." -- Ronald Mabbitt


dovenet / Synchronet Programming / src/vdmodem/vdmodem.c

SubjectAuthor
o src/vdmodem/vdmodem.cRob Swindell (on Windows 11)

1
src/vdmodem/vdmodem.c

<660208EF.49414.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=3430&group=DOVE-Net.Synchronet_Programming#3430

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(on.windows.11)@VERT (Rob Swindell (on Windows 11))
To: Git commit to main/sbbs/master
Subject: src/vdmodem/vdmodem.c
Message-ID: <660208EF.49414.syncprog@vert.synchro.net>
Date: Mon, 25 Mar 2024 16:29:51 -0700
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/c3e46719e Mar 2 2024 GCC 12.2.0
X-FTN-MSGID: 49414.syncprog@1:103/705 2a67fff5
X-FTN-CHRS: CP437 2
WhenImported: 20240325162951-0700 c1e0
WhenExported: 20240329040315-0700 c1e0
ExportedFrom: VERT syncprog 49414
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (on Win - Mon, 25 Mar 2024 23:29 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/c4644bf9460dcfe2090eee73
Modified Files:
src/vdmodem/vdmodem.c
Log Message:
Initialize telnet options when passed -h option (withouth -l)

As requested by Fzf (FQBBS):

When SVDM uses an inherited socket (the -h option) no telnet negotiations
are done. As a result, the connection is assumed to be in ASCII mode and
server side CR characters are translated to CR/LF. Since most programs are
already transmitting a CR/LF this gets translated to CR/LF/LF with the
expected results. When using an external socket in telnet mode, could SVDM
set the telnet.local_option and telnet.remote_option variables as so:

A. Assume both remote and local have already suppressed GA and set the two
options accordingly

B. Set the remote telnet echo option to off and set the local telnet echo
to follow the ServerEcho option from the .INI file

C. Set both remote and local BINARY_TX options to follow the ServerBinary
option from the .INI file

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor