The general conventions between and are the
following:
The windows are numbered from 0
to 31. Each window receives a constant number. When you kill a
window its number will be reused by a future window creation. See
currentwindow()
function (see §7.3.9 page ).
The current window,
is the window pointed at by the mouse, therefore the current edited
window. All functions refer to the current window except those for
selecting (see selectwindow() §7.3.9 page ) or
killing a window (see killwindow()
§7.3.9 page ).
The first character in a
window is numbered 0 (see currentposition()
§7.3.1 page , gotochar() §7.3.2 page
and thechar() §7.3.3 page ). This number is
incremented for each following character
(including newline) up to the end of the buffer.
The first line in a window is
numbered 0 (see gotoline() §7.3.2 page and
currentline()
§7.3.1 page ).
In most cases there is no window redisplay during
execution. Necessary redisplays are made when execution
ends and recovers control, or when you call the
redisplay function (see §7.3.8 page ).
Lionel Fournigault
Wed Apr 30 10:44:37 MET DST 1997