<div dir="ltr">Thanks for the feedback. I have a few follow up questions:<br><div><br></div><div>- How did you create these two devices? Perhaps I can recreate this on my end. I assume this is on macOS?</div><div>- What do you mean by "row mode"? Do you mean "raw mode"?</div><div>- What was the indication of the problem you got? Did you get a particular error code?</div><div>- CoolTerm should close all serial ports when disconnecting. Are the devices working after you quit CoolTerm?</div><div><br></div><div>The support for virtual ports in CoolTerm for macOS and Linux is very rudimentary. When attempting to change any hardware settings (such baud rate, data bits, stop bits, parity, etc), I get an error 25 ('inappropriate ioctl for device'). My workaround is to simply ignore this particular error and open the port anyways since hardware settings, in theory, shouldn't matter for virtual ports. This is the only way I was able to get virtual ports working in CoolTerm.</div><div><br></div><div>Roger</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 1, 2022 at 1:19 AM Franzi Edo. <<a href="mailto:edo.franzi@ukos.ch">edo.franzi@ukos.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><span style="font-size:14px">Hi Roger,</span><div><span style="font-size:14px">Great! With the support of the virtual ports, CoolTerm is now really exceptional!</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">I tested a bit this implementation and I have to report a couple of problems:</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">1. I open 2 CoolTerm sessions. One session with /dev/ttyw2 and the second session with /dev/ptyw2</span></div><div><span style="font-size:14px">   - 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.</span></div><div><span style="font-size:14px"><br></span></div><div><span style="font-size:14px">2. It is the consequence of the point 1.</span></div><div><span style="color:rgb(0,0,0);font-size:14px">   - Coolterm doesn’t close the comm device after an error and the port cannot be use it anymore.</span></div><div><font color="#000000"><span style="font-size:14px"><br></span></font></div><div><font color="#000000"><span style="font-size:14px"><br></span></font></div><div><font color="#000000"><span style="font-size:14px">Anyway, great for your first implementation.</span></font></div><div><font color="#000000"><span style="font-size:14px">Regards</span></font></div><div><font color="#000000"><span style="font-size:14px">Edo</span></font></div><div><font color="#000000"><span><br></span></font></div><div><font color="#000000"><span><br></span></font><div><br><blockquote type="cite"><div>On 30 Sep 2022, at 23:31, Roger Meier <<a href="mailto:roger.meier@pobox.com" target="_blank">roger.meier@pobox.com</a>> wrote:</div><br><div><div>Hi Edo,<div><br></div><div>I found a workaround for CoolTerm to work with virtual serial ports. Here is a build you can try</div><div><br></div><div><a href="https://www.dropbox.com/s/z1eaddkistn5kvp/CoolTermMacBuild1106.zip?dl=0" target="_blank">https://www.dropbox.com/s/z1eaddkistn5kvp/CoolTermMacBuild1106.zip?dl=0</a><br><div><br></div><div>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 <font face="Courier New">/dev/ttys001</font>. 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.</div><div>I have tested this successfully with virtual ports created with socat as well as <a href="https://github.com/Jakeler/ble-serial" target="_blank">ble-serial</a>.</div><div><br></div><div>Regards,</div><div><br></div><div>Roger</div><div><br></div><div><br></div><div><br><blockquote type="cite"><div>On Jan 28, 2022, at 5:08 PM, Roger Meier <<a href="mailto:roger.meier@pobox.com" target="_blank">roger.meier@pobox.com</a>> wrote:</div><br><div><div style="overflow-wrap: break-word;">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.<div><br></div><div>Roger</div><div><br><div><br><blockquote type="cite"><div>On Jan 25, 2022, at 12:40 AM, Franzi Edo. <<a href="mailto:edo.franzi@ukos.ch" target="_blank">edo.franzi@ukos.ch</a>> wrote:</div><br><div><div style="overflow-wrap: break-word;"><div><span style="font-size:14px">Hi all,</span></div><div><span style="font-size:14px">It would be nice to allow the usage of pseudo-com devices (i.e. macOS PTY, /dev/ptyXY).</span></div><div><span style="font-size:14px">This could open nice possibilities.</span></div><div><span style="font-size:14px">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)).</span></div><div><span style="font-size:14px">BR</span></div><div><span style="font-size:14px">Edo</span></div><div><br></div></div>_______________________________________________<br>CoolTerm-Betas mailing list<br><a href="mailto:CoolTerm-Betas@the-meiers.org" target="_blank">CoolTerm-Betas@the-meiers.org</a><br><a href="http://the-meiers.org/mailman/listinfo/coolterm-betas_the-meiers.org" target="_blank">http://the-meiers.org/mailman/listinfo/coolterm-betas_the-meiers.org</a><br></div></blockquote></div><br></div></div></div></blockquote></div><br></div></div></div></blockquote></div><br></div></div></blockquote></div>