[CoolTerm-Betas] Pseudo-terminal PTY
Franzi Edo.
edo.franzi at ukos.ch
Sat Oct 1 04:18:48 EDT 2022
Hi Roger,
Great! With the support of the virtual ports, CoolTerm is now really exceptional!
I tested a bit this implementation and I have to report a couple of problems:
1. I open 2 CoolTerm sessions. One session with /dev/ttyw2 and the second session with /dev/ptyw2
- The communication works only in a row mode. However, even in row mode after some exchanges between the 2 sessions one terminated abruptly with an indication of a problem. Unfortunately, Coolterm doesn’t close the comm device and I cannot use it anymore.
2. It is the consequence of the point 1.
- Coolterm doesn’t close the comm device after an error and the port cannot be use it anymore.
Anyway, great for your first implementation.
Regards
Edo
> On 30 Sep 2022, at 23:31, Roger Meier <roger.meier at pobox.com> wrote:
>
> Hi Edo,
>
> I found a workaround for CoolTerm to work with virtual serial ports. Here is a build you can try
>
> https://www.dropbox.com/s/z1eaddkistn5kvp/CoolTermMacBuild1106.zip?dl=0 <https://www.dropbox.com/s/z1eaddkistn5kvp/CoolTermMacBuild1106.zip?dl=0>
>
> CoolTerm does not automatically recognize virtual ports, but you can add them via a ports.ini text file placed with in the same directory as the CoolTerm app. The build linked above already includes such a file with one entry for /dev/ttys001. You can add any other such devices to this file, one per line. Make sure you restart CoolTerm after editing this file. After that, the ports from the ports.ini file will show up in the pull down menu in the connection settings.
> I have tested this successfully with virtual ports created with socat as well as ble-serial <https://github.com/Jakeler/ble-serial>.
>
> Regards,
>
> Roger
>
>
>
>> On Jan 28, 2022, at 5:08 PM, Roger Meier <roger.meier at pobox.com> wrote:
>>
>> There is known issue with the serial API I’m using and its compatibility with virtual ports. I opened a ticket with Xojo, the iDE I’m using to develop CoolTerm, to support virtual serial devices (created with scout, for example) in their serial API. Once that works, supporting it with CoolTerm won’t be a problem.
>>
>> Roger
>>
>>
>>> On Jan 25, 2022, at 12:40 AM, Franzi Edo. <edo.franzi at ukos.ch <mailto:edo.franzi at ukos.ch>> wrote:
>>>
>>> Hi all,
>>> It would be nice to allow the usage of pseudo-com devices (i.e. macOS PTY, /dev/ptyXY).
>>> This could open nice possibilities.
>>> The popup menu for selecting the com device could be enriched with those devices (i.e. we can list such devices in a file in order to customize the selection (like for the baud rate)).
>>> BR
>>> Edo
>>>
>>> _______________________________________________
>>> CoolTerm-Betas mailing list
>>> CoolTerm-Betas at the-meiers.org <mailto:CoolTerm-Betas at the-meiers.org>
>>> http://the-meiers.org/mailman/listinfo/coolterm-betas_the-meiers.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://the-meiers.org/pipermail/coolterm-betas_the-meiers.org/attachments/20221001/9d516018/attachment.htm>
More information about the CoolTerm-Betas
mailing list