[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libkse & konsole
- Subject: libkse & konsole
- From: kabaev at mail.ru (Alexander Kabaev)
- Date: Sun Jun 29 10:35:23 2003
On Sun, 29 Jun 2003 11:14:06 -0400 (EDT)
Daniel Eischen <eischen_(_at_)_vigrid_(_dot_)_com> wrote:
> On Sun, 29 Jun 2003, Arjan van Leeuwen wrote:
>
> > if (! (str_ptr=ttyname(tt)) ) {
> > str_ptr = ttynam;
> > abort();
> > }
> >
> > This is where it is aborting. I'm not sure where to go from here.
> > Apparently, Konsole has difficulty chowning and chmodding the
> > /dev/ttypx that it wants to use.
>
> Can you debug the open(), chown(), and chmod() of the tty
> to see what happens (any errors?).
Do not bother. ttyname() calls a isatty() function which in turn calls
IOCGETA which in turn fails :)
Just use devname there already.
Visit your host, monkey.org