clusterssh icon indicating copy to clipboard operation
clusterssh copied to clipboard

some thoughts concerning tiling (again)

Open sandyWolf opened this issue 3 years ago • 1 comments

Hi! I'd like to open 69 ssh sessions simultaneously. And I've found the only one way to deal with this pack of windows: 'hardcode' a display position for each specific terminal. I.e. xterm for hostA should be placed at position +0+0, hostB -- +0+32,.. hostZ -- +777+240 and so on.

Now I try to find a way do so. So, my questions:

1 Is there any way to set xterm 'geometry' option for specific host via "clusters" or "tags" files?

2 Is there any way to add (append) terminal to existing cssh instance from command line, something like this:

cssh           --term-args "-geometry +500+100" user@hostA &
cssh --append  --term-args "-geometry +700+300" user@hostZ &

sandyWolf avatar Apr 25 '22 05:04 sandyWolf

Have you tried passing --fillscreen and --cols <cols>, -x <cols> or --rows <rows>, -y <rows> ? For example cssh --fillscreen -x 9 user@host{1..66} will open all the 66 host and evenly size and distribute the windows to fill the screen; it would be 9 by 8, leaving a few empty slots to the end, and since the host are always sorted you'll get your windows always in the same spot. for custom sizes and positions ... AFAICT .. .you're on your own.

AsharLohmar avatar Jan 09 '25 18:01 AsharLohmar