[kde-freebsd] Konsole / kpty porting (long)

Kris Moore kris at pcbsd.com
Mon Jul 14 17:36:49 CEST 2008


Paweł Wieczorek wrote:
> Hi.
> 
> Propably i find a solution for this problem (work on my host). Propably
> FIONREAD is not well working for our tty_pty pseudo terminal driver.
> When I used TIOCOUTQ instead of FIONREAD, then I get proper value
> of available bytes to read.
> 
> I am attaching a my helper program. If someone will still have problem
> with kpty then can more easy work with device than modyfing kpty code.
> 
> 
> !DSPAM:1,487b2f1120035676310706!

GREAT!

I can confirm this does work here, and Konsole is working now!!

I've put together a patch file if anybody wants to try it out. Just 
throw this file into /usr/ports/x11/kdelibs4/files and reinstall 
kdelibs. Is there any chance we can get this thrown into area51? This is 
a huge bug fixed :)


-- 

Kris Moore
PC-BSD Software
http://www.pcbsd.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-kpty-kptydevice.cpp
Url: http://mail.kde.org/pipermail/kde-freebsd/attachments/20080714/a5f5e21b/attachment-0001.cpp 


More information about the kde-freebsd mailing list