ID: | 5129 |
From: | Stef <st...@gmail.com> |
Date: | Thu, 16 Sep 2021 16:00:36 +0200 |
Subject: | Re: [pcb-rnd] femtocom: another electronics-related microproject |
in-reply-to: | 5126 from rn...@igor2.repo.hu |
That's nice, and more KISS-friendly, as in the UNIX philosophy. Stefan On 16/09/21 15:18, rnd2@igor2.repo.hu wrote: > Hi all, > > this is not pcb-rnd related but may be useful for anyone doing electronics > with serial lines from *NIX, so it is on-topic. > > I very often need a serial terminal program to communicate with the > command line of my circuits. It is slighlty more than just a pair of > cat(1)'s, but over the years I've learned it's much less than what even > the smallest software, such as minicom or picocom offer. > > Particularly: I typically set up the serial line once, when I plug in the > device, using stty(8) and I do not want the terminal program to change > baud rate, parity or anything alike. I constantly had to work this around > with the usual *com programs. My other problem was the control character > that is typicall ctrl+a by default which collides with screen(1). Then > picocom used some sleep() at exit for some reason, probably something > related to flushing, and it was real annoying. > > I know defaults can be changed and programs can be convinced not to change > the baud rate, but I don't like the idea to have unnecessary code in my > programs just so that I can spend more time on working them around. > > So I took picocom, forked it as femtocom and removed a lot of code, making > it even smaller. The result is: > > http://www.repo.hu/projects/femtocom/ > > Best regards, > > Igor2 > > >
Reply subtree:
5129 Re: [pcb-rnd] femtocom: another electronics-related microproject from Stef <st...@gmail.com>