Debarshi's den - দেবর্ষির ডেড়া

Debarshi's posts with tag: readline

What are tags? You can give your posts a "tag", which is like a keyword. Tags help you find content which has something in common. You can assign as many tags as you wish to each post.
View posts by people in your network with tag readline
Blog EntryRead-a-lineMar 3, '07 1:17 AM
for everyone

Today at around 02:15 hours I learnt to use GNU Readline in C programs. No particular reason for me to do so, except that the recent changes in build infrastructure of GNU Parted initiated by Jim Meyering had suddenly caused the 'configure' script from detecting my system's Readline libraries. After my sleep-deprived eyes had failed to detect any particular bug in configure.ac, I landed up at the GNU Readline manual.

I must say I have not yet solved the Parted problem, but managed to scrible an elementary program with ample help from the manual. Find it here.

Dependencies:a. readlineb. readline-develc. termcapd. libtermcape. libtermcap-devel

Compilation instructions:$ gcc readline1.c -lreadline -ltermcap


© 2008 Multiply, Inc.    About · Blog · Terms · Privacy · Corp Info · Contact Us · Help