2

What is the key combination to pause/freeze the output of minicom?

At times the output scrolls very quickly and it makes it difficult to analyse some event.

I know I could instead capture to a file but I would really prefer to be able to just pause.

2
  • 1
    Can you use screen's or tmux's scrollback functionality? That's how I normally do it.
    – jon
    Sep 25 '13 at 13:36
  • Yeah, I'd also use screen instead. Sep 25 '13 at 22:01
4

Just realised Ctrl+A by itself pauses minicom printing to the screen. Press Esc to continue.

4

Software flow-control or XON/XOFF is what you are looking for.

Ctrl-S (XOFF) will pause output. Ctrl-Q (XON) will restart it.

For more information, see Software Flow Control

1
  • 1
    So that what it's for! I'd only ever used it to lock a terminal so nothing could be entered.
    – terdon
    Sep 25 '13 at 13:38
0

Just hit CtrlZ. That will pause the current process. You can use bg to have it resume in the background and fg to make it return to he foreground.

This is not specific to minicom it will work for anything that is printing to the terminal. Assuming minicom is printing regular output it should work fine for it.

3
  • Ctrl+Z is ignored by minicom. Sorry I didn't mean pause the current process, I meant freeze the output on the screen so I can look at it. Sep 25 '13 at 4:22
  • @austinmarton yeah, that depends on how the process is running. I couldn't test with minicom cause I don't have a modem. It works fine with other programs that write to the terminal, freezes the output as expected.
    – terdon
    Sep 25 '13 at 4:28
  • 1
    Just so you know, you can create a named pipe and set it as the serial device in minicom. It's useful for testing...
    – jon
    Sep 25 '13 at 13:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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