# HG changeset patch # User Henry S. Thompson # Date 1624953640 0 # Node ID 3bc1d24363a1848b39dea943d8dfe87acc931af7 # Parent 53006db548712ca49a331dee13675d1451ed2921 bits and pieces diff -r 53006db54871 -r 3bc1d24363a1 .hgignore --- a/.hgignore Tue Jun 29 07:53:47 2021 +0000 +++ b/.hgignore Tue Jun 29 08:00:40 2021 +0000 @@ -70,3 +70,9 @@ nohup.out p3working.tar.gz .Xauthority +data +.ant +.local +.spack +atest +bin/__pycache__ diff -r 53006db54871 -r 3bc1d24363a1 .lesshst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.lesshst Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,103 @@ +.less-history-file: +.search +"buffer +"^> +"get_ref +"json +"xml +"backends.py +"extractor +"config +"user +"rb +"avail +"krb +"ker +"Ker +"rb +"gssapi +"GSSAPI +"provider +"gssapi +"GSSPAI +"GSSAPI +"kerb +"Kerb +"KERB +"458_5730 +"resolve +"plumpton +"to-command +"650 +"650 +"plumpton +"995 650 +"995 65 +"fno +"plumpton +"news +"\\\\ +" +"_176 +"17:44 +"Feb +"Redo +"\(S\) +"permission +"rwx +"x +"S +"\bS\b +"setuid +"com, +"application/pdf +""application.pdf" +""application.pdf".*\.20 +"length": +"104800 +"application/pdf.*languages +"post +"x +"hao +"-S +"robots +"ac,e +"uk,ac,ed,i +"acc,ed,inf +",ac,ed,inf +"output +"process +"output +"--to-command +"--check +"stdin +"pipe +"input +"argv +"arg +"shift +"$# +"\$# +"shift +"quiet +"output +"--no-warn +"--no- +"warning +"no-warn +"warn +"sql +"db +"-k +"user +"man: +"robotstxt +"diagnostic +""status" +"Last-Modified +"Modified +"> +"dc007 +""length": "0" +.search +""offset": "0" diff -r 53006db54871 -r 3bc1d24363a1 .tmux.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.tmux.conf Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,5 @@ +# scroll-bar? see https://superuser.com/questions/310251/use-terminal-scrollbar-with-tmux +set -ga terminal-overrides ',xterm*:smcup@:rmcup@' + +# mousewheel scrolling +set -g mouse on diff -r 53006db54871 -r 3bc1d24363a1 .wget-hsts --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.wget-hsts Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,4 @@ +# HSTS 1.0 Known Hosts database for GNU Wget. +# Edit at your own risk. +# +qa-reports.gentoo.org 0 0 1619019555 300 diff -r 53006db54871 -r 3bc1d24363a1 00README --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/00README Tue Jun 29 08:00:40 2021 +0000 @@ -0,0 +1,5 @@ +gentoo/startprefix +Use emerge, e.g. +USE="xft mult gdbm berkdb debug alsa athena xim png xpm jpeg X" emerge --ask =app-editors/xemacs-21.5.34-r5 +emerge --ask =app-misc/tmux +in order to install new packages diff -r 53006db54871 -r 3bc1d24363a1 bin/plinks.py --- a/bin/plinks.py Tue Jun 29 07:53:47 2021 +0000 +++ b/bin/plinks.py Tue Jun 29 08:00:40 2021 +0000 @@ -1,12 +1,14 @@ -#!/lustre/sw/miniconda3/bin/python3 +#!/usr/bin/env python3 import sys,pdfx,traceback,os from datetime import datetime from os import path def run(file): global pdf - pdf=pdfx.PDFx(file,limit=60) - return (pdf.get_references_as_dict(),pdf.limited) + pdf=pdfx.PDFx(file#,limit=60 + ) + return (pdf.get_references_as_dict(),False#pdf.limited + ) tarnum=sys.argv[1] print(tarnum, sys.argv, os.getcwd(),file=sys.stderr)