has_il(3cur)has_il(3cur)Name
has_il - determine whether insert/delete line is available
Syntax
#include <cursesX.h>
bool has_il()
Description
This function will return the value if the terminal has insert- and delete-line capabilities, or if it can simulate them using scrolling
regions. This function might be used to check if it would be appropriate to turn on physical scrolling using the routine.
The routines and are always available in the library if the terminal does not have the required facilities.
Return Values
This function returns TRUE if the terminal has insert line and delete line capabilities, or can simulate them using scrolling regions, oth-
erwise it returns FALSE.
See Alsodeleteln(3cur), insertln(3cur), scrollok(3cur)has_il(3cur)
Check Out this Related Man Page
addch(3cur)addch(3cur)Name
addch, waddch, mvaddch, mvwaddch - add character to window
Syntax
#include <cursesX.h>
int addch(ch)
chtype ch;
int waddch(win, ch)
WINDOW *win;
chtype ch;
int mvaddch(y, x, ch)
int y, x;
chtype ch;
int mvwaddch(win, y, x, ch)
WINDOW *win;
int y, x;
chtype ch;
Description
The routine inserts the character into the default window at the current cursor position and the window cursor is advanced. The character
is of the type which is defined in the header file, as containing both data and attributes.
The routine inserts the character into the specified window at the current cursor position. The cursor position is advanced.
The routine moves the cursor to the specified (y, x) position and inserts the character into the default window. The cursor position is
advanced after the character has been inserted.
The routine moves the cursor to the specified (y, x) position and inserts the character into the specified window. The cursor position is
advanced after the character has been inserted.
All these routines are similar to The following information applies to all the routines.
If the cursor moves on to the right margin, an automatic newline is performed. If is enabled, and a character is added to the bottom right
corner of the screen, the scrolling region will be scrolled up one line. If scrolling is not allowed, ERR will be returned.
If is a tab, newline, or backspace, the cursor will be moved appropriately within the window. If is a newline, the routine is called
before the cursor is moved to the beginning of the next line. If newline mapping is off, the cursor will be moved to the next line, but
the x coordinate will be unchanged. If is a tab the cursor is moved to the next tab position within the window. If is another control
character, it will be drawn in the ^X notation. Calling the routine after adding a control character returns the representation of the
control character, not the control character.
Video attributes can be combined with a character by or-ing them into the parameter. This will result in these attributes being set. The
intent here is that text, including attributes, can be copied from one place to another using and For further information, see
The and routines are macros.
Return Values
The and functions return OK on success and ERR on error.
See Alsoclrtoeol(3cur), inch(3cur), scrollok(3cur), standout(3cur), putchar(3s)addch(3cur)
Hello list,
Have a problem that's highlighting gaps in my knowledge; can you assist?
We have a script that's tacked onto our trading application which allows branch managers etc. to kill off the sessions of other users at their branch. A menu option in the application spawns a shell running... (8 Replies)
how would you go about taking a user's input and adding it to a hash?
i'd also like it to permanently add the input to the hash. not just in the ram, add it into the script!
:eek: (17 Replies)
Hi All
I have installed the above version of gcc from the SUN binaries and recieved the following linker error when trying to compile and link a hello world test program written in C++.
ld: fatal: option -z has illegal argument `ld32=-S/export/home/sources/gcc_SUN_b... (2 Replies)
I would like to know how to hide my initial account (which is an administrator account) in the new Leopard 10.5 operating system.
In the old OS 10.4 this could be done very easily with the help of NetInfo Manager. You could change the UID to anything below 500 and secure your account, however in... (11 Replies)
Hello all,
trying to install a host-os on a freshly installed Opensolaris machine, I keep getting the error "Could not find an installable distribution".
It seems there are a hundred of people out there with the same problem, but nobody ever bothered to post a solution to their questions...... (3 Replies)
The task: remove undesirable characters from filenames.
Restrictions: Must use basic RE, base utilities (non-GNU) and /bin/sh (ash). No ksh, zsh, perl, etc.
Below is what I've come up with. It seems to work OK but I'm open to shorter, more efficient alternatives.
Inside the square... (4 Replies)
Hello,
I'm new to using AWK and would be grateful for some basic advice to get me started.
I have a file consisting of 10 fields. Initially I wish to calculate the number of . , ~ and ^ characters in the 9th field ($9) of each line. This particular string also contains alphabetical... (6 Replies)
Hello all,
I've been researching this to no avail, I have a T5220 running firmware 7.2.2.e (139442-06)
However, the issue I have is that I want to update the firmware yet Oracle maintains 3 different sets of firmware for the T5220:
7.2.x = (139442-14) Being the latest at 7.2.11.a;... (4 Replies)
Hi,
Is there a tool somewhat parallel to rev, but which randomizes instead of reverses?
I've tried rl, but I can only get it to randomize words.
I was hoping for something like this
echo "hello" | ran
leolh
less simpler solutions are also welcome.
Sorry if the question is... (21 Replies)
Hello,
Does anyone know of a way to convert an .xml file (ONIX) to something more workable, like a .csv (or even .xls) file? Ideally something on the command line would be ideal, but not absolutely necessary. I would be dealing with .xml files of 125 MB+.
I am using XQuartz in El Capitan.
... (17 Replies)
My file (the output of an experiment) starts off looking like this,
_____________________________________________________________
Subjects incorporated to date: 001
Data file started on machine PKSHS260-05CP
**********************************************************************
Subject 1,... (9 Replies)
why,just beacuse that its the bottom layer uses a small amount of bsd code? In my opinion, macos and Unix are completely different. The directories are long directory structures. For example, /application, /system, /user, /volumes, etc. are completely different from the traditional /bin/ /sbin... (5 Replies)