How can I move the cursor around the screen?

How can I move the cursor around the screen?




How can I move the cursor around the screen? I want to do full screen
editing without using curses.




Seriously, you probably don't want to do this. Curses knows
about how to handle all sorts of oddities that different terminal types
exhibit; while the termcap/terminfo data will tell you whether any given
terminal type possesses any of these oddities, you will probably find
that correctly handling all the combinations is a huge job.



However, if you insist on getting your hands dirty (so to speak), look
into the termcap functions, particularly tputs(),
tparm() and tgoto().






Home FAQ