[FreeNX-kNX] NX 0.7.1: nxdialog fix now working and in SVN

Wolfgang Schweer schweer at cityweb.de
Tue Oct 30 17:01:35 UTC 2007


Am Dienstag (30. Oktober 2007, 17:54) schrieb Fabian Franz:

> Heya, I can't find the original mail to respond to, so I respond here :-):
> 
> The nxdialog fix to spawn the commercial client with the right arguments 
> is now working. The new fix (against the old fix) is:
> 
> 
> Index: nxdialog
> ===================================================================
> --- nxdialog    (Revision 412)
> +++ nxdialog    (Arbeitskopie)
> @@ -26,6 +26,7 @@
>         done
>  }
> 
> +PARAMS=( "$@" )
>  INPUTS=$(requote "$@") #JJK: Save input parameter line...
> 
>  TEMP=`getopt -a -o d: --long local,noautokill,dialog:,caption:,message:,display:,printer:,parent: -n $(basename $0) -- "$@"`
> @@ -77,7 +78,7 @@
> 
>  NXCLIENT="/usr/NX/bin/nxclient"
>  [ -x "$NXCLIENT" -a "$DIALOG_TYPE" != "printer" -a "$(file -bi $NXCLIENT)" != 'application/x-shellscript' ] \
> -       && exec ${NXCLIENT} $INPUTS
> +       && exec ${NXCLIENT} "${PARAMS[@]}"
> 
>  # FIXME: This should be COMMAND_XDIALOG, ...
>  if [ -x /usr/bin/Xdialog ]
 
Hi Fabian,

this time its's perfectly done. Thanks a lot.
 
> PS: This time I even tested it ;-). Thx.

:)

Wolfgang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20071030/c974ab6b/attachment.sig>


More information about the FreeNX-kNX mailing list