* usr/share/byobu/keybindings/f-keys, usr/share/byobu/profiles/common:

- avoid some screen crashes associated with buggy 'layout' saving
    feature; only save layouts if user is splitting screens, LP: #788670
This commit is contained in:
Dustin Kirkland 2011-05-26 12:25:44 -05:00
commit 4507df41cc
3 changed files with 5 additions and 6 deletions

3
debian/changelog vendored
View file

@ -3,6 +3,9 @@ byobu (4.5) unreleased; urgency=low
* usr/lib/byobu/custom, usr/share/byobu/keybindings/f-keys:
- fix regression in custom scripts
- get ctrl-F5 working correctly again
* usr/share/byobu/keybindings/f-keys, usr/share/byobu/profiles/common:
- avoid some screen crashes associated with buggy 'layout' saving
feature; only save layouts if user is splitting screens, LP: #788670
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 25 May 2011 19:37:18 -0500

View file

@ -47,8 +47,8 @@ register s "[g G$>^h" # Goes with F12 ~ definition
bind ~ eval 'process x' 'process s' 'exec sed -i -e "/./,/^$/!d" /var/run/screen/S-$USER/printscreen' 'screen -t PRINTSCREEN view /var/run/screen/S-$USER/printscreen' # F12 ~ | write the buffer to file, open in a new window
# Hotkeys for splits (gnome-terminal)
bindkey "^[O1;2Q" eval 'split' 'focus down' 'next' 'focus up' # shift-F2 | horizontal split
bindkey "^[O1;5Q" eval 'split -v' 'focus down' 'next' 'focus up' # ctrl-F2 | vertical split
bindkey "^[O1;2Q" eval 'split' 'focus down' 'next' 'focus up' 'layout save byobu' 'layout autosave' # shift-F2 | horizontal split
bindkey "^[O1;5Q" eval 'split -v' 'focus down' 'next' 'focus up' 'layout save byobu' 'layout autosave' # ctrl-F2 | vertical split
bindkey "^[O1;2R" focus up # shift-F3 | focus up
bindkey "^[O1;2S" focus down # shift-F4 | focus down
bindkey "^[[15;2~" only # shift-F5 | kill all splits

View file

@ -107,10 +107,6 @@ activity ""
# Fit to the current window size, useful with F5/reloads of the profile
fit
# Preserve splits; requires a pretty recent screen version (works on Debian/Ubuntu)
layout save byobu
layout autosave
# Maintain SSH_AUTH_SOCK link
setenv SSH_AUTH_SOCK $HOME/.byobu/.ssh-agent