lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master ce7f5fa 3/3: Abjure the /dev/clipboard cygwin


From: Greg Chicares
Subject: [lmi-commits] [lmi] master ce7f5fa 3/3: Abjure the /dev/clipboard cygwinism
Date: Fri, 10 Jul 2020 12:46:49 -0400 (EDT)

branch: master
commit ce7f5faca001a8d7a6a8a086cb775dccbc75401c
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Abjure the /dev/clipboard cygwinism
---
 gwc/develop1.txt      | 6 +-----
 tabs/2/startup_script | 1 +
 tabs/4/startup_script | 4 ----
 3 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index 08d0019..baba8ff 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -43,7 +43,7 @@ git mv lmi.rc lmi_msw_res.rc
 
   # Make a patch against repository from local tree
 
-git diff file0.cpp file1.cpp >/dev/clipboard
+git diff file0.cpp file1.cpp >some_new_file
 
   # Apply an email patch
 
@@ -239,10 +239,6 @@ cd /opt/lmi/src/lmi
 make $coefficiency check_concinnity >../log 2>&1
 sed -f diagnostics.sed ../log 2>&1 |less -S
 
-  # Copy date to clipboard for pasting
-
-date -u +'%Y%m%dT%H%MZ' |tr -d '\n' >/dev/clipboard
-
   # Fifth screen: only for running lmi and its GUI tests
 
 cd /opt/lmi/bin
diff --git a/tabs/2/startup_script b/tabs/2/startup_script
index 2201ce8..d8485c2 100755
--- a/tabs/2/startup_script
+++ b/tabs/2/startup_script
@@ -16,6 +16,7 @@ print -rs $c ; echo $c
 print -rs $d ; echo $d
 # 'ssh-agent' not presently used in chroot:
 #print -rs $u ; echo $u ; eval $u
+# /dev/clipboard is a cygwinism, though GNU/Linux alternatives exist
 #echo $w >/dev/clipboard
 #print -rs $v ; echo $v ; eval $v
 # This wouldn't affect the spawned shell:
diff --git a/tabs/4/startup_script b/tabs/4/startup_script
index 2d48d04..3bb1846 100755
--- a/tabs/4/startup_script
+++ b/tabs/4/startup_script
@@ -3,21 +3,17 @@
 a='schroot --chroot=lmi'
 
 b='cd /opt/lmi/src/lmi'
-c='date -u +"%Y%m%dT%H%MZ" |tr -d "\\n" >/dev/clipboard'
 d='make $coefficiency check_concinnity 2>&1 |less -S -N'
 e='sed -f diagnostics.sed ../log 2>&1 |less -S'
 f='pushd /tmp; /opt/lmi/src/lmi/test_schemata.sh 2>&1 |less; popd'
 
 print -rs $b ; echo $b ; eval $b
-# '/dev/clipboard' is a cygwinism.
-#print -rs $c ; echo $c
 print -rs $d ; echo $d
 print -rs $e ; echo $e
 print -rs $f ; echo $f
 
 unset a
 unset b
-unset c
 unset d
 unset e
 unset f



reply via email to

[Prev in Thread] Current Thread [Next in Thread]