Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Default, n.: The hardware's, of course.


dovenet / Synchronet Programming / src/sexpots/sexpots.c

SubjectAuthor
* src/sexpots/sexpots.cRob Swindell (on Debian Linux)
`* src/sexpots/sexpots.cCharles Blackburn
 `- src/sexpots/sexpots.cMRO

1
src/sexpots/sexpots.c

<652DDB25.47837.syncprog@vert.synchro.net>

  copy mid

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

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: rob.swindell.(on.debian.linux)@VERT (Rob Swindell (on Debian Linux))
To: Git commit to main/sbbs/master
Subject: src/sexpots/sexpots.c
Message-ID: <652DDB25.47837.syncprog@vert.synchro.net>
Date: Mon, 16 Oct 2023 17:53:57 -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/69bc98557 Sep 25 2023 GCC 12.2.0
X-FTN-MSGID: 47837.syncprog@1:103/705 2993cc02
X-FTN-CHRS: CP437 2
WhenImported: 20231016175357-0700 c1e0
WhenExported: 20231016211310-0700 c1e0
ExportedFrom: VERT syncprog 47837
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Rob Swindell (on Deb - Tue, 17 Oct 2023 00:53 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/54a05b65148085247e667152
Modified Files:
src/sexpots/sexpots.c
Log Message:
Implement write-retry in modem_send()

In attempt to address the "Error 11" (EAGAIN) error theat Nelgin sees when
configuring some longer modem init strings on Linux.

This is just a single retry (after a yield) after any modem command char
send failure (for any reason), including the terminating carriage-return.

See issue #662 to details.

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

src/sexpots/sexpots.c

<652E71AB.280.dove-syncprog@bbs.thefbo.us>

  copy mid

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

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: charles.blackburn@VERT/THEFBO (Charles Blackburn)
To: Rob Swindell (on Debian L
Subject: src/sexpots/sexpots.c
Message-ID: <652E71AB.280.dove-syncprog@bbs.thefbo.us>
Date: Tue, 17 Oct 2023 07:36:11 -0400
X-Comment-To: Rob Swindell (on Debian L
Path: rocksolidbbs.com!not-for-mail
Organization: The FBO BBS
Newsgroups: DOVE-Net.Synchronet_Programming
In-Reply-To: <652DDB25.47837.syncprog@vert.synchro.net>
References: <652DDB25.47837.syncprog@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Linux master/f28c4bc94 Sep 17 2023 GCC 12.3.0
X-FTN-MSGID: 47838.syncprog@1:103/705 2994768f
X-FTN-REPLY: 47837.syncprog@1:103/705 2993cc02
X-FTN-CHRS: CP437 2
WhenImported: 20231017060137-0700 c1e0
WhenExported: 20231017091313-0700 c1e0
ExportedFrom: VERT syncprog 47838
WhenImported: 20231017073611-0400 c12c
WhenExported: 20231017090042-0400 c12c
ExportedFrom: THEFBO dove-syncprog 280
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Charles Blackburn - Tue, 17 Oct 2023 11:36 UTC

Re: src/sexpots/sexpots.c
By: Rob Swindell (on Debian Linux) to Git commit to main/sbbs/master on Mon Oct 16 2023 17:53:57

> https://gitlab.synchro.net/main/sbbs/-/commit/54a05b65148085247e667152
> Modified Files:
> src/sexpots/sexpots.c
> Log Message:
> Implement write-retry in modem_send()
>
> In attempt to address the "Error 11" (EAGAIN) error theat Nelgin sees when configuring some longer modem init strings on Linux.
> This is just a single retry (after a yield) after any modem command char
> send failure (for any reason), including the terminating carriage-return.

im guessing that it's the &W he has at the end of the init string. some modems (including mine for some reason) won't send an OK when they get that.

as you can see in a previous message, mine is a lot longer than his but works fine. I think his EAGAIN could be a resource conflict in some form of buffer maybe. ie sending data too fast (not that it should matter).

not knowing his setup i couldnt answer that, but i would put money on it being on a cheap usb/serial adapter :D

charlie

---
■ Synchronet ■ The FBO BBS - IPV4/V6 - bbs.thefbo.us or bbs6.thefbo.us

src/sexpots/sexpots.c

<652F20E0.13158.syncprog@bbses.info>

  copy mid

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

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: mro@VERT/BBSESINF (MRO)
To: Charles Blackburn
Subject: src/sexpots/sexpots.c
Message-ID: <652F20E0.13158.syncprog@bbses.info>
Date: Tue, 17 Oct 2023 19:03:44 -0500
X-Comment-To: Charles Blackburn
Path: rocksolidbbs.com!not-for-mail
Organization: bbses.info
Newsgroups: DOVE-Net.Synchronet_Programming
In-Reply-To: <652E71AB.280.dove-syncprog@bbs.thefbo.us>
References: <652E71AB.280.dove-syncprog@bbs.thefbo.us>
X-FTN-PID: Synchronet 3.19b-Win32 master/a2a9dc027 Jan 2 2022 MSC 1928
X-FTN-MSGID: 47839.syncprog@1:103/705 299515ec
X-FTN-REPLY: 47838.syncprog@1:103/705 2994768f
X-FTN-CHRS: CP437 2
WhenImported: 20231017172133-0700 c1e0
WhenExported: 20231017211313-0700 c1e0
ExportedFrom: VERT syncprog 47839
WhenImported: 20231017190344-0500 c168
WhenExported: 20231017192131-0500 c168
ExportedFrom: BBSESINF syncprog 13158
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: MRO - Wed, 18 Oct 2023 00:03 UTC

Re: src/sexpots/sexpots.c
By: Charles Blackburn to Rob Swindell (on Debian L on Tue Oct 17 2023 07:36 am

>
> as you can see in a previous message, mine is a lot longer than his but
> works fine. I think his EAGAIN could be a resource conflict in some form of
> buffer maybe. ie sending data too fast (not that it should matter).
>
> not knowing his setup i couldnt answer that, but i would put money on it
> being on a cheap usb/serial adapter :D

i think it's because some people throw settings that cant be stored with that method in the ram. i wouldn't even use a long init string. keep it simple.

---
■ Synchronet ■ ::: BBSES.info - free BBS services :::


dovenet / Synchronet Programming / src/sexpots/sexpots.c

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor