From dec865cb3002a03543179d0237576b55b4040aa8 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 1 Mar 2021 00:33:39 +0100 Subject: [PATCH] use feh for plotting *.svg in Cygwin --- examples/svg/nmos_out_BSIM330_svg.sp | 8 ++++---- examples/svg/nmos_out_BSIM330_various.sp | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/examples/svg/nmos_out_BSIM330_svg.sp b/examples/svg/nmos_out_BSIM330_svg.sp index e75315481..405613219 100644 --- a/examples/svg/nmos_out_BSIM330_svg.sp +++ b/examples/svg/nmos_out_BSIM330_svg.sp @@ -61,10 +61,10 @@ if $oscompiled = 1 | $oscompiled = 8 shell Start plot_5.svg shell Start plot_6.svg else -* for CYGWIN - shell xterm -e gs plot_4.svg & - shell xterm -e gs plot_5.svg & - shell xterm -e gs plot_6.svg & +* for CYGWIN, Linux + shell feh --magick-timeout 1 plot_4.svg & + shell feh --magick-timeout 1 plot_5.svg & + shell feh --magick-timeout 1 plot_6.svg & end .endc diff --git a/examples/svg/nmos_out_BSIM330_various.sp b/examples/svg/nmos_out_BSIM330_various.sp index a631265d0..5f33b1535 100644 --- a/examples/svg/nmos_out_BSIM330_various.sp +++ b/examples/svg/nmos_out_BSIM330_various.sp @@ -60,9 +60,10 @@ if $oscompiled = 1 | $oscompiled = 8 shell Start /B plot_4.svg shell Start /B plot_5.svg * shell Start /B plot_6.svg -* for CYGWIN +* for CYGWIN, Linux else - shell xterm -e gs plot_5.svg & + shell feh --magick-timeout 1 plot_4.svg & + shell feh --magick-timeout 1 plot_5.svg & end .endc