Generated by AI ChatGPT under my commands.
This program works similar to cat. It types contents of its arguments to stdout, while copying stdin into stderr.
This is needed to send long commands to say Arduino, while it may respond with long text (like >> 32kB).
picocom -s ccat --flow h .... ^A ^S somefile somefile is send to serial line, reply is shown immediately (even if longer than system buffer)
gcc -O2 -Wall -Wextra -o ccat ccat.c
Put executable somewhere in the path (like into ~/bin)