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/vfs_time_audit.8.html
vfs_time_audit(8) - samba vfs module to log slow VFS operati
This VFS module is part of the samba(7) suite. The time_audit VFS module logs system calls that take longer than the number of milliseconds defined by the varia
manpages/sigfillset.3.html
sigfillset(3) - POSIX signal set operations. (Man Page).....
These functions allow the manipulation of POSIX signal sets. sigemptyset() initializes the signal set given by set to empty, with all signals excluded from the
manpages/vfs_streams_depot.8.html
vfs_streams_depot(8) - EXPERIMENTAL module to store alternat
This EXPERIMENTAL VFS module is part of the samba(7) suite. The vfs_streams_depot enables storing of NTFS alternate data streams in the file system. As a normal
manpages/XShmGetImage.3.html
XShmGetImage(3) - X Shared Memory extension functions.......
XShmQueryExtension checks to see if the shared memory extensions are available for the specified display. XShmQueryVersion returns the version numbers of the ex
manpages/pcre_table.5.html
pcre_table(5) - format of Postfix PCRE tables (Man Page)....
pcre_table.5 - The Postfix mail system uses optional tables for address rewriting, mail routing, or access control. These tables are usually in dbm or db format
manpages/s_server.1ssl.html
s_server(1ssl) - SSL/TLS server program - Linux manual page
The s_server command implements a generic SSL/TLS server which listens for connections on a given port using SSL/TLS. OPTIONS -accept port the TCP port to liste
manpages/snmpd.internal.5.html
snmpd.internal(5) - internal configuration of the Net-SNMP a
The snmpd.conf(5) man page defines the syntax and behaviour of the main configuration directives that can be used to control the operation of the Net-SNMP agent
manpages/vcs.4.html
vcs(4) - virtual console memory (Special - Linux man page)
/dev/vcs0 is a character device with major number 7 and minor number 0, usually of mode 0644 and owner root.tty. It refers to the memory of the currently displa
manpages/systemd-notify.1.html
systemd-notify(1) - Notify init system about start-up comple
systemd-notify may be called by daemon scripts to notify the init system about status changes. It can be used to send arbitrary information, encoded in an envir
manpages/acl_create_entry.3.html
acl_create_entry(3) - create a new ACL entry (Man Page).....
The acl_create_entry() function creates a new ACL entry in the ACL pointed to by the contents of the pointer argument acl_p. On success, the function returns a
manpages/gnutls_x509_crt_get_issuer.3.html
gnutls_x509_crt_get_issuer(3) - API function (Man Page).....
Return the Certificates Issuer DN as an opaque data type. You may use gnutls_x509_dn_get_rdn_ava() to decode the DN. Note that dn should be treated as constant.
manpages/passwd.5.html
passwd(5) - password file (File formats - Linux man page)...
The /etc/passwd file is a text file that describes user login accounts for the system. It should have read permission allowed for all users (many utilities, lik
