Am Thu, 5 Jun 2003 15:46:54 +0300 schrieb Ville Syrj�l�:
> On Thu, Jun 05, 2003 at 12:42:57PM -0200, Andreas Volz wrote:
> > Am Thu, 5 Jun 2003 13:41:19 +0300 schrieb Ville Syrj�l�:
> >
> > > On Thu, Jun 05, 2003 at 11:38:41AM -0200, Andreas Volz wrote:
> > > > Hi,
> > > >
> > > > I tried to make some directfb screenshots. I put this into my
> > > > ~/.directfb.rc :
> > >
> > > Make that ~/.directfbrc and it should work.
> >
> > My failure! It has the name ~/.directfbrc and doesn't work.
>
> Does the directory actually exist?
>
> Please run 'strace dfbinfo' to see what's going on.
I tried it again as root and another .directfbrc:
screenshot-dir=/root/temp/
strace dfbinfo:
....
fstat64(3, {st_mode=S_IFREG|0644, st_size=747333, ...}) = 0
old_mmap(NULL, 32308, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40091000
mprotect(0x40098000, 3636, PROT_NONE) = 0
old_mmap(0x40098000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) =
0x40098000
close(3) = 0
munmap(0x4005d000, 113389) = 0
modify_ldt(0x1, 0xbffff8cc, 0x10) = 0
getpid() = 1713
rt_sigaction(SIGRTMIN, {0x400859c0, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x40084c90, [], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x40085a10, [], 0x4000000}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff57c, 32, (nil), 0}) = 0
brk(0) = 0x8049164
brk(0x8049194) = 0x8049194
brk(0x804a000) = 0x804a000
geteuid32() = 0
open("/etc/directfbrc", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/directfbrc.dfbinfo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.directfbrc", O_RDONLY) = 3
write(2, "(*) parsing config file \'/root/."..., 45(*) parsing config file
'/root/.directfbrc'.
) = 45
fstat64(3, {st_mode=S_IFREG|0644, st_size=27, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4005d000
read(3, "screenshot-dir=/root/temp/\n", 4096) = 27
read(3, "", 4096) = 0
close(3) = 0
munmap(0x4005d000, 4096) = 0
open("/root/.directfbrc.dfbinfo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "\n", 1
) = 1
write(2, " ---------------------- Di"..., 69 ----------------------
DirectFB v0.9.17 ---------------------
) = 69
write(2, " (c) 2000-2002 conv"..., 64 (c) 2000-2002
convergence integrated media GmbH
) = 64
write(2, " (c) 2002 conv"..., 64 (c) 2002
convergence GmbH
) = 64
write(2, " ------------------------"..., 68
-----------------------------------------------------------
) = 68
write(2, "\n", 1
) = 1
write(2, "(*) Multi Application Core. (wit"..., 66(*) Multi Application Core. (with
MMX support) (2003-04-11 18:57)
) = 66
open("/dev/tty", O_RDONLY) = 3
....
say, if you need to see more lines...
thanks
Andreas
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.