From: Ian Jackson Date: Wed, 23 Dec 2020 02:25:00 +0000 (+0000) Subject: retro makes it show X-Git-Tag: otter-0.2.0~151 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=833c549ecd894d611c30d99e796dfa5da4924257;p=otter.git retro makes it show xwdtopnm < ../Build/server/tmp/wdt-simple/final.xwd | gm display - xwud and plain gm display don't work Signed-off-by: Ian Jackson --- diff --git a/wdriver.rs b/wdriver.rs index a1d8f58b..33308b6c 100644 --- a/wdriver.rs +++ b/wdriver.rs @@ -256,7 +256,7 @@ fn prepare_xserver(cln: &cleanup_notify::Handle, abstmp: &str) { -listen inet \ -listen inet6 \ -terminate \ - -wr \ + -retro \ -displayfd 1".split(' ')) .args(&["-fbdir", abstmp]) .arg(format!(":{}", DISPLAY)); @@ -318,7 +318,7 @@ impl Drop for FinalInfoCollection { let mut cmd = Command::new("xwd"); cmd.args("-root \ -silent \ - -out final.xwd".split(' ')); + -out final-xwd.xwd".split(' ')); let s = cmd .spawn().context("spawn")? .wait().context("wait")?;