LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   C++ editing fucntion in console program? (https://www.linuxquestions.org/questions/programming-9/c-editing-fucntion-in-console-program-185855/)

lrt2003 05-25-2004 08:29 PM

C++ editing fucntion in console program?
 
Hi there!

Just curious to if this can be done... in a terminal program.. command line.. I want to output something from a file, that is set as something to input, but the user can move the cursor and edit text, etc. then save the changes to the text file.. any way to do this? not a full-blown editor like VIM or Emacs.. not taking up a whole console.. just a little function..?

keefaz 05-26-2004 02:59 PM

Look at the source of gpm, it can do things with mouse in console. Eg : reboot system by triple-clicking the left and right button and then click left button.


All times are GMT -5. The time now is 01:02 PM.