Tag Info

New answers tagged

0

This appears to be a bug in gnome-terminal. I've just upgraded to 3.14.0-1 (from Debian testing) and the beep during startup and exit of tmux in gnome-terminal is gone. Therefore it's likely to have been fixed since 3.6.2-0ubuntu1 - or there's an Ubuntu patch causing it (which Linux Mint might also use).


1

According to my vim config: tmux will only forward escape sequences to the terminal if surrounded by a DCS sequence (see) So when my config detects that vim is running in tmux (if exists('$TMUX')) it will surround every escape sequence with "\ePtmux;\e" and "\e\\" My escape sequences are xterm specific, but I guess you need to perform a similar ...


5

libcaca will display in your current terminal if $DISPLAY is not set. So you can do something like: DISPLAY= mpv --quiet -vo caca 'https://www.youtube.com/watch?v=bvYgBty6nJs' The same trick works with mplayer, though it doesn't (AFAIK) have integrated libquvi support, so you have to extract the video URL to pass it.


0

Unless you want to source a script containing all the variables you need in every shell you further spawn in any new shell spawned by the same tmux server sessions, you will probably want to tell tmux to put the variables into the session or global environments with the set-environment command. For example like this (for bash): for var in DISPLAY ...


0

I don't think you can achieve that in the terminal multiplexer and probably neither in the terminal emulator - it's the application that sets its colours not the terminal. The reason why compositor makes the background translucent is the difference between how the escape sequences ^[[0m and ^[[40m are interpreted. The first (and default one) is interpreted ...


0

In tmux 1.9a you can do :switch-client -r. I'm not sure if this is new in 1.9a, but that is the version that I am running and I am able to change an existing tmux session to read-only mode.


0

You could try running two separate tmux sessions at once - one for you, and the second for the other user. Then, use your OS's windowing system to arrange two terminals side by side, with one for you and one for him. If you need to write in his terminal, just choose it for input. You run (each command in its own terminal): tmux new-session -s Alice tmux ...


3

The C- notation doesn't refer to actual keyboard hardware combinations. They refer to ASCII control codes. Historically, the notation was used to indicate ASCII characters between 0 and 31 by subtracting 64 from the ASCII value of the character used in conjunction with C-. For example, C-@ represents ASCII 0 (NUL) because @ is ASCII 64; C-G represents ASCII ...


3

Prepare update.sh script which will be run on machines. Run it inside screen with ssh: ssh user@host "screen -a -d -m -l -U /usr/local/sbin/update.sh" Profit. It will run update script in dettached screen session, which will end as soon as the update.sh end.


0

The issue is my $LESS contains -X. Plus -+X will set less to it's default behavior, which is whatever is specified in $LESS, NOT no -X. Thus I was running less with -X all the time. That's why neither cleaned the screen.


2

Try splitting the command into two lines in your .tmux.conf Open the window neww -n Bash1 bash Send the command to the window send-keys -t "Bash1" 'python2.6 python-prog/prog.py' Enter



Top 50 recent answers are included