7

I recently started using minicom and I always need to do

  • Ctrl+A+n (x2): Timestamp every line (extended)

I didn't found anything neither in the man (except for)

N Toggle between three states, whether each line is prefixed with current date and time, a timestamp is added every second, or no timestamps.

nor in the minicom setup (minicom -s).

Is there a way to make this the default behavior?

2 Answers 2

7

You can use -O timestamp=extended, so type in terminal for example:

minicom -D /dev/ttyUSB0 -O timestamp=extended

This has been updated with minicom 2.8

3

Apparently there is no such option as of writing, so I created a patch for that. With that patch, appending line_timestamp extended to ~/.minirc.dfl enables extended timestamp by default.

Update 2021/01/21: use strings literals (extended) instead of numeric constants (2) following the latest version of my patch.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.