Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.62 KB

byobu.md

File metadata and controls

41 lines (31 loc) · 1.62 KB

byobu

chnage temperature data source

vim ~/.byobu/statusrc
#MONITORED_TEMP=/proc/acpi/thermal_zone/THM0/temperature

MONITORED_TEMP=/sys/class/thermal/thermal_zone5/temp

copy scrollback history to a file

answer from here

This time I found a workable solution. From man byobu:

    SCROLLBACK, COPY, PASTE MODES

       Each  window  in  Byobu  has  up to 10,000 lines of scrollback history,
       which you can enter and navigate using the alt-pgup and alt-pgdn  keys.
       Exit  this  scrollback mode by hitting enter.  You can also easily copy
       and paste text from scrollback mode.  To do so, enter scrollback  using
       alt-pgup  or  alt-pgdn,  press the spacebar to start highlighting text,
       use up/down/left/right/pgup/pgdn to select the text, and press enter to
       copy  the  text.  You can then paste the text using alt-insert or ctrl-
       a-].
  1. I hit F7 to enter scrollback mode,
  2. Space to start selecting,
  3. gg to scroll to the top of the buffer (thanks @GeorgeMarian)
    • If that doesn't work, try this: either with lots of Page up or : followed by the largest line number (indicated top right) and Page up to get to the top of that page,
  4. Enter to copy (to byobu's clipboard, not a terminal/system one),
  5. then cat > my-byobu-dump.txt in the terminal,
  6. Alt+Insert or ctrl+A,] to paste (again, from byobu's clipboard)
  7. Ctrl+D to close the file.