commit 9bdec11ad56a29f9e6e0e8b5cae60fa7397a841f from: Alex Arch <aa@manpager.org> date: Sun Mar 16 08:11:52 2025 UTC misc fixes commit - aa4988d112edf4f6d50cb1876a0af7d3637678d3 commit + 9bdec11ad56a29f9e6e0e8b5cae60fa7397a841f blob - 43183cdd2ea0356139f385cf9379ef51ee15a661 blob + eda661052184ab02ff091c3128d42f1b386e1302 --- Makefile +++ Makefile @@ -30,9 +30,9 @@ clean: -rm -rf $(TARBALL) $(DIST) dist: clean - mkdir -p $(DIST) - cp -rf CHANGES Makefile README examples/igpm pm2gpm version.mk \ - $(BIN) $(MAN) $(DIST) + mkdir -p $(DIST) $(DIST)/examples + cp -rf CHANGES Makefile README TODO version.mk $(BIN) $(MAN) $(DIST) + cp -rf examples/isecstore $(DIST)/examples tar cf - $(DIST) | gzip >$(TARBALL) rm -rf $(DIST) blob - ea35d96ef7bd8a34677b14d4df2ad8e0ede555bd blob + fd02e74809bd4124315b19cb4d5a04d93e5ac87a --- examples/isecstore +++ examples/isecstore @@ -47,21 +47,21 @@ for c in $clip; do nclip=$((nclip + 1)); done case $clip in tmux) test "$tmux" || exit 1 - GPM_COPY_INCMD='tmux loadb -b _secstore -' - GPM_COPY_OUTCMD='tmux showb -b _secstore' - GPM_COPY_DELCMD='tmux deleteb -b _secstore' + SECSTORE_COPY_INCMD='tmux loadb -b _secstore -' + SECSTORE_COPY_OUTCMD='tmux showb -b _secstore' + SECSTORE_COPY_DELCMD='tmux deleteb -b _secstore' ;; primary) test "$primary" || exit 1 - GPM_COPY_INCMD=xclip - GPM_COPY_OUTCMD='xclip -o' - GPM_COPY_DELCMD='xclip </dev/null' + SECSTORE_COPY_INCMD=xclip + SECSTORE_COPY_OUTCMD='xclip -o' + SECSTORE_COPY_DELCMD='xclip </dev/null' ;; clipboard) test "$clipboard" || exit 1 - GPM_COPY_INCMD='xclip -selection c' - GPM_COPY_OUTCMD='xclip -selection c -o' - GPM_COPY_DELCMD='xclip -selection c </dev/null' + SECSTORE_COPY_INCMD='xclip -selection c' + SECSTORE_COPY_OUTCMD='xclip -selection c -o' + SECSTORE_COPY_DELCMD='xclip -selection c </dev/null' ;; out) test "$out" || exit 1 @@ -71,7 +71,7 @@ out) exit 1 ;; esac -export GPM_COPY_INCMD GPM_COPY_OUTCMD GPM_COPY_DELCMD +export SECSTORE_COPY_INCMD SECSTORE_COPY_OUTCMD SECSTORE_COPY_DELCMD if [ "$#" -eq 1 ]; then pw="$1" @@ -80,13 +80,13 @@ else if [ "$#" -gt 0 ]; then for i; do printf %s\\n "$i"; done else - secstore ls + secstore list fi | $selector )" fi if $justprint; then - secstore show "$pw" + secstore print "$pw" else secstore copy "$pw" fi