Closed darkpixel closed 3 years ago
Looks like in the config file, you need to specify "terminal_args" instead of "term_args"
.clusterssh/config contains:
terminal=xterm
terminal_args="-sl 50000"
If I launch xterm manually via xterm -sl 50000
it runs normally, but through clusterssh I get this:
Cannot open pipe for reading when talking to --redacted-- : Interrupted system call
xterm: bad command line option "-sl 50000"
usage: xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
[-b number] [-baudrate rate] [-/+bc] [-bcf milliseconds]
[-bcn milliseconds] [-bd color] [-/+bdc] [-bg color] [-bw number] [-/+cb]
[-cc classrange] [-/+cjk_width] [-class string] [-/+cm] [-/+cn] [-cr color]
[-/+cu] [-/+dc] [-display displayname] [-e command args ...] [-fa pattern]
[-fb fontname] [-/+fbb] [-/+fbx] [-fd pattern] [-fg color] [-fi fontname]
[-fn fontname] [-fs size] [-/+fullscreen] [-fw fontname] [-fwb fontname]
[-fx fontname] [%geom] [#geom] [-geometry geom] [-help] [-/+hm] [-/+hold]
[-iconic] [-/+ie] [-/+im] [-into windowId] [-/+itc] [-/+j] [-/+k8]
[-kt keyboardtype] [-/+l] [-/+lc] [-lcc path] [-leftbar] [-lf filename]
[-/+ls] [-/+maximized] [-/+mb] [-mc milliseconds] [-/+mesg] [-/+mk_width]
[-ms color] [-n string] [-name string] [-nb number] [-/+nul] [-/+pc]
[-/+pob] [-report-charclass] [-report-colors] [-report-fonts]
[-report-icons] [-report-xres] [-rightbar] [-/+rv] [-/+rvc] [-/+rw] [-/+s]
[-/+samename] [-/+sb] [-selbg color] [-selfg color] [-/+sf] [-sh number]
[-/+si] [-/+sk] [-sl number] [-/+sm] [-/+sp] [-/+t] [-ti termid]
[-title string] [-tm string] [-tn name] [-/+u8] [-/+uc] [-/+ulc] [-/+ulit]
[-/+ut] [-/+vb] [-version] [-/+wc] [-/+wf] [-xrm resourcestring]
[-ziconbeep percent]
Type xterm -help for a full description.
Oops--I'm an idiot. Don't quote terminal_args:
terminal=xterm
terminal_args=-sl 50000
Fixed--thanks for the help @jfbauer432
It looks like clusterssh fires up instances of xterm to display the data. Per the xterm man page, I can increase the scrollback buffer by passing
-sl 50000
.And it looks like it works when I run:
cssh --term-args="-sl 50000" mycluster
But if I add
term_args=-sl 10000
to the.clusterssh/config
file and try to runcssh mycluster
(because I never remmber to add the term-args flag until it's too late), I getUnknown configuration parameters: term_args
.Am I doing it wrong, or is this unsupported?