has_ic(3XCURSES) X/Open Curses Library Functions has_ic(3XCURSES)NAME
has_ic, has_il - determine insert/delete character/line capability
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
bool has_ic(void);
bool has_il(void);
DESCRIPTION
The has_ic() function determines whether or not the terminal has insert/delete character capability.
The has_il() function determines whether or not the terminal has insert/delete line capability.
RETURN VALUES
The has_ic() function returns TRUE if the terminal has insert/delete character capability and FALSE otherwise.
The has_il() function returns TRUE if the terminal has insert/delete line capability and FALSE otherwise.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO libcurses(3XCURSES), attributes(5), standards(5)SunOS 5.10 5 Jun 2002 has_ic(3XCURSES)
Check Out this Related Man Page
has_ic(3XCURSES) X/Open Curses Library Functions has_ic(3XCURSES)NAME
has_ic, has_il - determine insert/delete character/line capability
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
bool has_ic(void);
bool has_il(void);
DESCRIPTION
The has_ic() function determines whether or not the terminal has insert/delete character capability.
The has_il() function determines whether or not the terminal has insert/delete line capability.
RETURN VALUES
The has_ic() function returns TRUE if the terminal has insert/delete character capability and FALSE otherwise.
The has_il() function returns TRUE if the terminal has insert/delete line capability and FALSE otherwise.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO libcurses(3XCURSES), attributes(5), standards(5)SunOS 5.11 5 Jun 2002 has_ic(3XCURSES)
I have a file with which i must remove the last line of the file (the footer). I know how to copy and redirect with tail -1 etc, but how do i delete it permanentely (4 Replies)
I have a problem that I want to insert and delete some chars in the middle of a file. fopen() and fdopen() just allow to append at the end.
Is there any simple method or existing library that allow these actions? Thanks in advance.:confused: (7 Replies)
Hi all,
I would like to delete a line in file.txt which has a list of filename.
example:
file_a
file_b
file_c
lets say i have file_b in my directory, then i should delete file_b in file.txt and get output file.txt with only file_a and file_b.
Below is my script, my result is still ... (12 Replies)
hi
i want to delete a particular character in file.
example
file name:abcsample
abc=bbbqw3/
hidh=ajjqiwio4/
xyx=hakjp/
........../
......./
i want to delete that special character (/) in abcsample file.please give the required commands for my requirement.
thank you (3 Replies)
hi...
i have a file with data and would like to insert a number and bracket 1) ...2)
at the beginning of every successive line; to add some formatting to the text (3 Replies)
hi,
am new to unix can any one help me to insert data to afile to a specified
column.
ie to an output file with csv format i should insert some data to 2,3,4 fileds and the data in those fields should move to next fields
eg:
output file
asd,12,12,12,12,1,2,1,1,1,1,1... (10 Replies)
Hi
I've got a trivial question on using ed (yes, I know, other editors are better!)
How do I insert a line that is just a single dot? (That is, how do I insert a line that starts with a dot and then new line)
Thanks
Peter (4 Replies)
Hey there - a bit of background on what I'm trying to accomplish, first off. I am trying to load the data from a pipe delimited file into a database. The loading tool that I use cannot handle embedded newline characters within a field, so I need to scrub them out.
Solutions that I have tried... (7 Replies)
Hi
I have a file which contains entry similar to this one:
PX_LIST="2259 2215 270 2635 2874 2713 243 4124 2529 2874 34 477 "
Is there a efficient(short) way to use "awk" or "sed" to enter any number, lets say 7777, as the first number inside the quotes, so the result would look like this:... (3 Replies)
How can I use sed to
1) delete a create part of a string? Go to position 3 and delete everything after or pattern match to a poistion and delete after that.
2) insert a string into another string?
thanks. (3 Replies)
there is a file is generated from my program due to undefined filename.
-rw-r--r-- 1 angie angie 8644055 Jun 22 09:17 Ô$ÿÿÿÿÿÆ
may i know how to delete this file..??? thanks in advance... :) (5 Replies)
I can't seem to get sed to allow me to insert text in the first line of an empty file. I have a file.txt that is a 0 byte file. I want sed to insert " fooBar" onto the first line. I've tried a few options and nothing seems to work. They work just fine if there's text in the file tho. Help? (4 Replies)
My file looks like this. When I see dn:, i'd like to insert a line above that. Sorry, i have no idea how to insert a line above so i won't be able to put in a code tage. Thank you so much for your time and assistance on this request.
dn: OU=Groups,O=lwsnrmdata,O=lwsn,DC=cinemark,DC=com... (5 Replies)
Hello everybody,
I'm a new user in forum,
In a script, i would like that the result sort : /usr - 665 Go (free: 631 Go / 6% used)
but i obtain : /usr - 665G Go (free: 631G Go / 6% used)
My command line is :
RES_DF=`df -BG /usr/ | tail -n1 | awk -vOFS='' '{print $5, " - ", $1, "... (5 Replies)