|
Home > Archive > Unix Programming > September 2006 > what is hardware insert/delete line feature described in ncurses?
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 |
what is hardware insert/delete line feature described in ncurses?
|
|
|
| Hi all
I can't catch the concept of "hardware insert/delete line feature"which
described in ncurses's control subroutines.
for example.
Examples for the idlok subroutine are:
1.. To enable curses to use the hardware insert/delete line feature in
stdscr, enter:
idlok(stdscr, TRUE);
2.. To force curses not to use the hardware insert/delete line feature in
the user-defined window my_window , enter:
idlok(my_window, FALSE);
so what is hardware insert/delete line feature ?thank you very much & best
wishes
your key9
| |
| Barry Margolin 2006-09-10, 1:26 am |
| In article <ee00fs$6fi$1@news.yaako.com>, "key9" <iamkey9@126.com>
wrote:
> so what is hardware insert/delete line feature ?thank you very much & best
> wishes
It's the ability to send an escape sequence to the terminal that tells
it to open up one or more lines anywhere on the screen (scrolling the
lines below them down to make room) or delete one or more lines
(scrolling the lines below them up to fill in).
E.g. Suppose you have a 10-line terminal containing:
1
2
3
4
5
6
7
8
9
10
and the current cursor position is on line 5. If you send the escape
sequence to insert 3 lines, the screen will then look like:
1
2
3
4
5
6
7
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
| |
|
| Humm I think I got that, thank you very much
|
|
|
|
|