we have a function in rpcclient and smbclient that swallows SMB session keepalive packets. how should this function be used when the GNU readline library call is being used instead of fgets(stdin)? luke