X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=pxboard;fp=pxboard;h=0000000000000000000000000000000000000000;hb=b10966961672512a212cc61192d0b08cf91c4c0c;hp=3a2a97a240e9c39260ad1297cf1160d049c999d5;hpb=e147dd97d26b46902200491dbe0a8755266555d3;p=xboard.git diff --git a/pxboard b/pxboard deleted file mode 100644 index 3a2a97a..0000000 --- a/pxboard +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/sh -# -# pxboard -# Usage: cat game |pxboard [xboard-options] -# or (in rn or xrn) save an article to: |pxboard [xboard-options] -# -# This script saves its standard input to a temporary file and invokes -# "xboard -loadGameFile file &" on the file. Although it is possible -# to pipe games directly into xboard using "xboard -lgf -", this -# script is nicer in two ways: (1) xboard can seek on the temporary -# file, so the popup game list, Load Previous Game, and Reload Same -# Game all work. (2) The script runs xboard in the background and -# exits. So if you save a news article by piping it into this script, -# you immediately get back control of your news reader. -# -# The script turns on -noChessProgram mode by default. If you want a -# chess program started, give the -xncp option. -# -tmp=`mktemp "${TMPDIR:-/tmp}/pxboard.$$.XXXXXX"` || exit 1 -cat > "$tmp" -( xboard -ncp -lgf "$tmp" "$@" ; rm "$tmp" ) &