/usr/share/doc/pari-gp/misc/xgp is in pari-gp 2.5.0-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
#
# A simple-minded script to launch gp in an xterm. The application name is
# set to "gp". You can use it to have specific X resources, to tell your
# window manager to use the icon pari.xbm, etc.
#
# set correct paths below
xterm="xterm"
gp="/usr/local/bin/gp"
$xterm -geometry 80x40 -sl 2000 -sb \
-name gp -title PARI/GP -rw -e $gp &
|