For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > March 2008 > How to send UP arrow key to popen child









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to send UP arrow key to popen child
Bin Chen

2008-03-21, 4:36 am

Hi,

I am using popen(..., "w") to open a process and write the command to
it. Originally the program can receive UP arrow/DOWN arrow key event,
but I don't know how to send these keys through fwrite.

Thanks in advance.

Bin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com