rl_bind_key equvilalent for windows

C

chaitanya.sharma

Hi,

I am looking for a function that is similar to rl_bind_key (linux) for
windows. Is there any such function. I am creating a small shell and
want to detect if a particular key is pressed on the shell. Do let me
know if theres a solution.

Regards,
Chaitanya
 
C

CBFalconer

I am looking for a function that is similar to rl_bind_key (linux)
for windows. Is there any such function. I am creating a small
shell and want to detect if a particular key is pressed on the
shell. Do let me know if theres a solution.

No. This is a FAQ. See below.

--
Some useful references about C:
<http://www.ungerhu.com/jxh/clc.welcome.txt>
<http://www.eskimo.com/~scs/C-faq/top.html>
<http://benpfaff.org/writings/clc/off-topic.html>
<http://anubis.dkuug.dk/jtc1/sc22/wg14/www/docs/n869/> (C99)
<http://www.dinkumware.com/refxc.html> (C-library}
<http://gcc.gnu.org/onlinedocs/> (GNU docs)
<http://clc-wiki.net> (C-info)
 
K

Kenny McCormack

No. This is a FAQ. See below.

Translation for the OP's benefit: Chuck has no idea whether or not there
is such a thing in Windows. What he is saying (correctly, for what it
is worth, i.e., bupkus) is that there is no such thing in "Standard C".

HTH

Some useful references about C and this newsgroup:

http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language

and, coming soon (we hope):

http://en.wikipedia.org/wiki/comp.lang.c
 
K

Kenneth Brody

Kenny said:
Translation for the OP's benefit: Chuck has no idea whether or not there
is such a thing in Windows. What he is saying (correctly, for what it
is worth, i.e., bupkus) is that there is no such thing in "Standard C".
[...]

For the OP's further benefit...

What this boils down to is that you will need to go to one of the
Windows newsgroups, and describe to them what "rl_bind_key" does,
they should be able to point you to an equivalent Windows API call,
should one exist.

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:[email protected]>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top