<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nick-black.com/dankwiki/index.php?action=history&amp;feed=atom&amp;title=Readline</id>
	<title>Readline - revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nick-black.com/dankwiki/index.php?action=history&amp;feed=atom&amp;title=Readline"/>
	<link rel="alternate" type="text/html" href="https://nick-black.com/dankwiki/index.php?title=Readline&amp;action=history"/>
	<updated>2026-07-05T23:51:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://nick-black.com/dankwiki/index.php?title=Readline&amp;diff=4983&amp;oldid=prev</id>
		<title>Dank: Created page with &quot;GNU libreadline is the GNU component for line-based user interfaces. It supports history, completion, editing using vim and emacs keybindings, etc. Its equivalent in the [...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nick-black.com/dankwiki/index.php?title=Readline&amp;diff=4983&amp;oldid=prev"/>
		<updated>2012-06-12T19:20:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;GNU libreadline is the GNU component for line-based user interfaces. It supports history, completion, editing using &lt;a href=&quot;/dankwiki/index.php?title=Vim&quot; title=&quot;Vim&quot;&gt;vim&lt;/a&gt; and emacs keybindings, etc. Its equivalent in the [...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;GNU libreadline is the GNU component for line-based user interfaces. It supports history, completion, editing using [[vim]] and emacs keybindings, etc. Its equivalent in the [[FreeBSD|BSD]] world is libedit.&lt;br /&gt;
&lt;br /&gt;
==Building with readline==&lt;br /&gt;
[[Autotools]] provides a &amp;lt;tt&amp;gt;AX_LIB_READLINE&amp;lt;/tt&amp;gt; macro in the Autoconf Archives. It does not appear to provide &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; information.&lt;br /&gt;
&lt;br /&gt;
==Configuration==&lt;br /&gt;
Upon intiialization, libreadline reads the files &amp;lt;tt&amp;gt;/etc/inputrc&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;$HOME/.inputrc&amp;lt;/tt&amp;gt; to configure itself. Configuration can be performed on a per-program basis using conditional directives based off application names. An application sets its readline name by setting &amp;lt;tt&amp;gt;rl_readline_name&amp;lt;/tt&amp;gt; before calling any libreadline functions.&lt;br /&gt;
&lt;br /&gt;
==Prompt==&lt;br /&gt;
The prompt can be read from &amp;lt;tt&amp;gt;rl_prompt&amp;lt;/tt&amp;gt;. It ought be set via argument to &amp;lt;tt&amp;gt;readline()&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;rl_set_prompt()&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Dank</name></author>
	</entry>
</feed>