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

Re: xterm and the backspace key, the saga continues.



Quoting crispin@iinet.net.au (crispin@iinet.net.au):
> > Now my backspace works again, as does my delete key!!
> > So once again we fixed the xterm & bs problem. 
> > Stay tuned for the next episode of the xterm & bs saga!
> 
> This is wierd, because your xterm-color terminfo entry was correct!
> Just as an asside, does dumpkeys and showkey still not work in your
> now working xterm?

No they still won't function. But this is not TERM-setting related, it
has something to do with being in X or being on consoles and access
rights to /dev/tty0, /dev/console and /dev/tty:

open("/dev/tty", O_RDWR)                = 3
ioctl(3, 0x4b33, 0xbffff71b)            = -1 EINVAL (Invalid argument)
close(3)                                = 0
open("/dev/tty0", O_RDWR)               = -1 EACCES (Permission denied)
open("/dev/tty0", O_RDONLY)             = -1 EACCES (Permission denied)
open("/dev/tty0", O_WRONLY)             = -1 EACCES (Permission denied)
open("/dev/console", O_RDWR)            = -1 EACCES (Permission denied)
open("/dev/console", O_RDONLY)          = -1 EACCES (Permission denied)
open("/dev/console", O_WRONLY)          = -1 EACCES (Permission denied)
ioctl(0, 0x4b33, 0xbffff74b)            = -1 EINVAL (Invalid argument)
ioctl(1, 0x4b33, 0xbffff74b)            = -1 EINVAL (Invalid argument)
ioctl(2, 0x4b33, 0xbffff74b)            = -1 EINVAL (Invalid argument)
write(2, "Couldnt get a file descriptor re"..., 55) = 55
_exit(71)                               = ?

Thanks alot for all your help in this mess and for trying to fix my
problems. 

Regards,
Sander.

-- 
| 50 Fun Things to Do in an Elevator #25
| Holler "Chutes away!" whenever the elevator descends.
| 1024D/08CEC94D - 34B3 3314 B146 E13C 70C8  9BDB D463 7E41 08CE C94D



Reply to: