wvline(3ncurses)


NAME

   border, wborder, box, hline, whline, vline, wvline, mvhline, mvwhline,
   mvvline, mvwvline - create curses borders, horizontal and vertical
   lines

SYNOPSIS

   #include <curses.h>
   int border(chtype ls, chtype rs, chtype ts, chtype bs,
      chtype tl, chtype tr, chtype bl, chtype br);
   int wborder(WINDOW *win, chtype ls, chtype rs,
      chtype ts, chtype bs, chtype tl, chtype tr,
      chtype bl, chtype br);
   int box(WINDOW *win, chtype verch, chtype horch);
   int hline(chtype ch, int n);
   int whline(WINDOW *win, chtype ch, int n);
   int vline(chtype ch, int n);
   int wvline(WINDOW *win, chtype ch, int n);
   int mvhline(int y, int x, chtype ch, int n);
   int mvwhline(WINDOW *, int y, int x, chtype ch, int n);
   int mvvline(int y, int x, chtype ch, int n);
   int mvwvline(WINDOW *, int y, int x, chtype ch, int n);

DESCRIPTION

   The  border,  wborder and box routines draw a box around the edges of a
   window.  Other than the window,  each  argument  is  a  character  with
   attributes:

          ls - left side,
          rs - right side,
          ts - top side,
          bs - bottom side,
          tl - top left-hand corner,
          tr - top right-hand corner,
          bl - bottom left-hand corner, and
          br - bottom right-hand corner.

   If  any  of  these  arguments  is  zero, then the corresponding default
   values (defined in curses.h) are used instead:

          ACS_VLINE,
          ACS_VLINE,
          ACS_HLINE,
          ACS_HLINE,
          ACS_ULCORNER,
          ACS_URCORNER,
          ACS_LLCORNER,
          ACS_LRCORNER.

   box(win,  verch,  horch)  is  a  shorthand  for  the  following   call:
   wborder(win, verch, verch, horch, horch, 0, 0, 0, 0).

   The  hline  and whline functions draw a horizontal (left to right) line
   using ch starting at the current cursor position in  the  window.   The
   current  cursor  position  is  not  changed.   The  line  is  at most n
   characters long, or as many as fit into the window.

   The vline and wvline functions draw a vertical  (top  to  bottom)  line
   using  ch  starting  at the current cursor position in the window.  The
   current cursor position  is  not  changed.   The  line  is  at  most  n
   characters long, or as many as fit into the window.

RETURN VALUE

   All  routines return the integer OK.  The SVr4.0 manual says "or a non-
   negative integer if immedok is set", but this appears to be an error.

   X/Open does not  define  any  error  conditions.   This  implementation
   returns an error if the window pointer is null.

   Functions  with  a  "mv"  prefix  first perform a cursor movement using
   wmove, and return an error if the position is outside the window, or if
   the window pointer is null.

NOTES

   The  borders  generated  by these functions are inside borders (this is
   also true of SVr4 curses, though the fact is not documented).

   Note that border and box may be macros.

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.

SEE ALSO

   ncurses(3NCURSES), outopts(3NCURSES).

                                                          border(3NCURSES)


More Linux Commands

manpages/lessecho.1.html
lessecho(1) - expand metacharacters - Linux manual page.....
lessecho is a program that simply echos its arguments on standard output. But any metacharacter in the output is preceded by an escape character, which by defau

manpages/XML::DOM::Notation.3pm.html
XML::DOM::Notation(3pm) - An XML NOTATION in XML::DOM.......
XML::DOM::Notation extends XML::DOM::Node. This node represents a Notation, e.g. &lt;!NOTATION gs SYSTEM GhostScript&gt; &lt;!NOTATION name PUBLIC pubId&gt; &lt;!NOTATION name

manpages/glutMenuStatusFunc.3.html
glutMenuStatusFunc(3) - sets the global menu status callback
glutMenuStatusFunc sets the global menu status callback so a GLUT program can determine when a menu is in use or not. When a menu status callback is registered,

manpages/gnutls_pem_base64_decode_alloc.3.html
gnutls_pem_base64_decode_alloc(3) - API function (Man Page)
This function will decode the given encoded data. The decoded data will be allocated, and stored into result. If the header given is non null this function will

manpages/VisualOfCCC.3.html
VisualOfCCC(3) - Color Conversion Context macros (Man Page)
The DisplayOfCCC macro returns the display associated with the specified CCC. The VisualOfCCC macro returns the visual associated with the specified CCC. The Sc

manpages/setserial.8.html
setserial(8) - get/set Linux serial port information........
setserial is a program designed to set and/or report the configuration information associated with a serial port. This information includes what I/O port and IR

manpages/ExtUtils::MM_AIX.3pm.html
ExtUtils::MM_AIX(3pm) - AIX specific subclass of ExtUtils::M
This is a subclass of ExtUtils::MM_Unix which contains functionality for AIX . Unless otherwise stated it works just like ExtUtils::MM_Unix Overridden methods d

manpages/rt_sigpending.2.html
rt_sigpending(2) - examine pending signals - Linux man page
sigpending() returns the set of signals that are pending for delivery to the calling thread (i.e., the signals which have been raised while blocked). The mask o

manpages/set_term.3ncurses.html
set_term(3ncurses) - curses screen initialization and manipu
initscr is normally the first curses routine to call when initializing a program. A few special routines sometimes need to be called before it; these are slk_in

manpages/pppstats.8.html
pppstats(8) - print PPP statistics - Linux manual page......
The pppstats utility reports PPP-related statistics at regular intervals for the specified PPP interface. If the interface is unspecified, it will default to pp

manpages/Tcl_Tell.3.html
Tcl_Tell(3) - buffered I/O facilities using channels........
The Tcl channel mechanism provides a device-independent and platform-independent mechanism for performing buffered input and output operations on a variety of f

manpages/gpm-root.1.html
gpm-root(1) - a default handler for gpm, used to draw menus
The program gpm-root is designed to handle Control-Mouse events to draw menus on the background of the current tty. The actual menus are described by a configur





We can't live, work or learn in freedom unless the software we use is free.