chiark / gitweb /
retro makes it show
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 23 Dec 2020 02:25:00 +0000 (02:25 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 23 Dec 2020 02:25:21 +0000 (02:25 +0000)
xwdtopnm < ../Build/server/tmp/wdt-simple/final.xwd  | gm display -

xwud and plain gm display don't work

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
wdriver.rs

index a1d8f58bdfac8cd7fc92186884a6db51dbea1c6f..33308b6cc299a589c1808153a53a9747a0b5e00b 100644 (file)
@@ -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")?;