Status: offline
Registered: 04/21/2007
Posts: 134
|
My OS is Debian (Lenny) - and it works very good with IRAF. There is only this problem with the script zx.cl:[code:1:057e62f612]
procedure zx# task zx=home$zx.clint n=3 { prompt="Sets" }
real scale=10. { prompt="Scale" }
real sxy=1.25 { prompt="Scale X/Y" }begintablestinfo("zx.dat")
k=tinfo.nrows
print("We have ",k," rows")printf("%4.1f %4.1f\n%4.1f %4.1f\n",-sxy*scale,-scale,sxy*scale,scale) |
sgraph(plt.crvc=9,marker="point",app-)#for (i=1; i<=n; i+=1) sgraph("z.dat c"//(2*i-1)//" c"//(2*i),
# app+,marker="point",plt.crvc=i)
for (j=1; j<=k; j+=1) {
printf(" %4d",j)
if (access("zx.tmp")) del("zx.tmp")
tprint("zx.dat",showr-,showh-,rows=j,>"zx.tmp")
for (i=1; i<=n; i+=1) sgraph("zx.tmp c"//(2*i-1)//" c"//(2*i),
app+,marker="box",plt.crvc=i)
# scan(j)
}
if (access("zx.tmp")) del("zx.tmp")
end
[/code:1:057e62f612]The data zx.dat is like this:[code:1:057e62f612]
0.000 0.000 1.300 0.000 1.500 0.000
0.000 -0.005 1.299 0.050 1.496 0.090
0.000 -0.010 1.297 0.100 1.485 0.179
0.001 -0.015 1.293 0.150 1.468 0.265
0.001 -0.020 1.288 0.199 1.445 0.348
0.002 -0.025 1.282 0.249 1.416 0.427
0.003 -0.030 1.274 0.298 1.384 0.501
0.004 -0.035 1.264 0.347 1.348 0.571
0.005 -0.039 1.253 0.395 1.310 0.637
0.006 -0.044 1.241 0.443 1.270 0.698
[/code:1:057e62f612]but has ca 2000 lines. When I run the script once there is no problem, but running it for the 2nd time, xgterm window with IRAF ecl (last version) disapears.The GNOME gives this message:[code:1:057e62f612]
Nautilius can't be used now, due to an unexpected error.
Nautilus can't be used now, due to an unexpected error from Bonobo when
attempting to locate the factory. Killing bonobo-activation-server and
restarting Nautilus may help fix the problem.
[/code:1:057e62f612]and the xdpyinfo gives:[code:1:057e62f612]
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10402000
X.Org version: 1.4.2
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x3e00024, revert to PointerRoot
number of extensions: 33
BIG-REQUESTS
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XAccessControlExtension
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-DRI
XFree86-Misc
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1screen #0:
dimensions: 1280x1024 pixels (511x409 millimeters)
resolution: 64x64 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x6e
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xfa8033
KeyPressMask KeyReleaseMask EnterWindowMask
LeaveWindowMask ExposureMask StructureNotifyMask
SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask
PropertyChangeMask ColormapChangeMask
number of visuals: 17
default visual id: 0x23
visual:
visual id: 0x23
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x29
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2a
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2b
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2c
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2d
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2e
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2f
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x30
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x31
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x32
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x6c
class: TrueColor
depth: 32 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
[/code:1:057e62f612]Thank you.
|