Tag Info

New answers tagged

0

There are a lot of ways to do it. The way you mention could be one. xterm is a program that runs another one - it wraps another program in a pty - usually your shell - and channels the input you feed it to the wrapped programs. The thing about pseudo-terminals is they are just emulated devices - and so xterm takes a guess at the device you'll eventually be ...


1

My answer to this was to do 2 things: First have the .bashrc line use this so that it works on OSX: [ `uname -s` != Linux ] && exec tmux Secondly, for Ubuntu, change the terminal profile to use tmux directly, e.g. on check the custom command enter tmux, e.g. For quake I also had to update preferences (right click while using it -> ...


2

The two vim instances are completely separate from each-other, but there are two possibilities to do this. If your version of vim was compiled with X clipboard support you can use eg. "+yy to yank the current line to the X clipboard register, alternatively putting set clipboard=unnamed in your vimrc to yank to the clipboard by default. See :help registers ...


2

It means that mouse clicks will be reported to whatever is reading the terminal as standard input, the position and click will be encoded in an escape code similar to a special function key. Text mode mouse-aware applications (e.g. aptitude) can then use that to perform functions like any "real" graphical use interface (GUI) programs use a mouse. Such ...


0

mhahn said there was a bug in Yocto sshd killing all current cgroup processes when leaving ssh which has an easy fix (just didn't make it to the Edison build yet): poky - Poky Build Tool and Metadata i.e. in short: echo "KillMode=process" >> /lib/systemd/system/sshd@.service https://communities.intel.com/thread/57402?start=15&tstart=0


0

In my experience, any effective recipe to get a .tmux.conf to execute multiple commands conditionally that doesn't rely on every statement being wrapped in an if-shell makes use of multiple files and the source-file command. Here is how I do host-based profiles: # Use `run-shell` to resolve arbitrary shell commands, and set-environment to # make them ...


-1

I use BYOBU. It was originally written as a frontend to GNU screen, but now supports tmux as well. I have a server at home that I use to run BYOBU, from there i jump to other machines opening a new terminal when needed. When i need to disconnect, a quick tap on F6 is all that's needed and i don't have to worry about whether or not i left something running ...


0

Some information collected to help in search of a solution: Doing #(echo #{session_name}) outputs nothing, but #(echo \"#{session_name}\") shows the session name, which looks promising, but... The reason it works when quoted is that the echo command literally gets the text #{session_name} where, without quotes, the shell considers it a comment, and with ...



Top 50 recent answers are included