mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* usr/bin/byobu-config, usr/share/doc/byobu/help.tmux.txt,
usr/share/doc/byobu/help.txt => usr/share/doc/byobu/help.screen.txt, usr/share/doc/byobu/Makefile.am: - show tmux help in tmux, screen help in screen
This commit is contained in:
parent
8cec55287f
commit
a6cbd5db69
5 changed files with 40 additions and 36 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -70,6 +70,10 @@ byobu (4.47) unreleased; urgency=low
|
||||||
is any longer one of byobu's main features (?)
|
is any longer one of byobu's main features (?)
|
||||||
- standardize title formatting
|
- standardize title formatting
|
||||||
- clean up some whitespace and text
|
- clean up some whitespace and text
|
||||||
|
* usr/bin/byobu-config, usr/share/doc/byobu/help.tmux.txt,
|
||||||
|
usr/share/doc/byobu/help.txt => usr/share/doc/byobu/help.screen.txt,
|
||||||
|
usr/share/doc/byobu/Makefile.am:
|
||||||
|
- show tmux help in tmux, screen help in screen
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 08 Nov 2011 19:16:15 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 08 Nov 2011 19:16:15 -0600
|
||||||
|
|
||||||
|
|
|
@ -112,16 +112,16 @@ def messagebox(snackScreen, width, height, title, text, scroll=0, \
|
||||||
return bb.buttonPressed(g.runOnce())
|
return bb.buttonPressed(g.runOnce())
|
||||||
|
|
||||||
def help(snackScreen, size, config):
|
def help(snackScreen, size, config):
|
||||||
f=file(DOC+'/help.txt')
|
f=file(DOC+'/help.'+BYOBU_BACKEND+'.txt')
|
||||||
text=f.read()
|
text=f.read()
|
||||||
f.close()
|
f.close()
|
||||||
text=text.replace("<esckey>", getesckey(), 1)
|
text=text.replace("<esckey>", getesckey(), 1)
|
||||||
text=text.replace("_VER_", commands.getoutput("byobu -v | head -n1 | " + SED + " 's/.* //'"), 1)
|
text=text.replace("_VER_", commands.getoutput("byobu -v | head -n1 | " + SED + " 's/.* //'"), 1)
|
||||||
t = Textbox(70, 14, text, scroll=0)
|
t = Textbox(67, 16, text, scroll=1, wrap=1)
|
||||||
bb = ButtonBar(snackScreen, ((_("Menu"), "menu", ESC),), compact = 1)
|
bb = ButtonBar(snackScreen, ((_("Menu"), "menu", ESC),), compact = 1)
|
||||||
g = GridForm(snackScreen, _("Byobu Help"), 1, 3)
|
g = GridForm(snackScreen, _("Byobu Help"), 2, 4)
|
||||||
g.add(t, 0, 0, padding=(0,0,0,0))
|
g.add(t, 1, 0)
|
||||||
g.add(bb, 0, 2, padding=(1,1,0,0))
|
g.add(bb, 1, 1, padding=(1,1,0,0))
|
||||||
button = bb.buttonPressed(g.runOnce())
|
button = bb.buttonPressed(g.runOnce())
|
||||||
return 100
|
return 100
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
docdir = $(datadir)/doc/@PACKAGE@
|
docdir = $(datadir)/doc/@PACKAGE@
|
||||||
doc_DATA = help.txt help.tmux.txt
|
doc_DATA = help.screen.txt help.tmux.txt
|
||||||
|
|
|
@ -2,7 +2,7 @@ Byobu is a suite of enhancements to tmux, as a command line
|
||||||
tool providing live system status, dynamic window management,
|
tool providing live system status, dynamic window management,
|
||||||
and some convenient keybindings:
|
and some convenient keybindings:
|
||||||
|
|
||||||
F1 * Used by X11
|
F1 * Used by X11 *
|
||||||
Shift-F1 Display this help
|
Shift-F1 Display this help
|
||||||
F2 Create a new window
|
F2 Create a new window
|
||||||
Shift-F2 Create a horizontal split
|
Shift-F2 Create a horizontal split
|
||||||
|
@ -15,7 +15,7 @@ and some convenient keybindings:
|
||||||
Alt-Up/Down Move focus among sessions
|
Alt-Up/Down Move focus among sessions
|
||||||
Shift-Left/Right/Up/Down Move focus among splits
|
Shift-Left/Right/Up/Down Move focus among splits
|
||||||
Ctrl-Left/Right/Up/Down Resize a split
|
Ctrl-Left/Right/Up/Down Resize a split
|
||||||
F5 Reload profile, refresh notifications
|
F5 Reload profile, refresh status
|
||||||
Shift-F5 Toggle through split arrangements
|
Shift-F5 Toggle through split arrangements
|
||||||
Ctrl-F5 Reconnect ssh/gpg/dbus sockets
|
Ctrl-F5 Reconnect ssh/gpg/dbus sockets
|
||||||
F6 Detach session and then logout
|
F6 Detach session and then logout
|
||||||
|
@ -25,8 +25,8 @@ and some convenient keybindings:
|
||||||
Alt-PageUp/PageDown Enter and move through scrollback
|
Alt-PageUp/PageDown Enter and move through scrollback
|
||||||
F8 Rename the current window
|
F8 Rename the current window
|
||||||
F9 Launch byobu-config window
|
F9 Launch byobu-config window
|
||||||
F10 * Used by X11
|
F10 * Used by X11 *
|
||||||
F11 * Used by X11
|
F11 * Used by X11 *
|
||||||
Alt-F11 Expand split to a full window
|
Alt-F11 Expand split to a full window
|
||||||
Shift-F11 Join window into a horizontal split
|
Shift-F11 Join window into a horizontal split
|
||||||
Ctrl-F11 Join window into a vertical split
|
Ctrl-F11 Join window into a vertical split
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue