Page 1 of 1

Problems capturing window (Solaris)

Posted: Wed Mar 24, 2004 7:14 pm
by Philip
I get the error "Error: Can't open file" if I try to capture a window on Solaris.

File-capture->Select a Window

Can't open file </var/tmp/aaauza4xn>

I can, and have been for a long time, working around it by
File->capture->Single window. That will work fine.

I am trying to upgrade to 1.68 xnview to see if it goes away. But, 1.68 is giving me other trouble to install.... which I will post separately.

Thanks for all advices on this.
Philip

Re: Problems capturing window (Solaris)

Posted: Mon Apr 05, 2004 8:26 am
by xnview
Philip wrote:I get the error "Error: Can't open file" if I try to capture a window on Solaris.
File-capture->Select a Window
Can't open file </var/tmp/aaauza4xn>
I can, and have been for a long time, working around it by
File->capture->Single window. That will work fine.
Which version?
Pierre.

Posted: Tue Apr 06, 2004 12:59 am
by Philip
v1.25 is the version I'm using on Solaris.

I want to upgrade to latest but I'm having a problem with the installation. Which I posted on another thread.

Thanks Pierre.

Posted: Mon Apr 12, 2004 7:47 pm
by Philip
%> ./xnview.sh
./xnview.sh: test: unknown operator /sbin/uname
%>
%> /sbin/uname
SunOS
%>

Posted: Sat Apr 24, 2004 8:54 am
by xnview
Philip wrote:%> ./xnview.sh
./xnview.sh: test: unknown operator /sbin/uname
%>
%> /sbin/uname
SunOS
%>
Ok, i check. And sh xnview.sh?
Pierre.

Posted: Mon Jun 14, 2004 1:25 pm
by Cyril
xnview wrote:
Philip wrote:%> ./xnview.sh
./xnview.sh: test: unknown operator /sbin/uname
%>
%> /sbin/uname
SunOS
%>
Ok, i check. And sh xnview.sh?
Pierre.
No in fact, ksh xnview.sh (Korn shell) should work with -e file condition...
To work in both shell (sh or ksh) xnview.sh should be written with
-x file conditon (file exists and is executable):
if [ -x /sbin/uname -o -x /bin/uname ]; then