Lines Matching defs:section
259 A command-line consists of ``section''s. A section is a part of the
260 line which may be displayed on the screen, but a section is never
261 displayed with another section simultaneously.
263 Each section is basically 77 or less characters, but the exception
264 is the first section, which is 78 or less characters, because the
267 The first section contains a prompt and a command-line (or the
269 screen). So, in the first section, the number of command-line
276 is absolutely a section before each section. If there is a section
277 after another section, this section consists of 77 characters and
278 `>' at the last position. The last section has 77 or less
281 Each section other than the last shares some characters with the
282 previous section. This region is called ``margin''. If the cursor
283 is put at the magin which is shared by the first section and the
284 second, the first section is displayed. Otherwise, a displayed
285 section is switched to another section, only if the cursor is put
286 outside that section. */
293 int xpos, lpos, c, section;
321 /* If the cursor is in the first section, display the first section
323 if (section == 1 && plen + lpos < CMDLINE_WIDTH)
382 /* Recompute the section number. */
384 section = 0;
386 section = ((lpos + plen - CMDLINE_WIDTH)
394 /* If SECTION is the first section, print the prompt, otherwise,
396 if (section == 0)
412 if (section == 0)
430 start = ((section - 1) * (CMDLINE_WIDTH - 1 - CMDLINE_MARGIN)