NAME
deleteln, wdeleteln, insdelln, winsdelln, insertln, winsertln - delete and insert lines in a curses window
SYNOPSIS
#include <curses.h> int deleteln(void); int wdeleteln(WINDOW *win); int insdelln(int n); int winsdelln(WINDOW *win, int n); int insertln(void); int winsertln(WINDOW *win);
DESCRIPTION
The deleteln and wdeleteln routines delete the line under the cursor in the window; all lines below the current line are moved up one line. The bottom line of the window is cleared. The cursor position does not change. The insdelln and winsdelln routines, for positive n, insert n lines into the specified window above the current line. The n bottom lines are lost. For negative n, delete n lines (starting with the one under the cursor), and move the remaining lines up. The bottom n lines are cleared. The current cursor position remains the same. The insertln and winsertln routines insert a blank line above the current line and the bottom line is lost.
RETURN VALUE
All routines return the integer ERR upon failure and an OK (SVr4 specifies only "an integer value other than ERR") upon successful completion. X/Open defines no error conditions. In this implementation, if the window parameter is null, an error is returned.
PORTABILITY
These functions are described in the XSI Curses standard, Issue 4. The standard specifies that they return ERR on failure, but specifies no error conditions.
NOTES
Note that all but winsdelln may be macros. These routines do not require a hardware line delete or insert feature in the terminal. In fact, they will not use hardware line delete/insert unless idlok(..., TRUE) has been set on the current window.
SEE ALSO
ncurses(3NCURSES) deleteln(3NCURSES)
More Linux Commands
manpages/intro.1.html
intro(1) - Introduction to user commands - Linux man page...
Section 1 of the manual describes user commands and tools, for example, file manipulation tools, shells, compilers, web browsers, file and image viewers and edi
manpages/sane-cardscan.5.html
sane-cardscan(5) - SANE backend for Corex CardScan usb scann
The sane-cardscan library implements a SANE (Scanner Access Now Easy) backend which provides access to the Corex CardScan 800c & 600c small-format scanners. The
manpages/XvGetVideo.3.html
XvGetVideo(3) - capture video from a drawable (Man Page)....
outputs video from a drawable. The position and size of the destination rectangle is specified by vx, vy, vw, and vh. The position and size of the source rectan
manpages/snmp_set_var_objid.3.html
snmp_set_var_objid(3) - netsnmp_varbind_api functions.......
The functions dealing with variable bindings fall into four groups dealing with the creation, setting of values, output and deletion of varbinds. Creation snmp_
top/.del/commands.html
Important Linux Commands, Concepts, Examples and Explanations
Linux Commands, Concepts and the Command Interpreter. Examples and explanations for I/O, redirection, expansion, pipes, etc. Contains links to Linux manpages.
manpages/strtold.3.html
strtold(3) - convert ASCII string to floating-point number
The strtod(), strtof(), and strtold() functions convert the initial portion of the string pointed to by nptr to double, float, and long double representation, r
manpages/cue2toc.1.html
cue2toc(1) - convert CUE to TOC format - Linux manual page
Cue2toc converts cuefile from CUE to TOC format and writes the result to tocfile. If either cuefile or tocfile is omitted or a single dash cue2toc reads from st
manpages/COLOR_PAIRS.3ncurses.html
COLOR_PAIRS(3ncurses) - curses global variables (Man Page)
This page summarizes variables provided by the curses library. A more complete description is given in the curses(3X) manual page. Depending on the configuratio
manpages/sane-canon_dr.5.html
sane-canon_dr(5) - SANE backend for Canon DR-series scanners
The sane-canon_dr library implements a SANE (Scanner Access Now Easy) backend which provides access to some Canon DR-series scanners. This document describes ba
manpages/IO::InnerFile.3pm.html
IO::InnerFile(3pm) - define a file inside another file......
If you have a filehandle that can seek() and tell(), then you can open an IO::InnerFile on a range of the underlying file. PUBLIC INTERFACE new FILEHANDLE , [ S
manpages/Tcl_GetDouble.3.html
Tcl_GetDouble(3) - convert from string to integer, double, o
These procedures convert from strings to integers or double-precision floating-point values or booleans (represented as 0- or 1-valued integers). Each of the pr
manpages/backtrace_symbols.3.html
backtrace_symbols(3) - support for application self-debuggin
backtrace() returns a backtrace for the calling program, in the array pointed to by buffer. A backtrace is the series of currently active function calls for the
