>> by picking up the process group leader from the terminal fd >> via tcgetpgrp() instead of using the direct pane child process. > > Why? I mean, what problem is this solving? You don't mention it in your > commit message. Nested subshells and su invocations. Consider this: > # root key bindings > bind-key C new-window "su -l empee584" \; set-window-option -q > window-status-fg green > bind-key V split-window -v "su empee584" \; set-window-option -q > window-status-fg green > bind-key H split-window -h "su empee584" \; set-window-option -q > window-status-fg green So my main tmux session runs as root, but sometimes I use this for privilege deescalation. Without provided patch, the current working directory would not be correctly determined in these cases.
#Regards :) ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users