Re: showing a GIF or JPG to a sighted friend, from the console?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andor:

On Fri, Dec 03, 2004 at 03:04:30PM +0100, Andor Demarteau wrote:
> just install zgv, will do the trick for ya

I did an  apt-get install zgv svgalib-bin

The problem is:
each time I do  zgv file.jpg  or with lynx, by clicking on a png or jpg, 
it continues to say that "svgalib failed to initialize mouse", while I 
just have editted now /etc/vga/libsvga.config and uncommented
 mouse none
and I have recommented 
# mouse not configured

I don't understand! Maybe I put here below an output of some 
strace zgv path/file.png &>strace.txt:

execve("/usr/bin/zgv", ["zgv", "/home/olr/big_brlspeak_penguin-logo.png"], [/* 16 vars */]) = 0
uname({sys="Linux", node="starfish", ...}) = 0
brk(0)                                  = 0x80d8754
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=28080, ...}) = 0
old_mmap(NULL, 28080, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libvgagl.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240,\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=57456, ...}) = 0
old_mmap(NULL, 56544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000
old_mmap(0x4002c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x4002c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libvga.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\211"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=375760, ...}) = 0
old_mmap(NULL, 412124, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002d000
old_mmap(0x40082000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x55000) = 0x40082000
old_mmap(0x40089000, 35292, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40089000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300$\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=120952, ...}) = 0
old_mmap(NULL, 119916, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40092000
old_mmap(0x400af000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1d000) = 0x400af000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libpng12.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\\\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=147256, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x400b0000
old_mmap(NULL, 150260, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400b1000
old_mmap(0x400d5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x23000) = 0x400d5000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libtiff.so.4", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340C\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=317616, ...}) = 0
old_mmap(NULL, 317600, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400d6000
old_mmap(0x40122000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4c000) = 0x40122000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\27"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=67468, ...}) = 0
old_mmap(NULL, 70528, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40124000
old_mmap(0x40135000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10000) = 0x40135000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@5\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=134464, ...}) = 0
old_mmap(NULL, 136944, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40136000
old_mmap(0x40157000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x40157000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200^\1"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1244080, ...}) = 0
old_mmap(NULL, 1254244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40158000
old_mmap(0x40280000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x127000) = 0x40280000
old_mmap(0x40288000, 9060, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40288000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4028b000
munmap(0x40018000, 28080)               = 0
dup(2)                                  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=5003, ...}) = 0
close(3)                                = 0
open("/dev/console", O_WRONLY)          = 3
ioctl(3, VT_GETSTATE, 0xbffffc50)       = 0
ioctl(3, VIDIOC_QUERYCAP or VT_OPENQRY, 0xbffffc48) = 0
stat64("/dev/tty5", {st_mode=S_IFCHR|0600, st_rdev=makedev(4, 5), ...}) = 0
getuid32()                              = 0
ioctl(3, VIDIOC_G_COMP or VT_ACTIVATE, 0x7) = 0
close(3)                                = 0
fork()                                  = 2417
wait4(-1, NULL, 0, NULL)                = 2417
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(0)                           = ?

Osvaldo.


_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]