Skip to content
Advertisement

Tag: readline

Can GNU Readline handle multiple streams?

I’m building a telnet application which uses GNU Readline to handle console input. Current implementation forks a new child for every new client connection – this assigns one readline instance for each child process. Fork-type network servers are not the most efficient, so I’d like to use poll/epoll instead, but for that readline would have to be configured to work

Compile Readline for x86 system (static mode)

I am writing a program in QT Creator, for the x86 architecture, using Debian 9 x86. The program will use GNU Readline library [8.0]. Also, my program must be statically built (QT is already statically built). For this I downloaded Readline from here. Then performed the configuration for the static assembly: then i performed the construction: and installing libraries In

Prevent output of carriage return with readline

I’m new to the Gnu Readline library. I need to call the readline() function when the cursor is at the very last line of the console. But I need to prevent scrolling down when the Return key is pressed; so I’m looking for a way to prevent the output of the carriage return : I’m sure it’s possible, but can’t

Advertisement