Date: Sun, 29 Jun 2003 13:46:21 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Alexander Kabaev <kabaev@mail.ru> Cc: David Xu <davidxu@freebsd.org> Subject: Re: libkse & konsole Message-ID: <Pine.GSO.4.10.10306291344210.1290-100000@pcnet5.pcnet.com> In-Reply-To: <20030629133250.27346449.kabaev@mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Jun 2003, Alexander Kabaev wrote:
> On Sun, 29 Jun 2003 11:14:06 -0400 (EDT)
> Daniel Eischen <eischen@vigrid.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 :)
Any idea as to why IOCGETA fails?
> Just use devname there already.
Any idea as to why it aborts under libkse and not under libc_r?
--
Dan Eischen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10306291344210.1290-100000>
