Is there any way (supported or otherwise) to set Readline's rl_readline_name variable from Ruby's Readline module? Or even to read it to find out the current value?
It seems to be only marginally documented and supported in the C library, with about the only mention being how to use the value in .inputrc to conditionalise settings.
$if Ruby/$endifdefinition in.inputrcto verify it. Meh. It looks as though that cell isn't exposed through the Ruby bindings, but I haven't finished searching. Thanks for the find!.inputrc. Second goal is to make the Ruby interface more closely resemble the underlying C interface.rl_readline_nameis meant to be set by the end user (example), you could useINPUTRCenv var to load a different .inputrc file. you could useRelinewhich is the default ruby implementation of readline now and patch this part to maybe set application name from env.