Subject: Re: gFTP gtk1 error
To: None <warpman@kv.net.pl, netbsd-help@netbsd.org>
From: Chavdar Ivanov <ci4ic4@gmail.com>
List: netbsd-help
Date: 11/30/2006 10:38:51
...or just modify gftp like this:

#!/bin/sh

prefix=/usr/pkg
exec_prefix=${prefix}

if [ "$DISPLAY " != " " ] && [ -f ${exec_prefix}/bin/gftp-gtk ]; then
        PTHREAD_DIAGASSERT=A    exec ${exec_prefix}/bin/gftp-gtk
${1+"$@"} 2> /dev/null
elif [ -f ${exec_prefix}/bin/gftp-text ]; then
        exec ${exec_prefix}/bin/gftp-text ${1+"$@"}
else
        echo "Error: Can't find gFTP binaries installed in ${exec_prefix}/bin"
fi


....
>
> Chavdar Ivanov
>