Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

lines(3xcurses) [sunos man page]

LINES(3XCURSES) 					  X/Open Curses Library Functions					   LINES(3XCURSES)

NAME
LINES - number of lines on terminal screen 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> extern int LINES; DESCRIPTION
The external variable LINES indicates the number of lines on the terminal screen. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
initscr(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5) SunOS 5.10 5 Jun 2002 LINES(3XCURSES)

Check Out this Related Man Page

COLS(3XCURSES)						  X/Open Curses Library Functions					    COLS(3XCURSES)

NAME
COLS - number of columns on terminal screen 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> extern int COLS; DESCRIPTION
The external variable COLS indicates the number of columns on the terminal screen. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
initscr(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5) SunOS 5.11 5 Jun 2002 COLS(3XCURSES)
Man Page

6 More Discussions You Might Find Interesting

1. Programming

gcc *.c -lcurses

Can someone tell me what does -|curses do here when the C program got compiled? gcc *.c -lcurses Thanks! (1 Reply)
Discussion started by: whatisthis
1 Replies

2. Shell Programming and Scripting

Extracting lines in file based on time

Hi, anyone has any ideas on how do we extract lines from a file with format similiar to this: (based on current time) Jun 18 00:16:50 .......... ............. ............ Jun 18 00:17:59 .......... ............. ............ Jun 18 01:17:20 .......... ............. ............ Jun 18... (5 Replies)
Discussion started by: faelric
5 Replies

3. Shell Programming and Scripting

Setting System Variable LINES

I am trying to set my system variable LINES and not able to do that permanently. I used the following commands for this: Can I able to chage the value of that variable permanently atleast I exit from the shell? (1 Reply)
Discussion started by: ashok.g
1 Replies

4. Shell Programming and Scripting

I need help in Scripting...

I need a script: I have an active log file that has multiple lines of information, (3 LINES with 4th line -------) need to copy the last 15 lines into one line only to another file. Here's the copy of the log: Date: Fri Jan 22 13:18:04 2010 XXXX alert for XXXXX instance OS host XXXXX at... (3 Replies)
Discussion started by: tesnes
3 Replies

5. Shell Programming and Scripting

extract specific string and rename file

Hi all, I am working on a small prog.. i have a file.txt which contains random data... K LINES V4 ADD CODE `COMPANY` ADD CODE `DISTRIBUTOR` SEQ NAME^K LINES V5 SEQ NAME^K LINES V6 ADD `PACK-LDATE` SEQ NAME^K^KCOMMAND END^KHEADINFO... (1 Reply)
Discussion started by: mukeshguliao
1 Replies

6. Shell Programming and Scripting

LINES and FIRST WORDS of THOSE LINES

Hi everyone! I need your help. Can not find out what I am doing wrong :( I have a file 1.txt. It looks like apple orange juice table computer banana tea weather home bed water mandarin So I need to print only first words of each line like apple table tea bed My script looks like... (8 Replies)
Discussion started by: Manueldo
8 Replies