c - forkpty + libreadline: auto completion issues -
i have small tcp client/server application in c , on linux client can connect e.g. via telnet server-side cli. on server, after accept called, forkpty(3) executed , traffic between master (pty) , socket forwarded. slave (pty) implements cli uses libreadline. works well.
my question is, how libreadline auto-completion work? have implemented auto-completion , can use stand-alone on shell, not on pty (two tabs printed instead). hints nice!
Comments
Post a Comment