* bin/byobu-janitor, share/byobu/keybindings/f-keys,

share/byobu/profiles/common, share/man/man1/byobu.1: add a keybinding,
  ctrl-a ~ to write the current window's buffer to a file, LP: #565399
* debian/control, debian/screen-profiles.postinst: remove final remnants
  of screen-profiles
This commit is contained in:
Dustin Kirkland 2010-04-20 16:59:04 -05:00
commit 6cd6408c97
5 changed files with 17 additions and 0 deletions

5
debian/changelog vendored
View file

@ -7,6 +7,11 @@ byobu (2.69) unreleased; urgency=low
po/fr.po, po/hu.po, po/is.po, po/it.po, po/la.po, po/lt.po, po/nl.po,
po/pt.po, po/pt_BR.po, po/ru.po, po/sv.po, po/tr.po, po/uk.po:
- translations merged, LP: #567309
* bin/byobu-janitor, share/byobu/keybindings/f-keys,
share/byobu/profiles/common, share/man/man1/byobu.1: add a keybinding,
ctrl-a ~ to write the current window's buffer to a file, LP: #565399
* debian/control, debian/screen-profiles.postinst: remove final remnants
of screen-profiles
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 15 Apr 2010 12:12:39 -0500

View file

@ -40,6 +40,11 @@ if [ -S "$SSH_AUTH_SOCK" ] && [ ! -h "$SSH_AUTH_SOCK" ] && [ -w "$RUN" ]; then
ln -sf "$SSH_AUTH_SOCK" "$RUN/$PKG.ssh-agent"
fi
# Create byobu-exchange buffer file, with secure permissions, if it doesn't exist
if [ -w "$RUN" ] && [ ! -e "$RUN/$PKG-exchange" ]; then
install -m 600 /dev/null "$RUN/$PKG-exchange"
fi
# Affects: users who launched using sudo, such that their config dir
# is not writable by them
if [ -d "$HOME/.$PKG" ] && [ ! -w "$HOME/.$PKG" ]; then

View file

@ -37,6 +37,7 @@ bindkey -k F2 lockscreen # F12 | Lock this terminal
bind $ screen -t status 0 byobu-status-detail # ctrl-a $ | show detailed status
bind @ screen -t config 0 byobu-config # ctrl-a @ | Configuration
bind R process r # ctrl-a R | Reload profile
bind ~ eval writebuf 'exec sed -i "/./,/^$/!d" /var/run/screen/S-$USER/byobu-exchange' # ctrl-a ~ | write the buffer to file
# toggle f-key keybindings off
register d "^a:source /usr/share/byobu/keybindings/screen-escape-keys^M"

View file

@ -86,6 +86,10 @@ defbce "on"
# Log 10000 lines
defscrollback 10000
# Set per-user screen-exchange
bufferfile /var/run/screen/S-$USER/byobu-exchange
compacthist on
# Monitor windows
defmonitor on
activity ""

View file

@ -106,6 +106,8 @@ byobu keybindings can be user defined in /usr/share/byobu/keybindings/ (or withi
\fBCtrl-a k\fP \- Kill the current window
\fBCtrl-a ~\fP \- Write the current window's scrollback buffer to \fI/var/run/screen/S-$USER/byobu-exchange\fP
.SH "BUGS"
PuTTY users have reported that the F2, F3, and F4 shortcut keys are not working properly. PuTTY sends the same escape sequences as the linux console for F1-F4 by default. You can fix this problem in the PuTTY config, Terminal -> Keyboard -> Function keys: Xterm R6. See: \fIhttp://www.mail-archive.com/screen-users@gnu.org/msg01525.html\fP