Skip to content
githubgilhadPublic

About

For picocom -s ccat ...; copy files to pipe, while returning data from pipe

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

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)

Compile:

gcc -O2 -Wall -Wextra -o ccat ccat.c

Install:

Put executable somewhere in the path (like into ~/bin)

About

For picocom -s ccat ...; copy files to pipe, while returning data from pipe

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages