Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

has_il(3xcurses) [opensolaris 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)

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)
Man Page

15 More Discussions You Might Find Interesting

1. Programming

how to insert and delete characters in the middle of file

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)
Discussion started by: ivancheung
7 Replies

2. Shell Programming and Scripting

delete line in a file

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)
Discussion started by: dta4316
12 Replies

3. Shell Programming and Scripting

How to delete last character of a line?

Hello, I think I'm close to doing this, but I could be wrong. I have a string I would like to search for and delete the last character of the that line. This is what I have... sed 's/POHEAD\(.\)$//g' tempd > tempe The above works if I search for P, but that won't work. I need to search... (2 Replies)
Discussion started by: ctcuser
2 Replies

4. Shell Programming and Scripting

insert a line in a file

Hello guys, Need to know how to insert a line at top of the file, without using temp files. Can we do it on the fly? Regards, Rishi (7 Replies)
Discussion started by: RishiPahuja
7 Replies

5. Shell Programming and Scripting

delete a special character in file

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)
Discussion started by: srivsn
3 Replies

6. UNIX for Dummies Questions & Answers

how to insert a line number on every line

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)
Discussion started by: mopimp
3 Replies

7. UNIX for Dummies Questions & Answers

help me to to insert data

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)
Discussion started by: babu@shell
10 Replies

8. UNIX for Dummies Questions & Answers

Simple ed questions - insert line with dot

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)
Discussion started by: peterl
4 Replies

9. Shell Programming and Scripting

Removing Embedded Newline from Delimited File

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)
Discussion started by: bbetteridge
7 Replies

10. Shell Programming and Scripting

how to insert the entry inside the line

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)
Discussion started by: aoussenko
3 Replies

11. Shell Programming and Scripting

sed question

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)
Discussion started by: djehresmann
3 Replies

12. UNIX for Dummies Questions & Answers

to delete an invalid file

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)
Discussion started by: chxxangie
5 Replies

13. Shell Programming and Scripting

Sed insert text at first line of empty file

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)
Discussion started by: DC Slick
4 Replies

14. Shell Programming and Scripting

Sed: delete on each line before a character and after a character

Hi there, A total sed noob here. Is there a way using sed to delete everything before a character AND after another character on each line in a file? The deletion should also delete the indicating characters(here: an opening and a closing parenthesis). The original file would look like... (3 Replies)
Discussion started by: bnbsd
3 Replies

15. UNIX for Beginners Questions & Answers

Delete a "G" character from df -h result

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)
Discussion started by: xnyp
5 Replies