I use byobu on sh and was doing some program which was left over for at least 24 hours, I had disconnected from the machine and logged in back after 24 hours is there a way I could see the messages which were on screen in this case.I am using Ubuntu 11.10
Asked
Active
Viewed 821 times
1 Answers
4
Just run
byobu
again and it will re-attach to the current session in the background (for the current user). If there is no, it will create a new session.
In case a lot of output has been produced and you'd like to scroll up, use the Copy mode by pressing F7. It will "disconnect" the cursor and allows you to scroll up and search. Use the arrow keys (↑ ↓ → ←) or PageUp / PageDown keys to move around, and Esc to get control back on the shell.
-
yes I did the same it attached the same session but the problem is there are a lot of messages on screen and the scroll bar has its limit – Registered User Jan 09 '13 at 02:56
-
1Use F7 to enable copy mode and you can scroll using arrow keys or page-up/down. – gertvdijk Jan 09 '13 at 03:00
-
I logged on to the system remotley via ssh and currently using putty from Windows so F7 pressed here how will it get there? – Registered User Jan 09 '13 at 06:37
-
You're diverging from your original question. If pressing F7 doesn't propagate through PuTTY to byobu, then it's Windows/PuTTY issue, much wider than just byobu or getting messages on the screen. – gertvdijk Jan 09 '13 at 09:59
-
ok if I press F7 to enable copy mode then how to disable it and does it record in any file all the output? – Registered User Jan 09 '13 at 10:22
-
I just read man of byobu my wireless card needs F2 function and I see in byobu F2 to create new window etc if I press F2 to create a new window in byobu my wireless (and in turn the ssh ) gets disconnected is there a way out in this situation – Registered User Jan 09 '13 at 10:24
-
1) re-read my answer, 2) other question, 3) other question. hint: byobu has **nothing to do with wireless**. – gertvdijk Jan 09 '13 at 10:27
-
1@gertvdijk he has those function keys mapped to actions. there should be an option to disable them in bios, or he might have to try holding fn key and pressing function keys. he has a valid point, probably not phrased clearly. – Mahesh Jan 11 '13 at 12:43