index.md (1264B)
1 sshawarespawn 2 ============= 3 4 Description 5 ----------- 6 This patch adds the ability to spawn a new terminal with ssh awareness, meaning 7 that if your current selected client has an open ssh sesion, a newly created 8 client will copy the ssh command and execute it. The spawning also carries over 9 additional flags you have given to ssh. If your current client does not have an 10 ssh session it executes the provided command. 11 12 It works by crawling all of the processes for ssh sessions and traversing the 13 process tree upwards to check if your current client is a parent of an ssh 14 session. 15 16 This patch borrows the `winpid` function from the swallow patch. My thanks to: 17 * Rob King 18 * Laslo Hunhold 19 * Petr Ĺ abata 20 * wtl 21 * John Wilkes 22 * Ben Raskin 23 24 Depedencies 25 ----------- 26 27 * libxcb 28 * Xlib-libxcb 29 * xcb-res 30 * libprocps 31 32 Download 33 -------- 34 * [dwm-sshawarespawn-20201015-61bb8b2.diff](dwm-sshawarespawn-20201015-61bb8b2.diff) 35 * [dwm-sshawarespawn-6.2.diff](dwm-sshawarespawn-6.2.diff) 36 37 Notes 38 ----- 39 Since the patch relies on walking the process tree, which is OS-specific, 40 compatibility with other operating systems is not guaranteed. If you want to 41 help expand the list of supported plattforms please contact me. 42 43 Authors 44 ------- 45 * Fabian Blatz - fabian.blatz at gmail period com