Tag Info

Hot answers tagged

3

Ctrl and Shift are modifiers. These keys aren't transmitted to applications running in a terminal. Rather, when you press something like Ctrl+Shift+A, this sends a character or a character sequence at the time you press the A key. See How do keyboard input and text output work? for more details. There may be some terminal emulators that can be configured to ...


2

Might be a better way, but tmux list-panes | wc -l works.


2

At the same time as the zoom feature, the window_flag with the same name Z was added, so this flag should appear in the status line next to the window title (you mention in a comment that you use some plugin/customization of tmux). In any case, you can query tmux using the list-panes command and the formats feature: tmux list-panes -F '#F' prints out ...


1

Instead of: bind C-c run "tmux save-buffer - | xclip -i -sel clipboard" I ended up using this code: bind -t vi-copy y copy-pipe 'xclip -in -selection clipboard' With such a binding to copy something to the X clipboard: Press CTRL + b + [ Hit the SPACE Select the text using vi-mode key combinations Instead of Enter I hit y and without any freezes text ...


1

Cannot comment but the problem is that tmux configure doesn't check for which version libevent library you have installed. Ubuntu 8.04 had libevent1 you need to install libevent2 (from source). Download from libevent.org, the last stable version. gzip -d < libevent-2.0.22-stable.tar.gz | tar xf - cd libevent-2.0.22-stable ./configure --prefix=/usr make ...


1

See the man page for the list of keys tmux recognises: KEY BINDINGS When specifying keys, most represent themselves (for example ‘A’ to ‘Z’). Ctrl keys may be prefixed with ‘C-’ or ‘^’, and Alt (meta) with ‘M-’. In addition, the following special key names are accepted: Up, Down, Left, Right, BSpace, BTab, DC (Delete), End, Enter, Escape, F1 to ...


1

Tmux adds a Z to the end of the window name in the status bar to indicate that the pane is zoomed. Or at least the 1.9 version I'm using does this by default.


1

That's because, bind " split-window -c "#{pane_current_path}" should be bind '"' split-window -c "#{pane_current_path}"


1

I'm afraid slm's answer (currently marked as correct) is incorrect on a number of fronts. First off, the OP was asking whether there was a way to tell externally whether a process had data pending on an AF_UNIX socket. slm's answer requires modification to the process itself. Generally, netstat is useful in externally examining a process over which you ...



Only top voted, non community-wiki answers of a minimum length are eligible