9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
2. How to Post in the The UNIX and Linux Forums
Hi All,
Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries.
example:
Parent is :
----------
dn: email=yogesh.kumar@wipro.com, o=wipro, o=in
child is:
----------
dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies
3. UNIX for Dummies Questions & Answers
Well, apparently anyway.
I have a Solaris 10/08 install using vi (not vim) and when I use vi to edit a file or go into cron, the screen goes into 25/80 mode and I have to send a reset or hard reset to get it back to my screen size (190x72 in this case).
vi should be using the TERM environment... (7 Replies)
Discussion started by: BOFH
7 Replies
4. Ubuntu
Hi all,
I am trying to install Scigraphica on Ubuntu 8.10 and Termcap needs to be installed.
I cannot find or install Termcap by Synaptic package manager (sudo apt-get install does not work either).
I found in some forums that Termcap is not available for Ubuntu 8.10, and ncurses-dev was... (0 Replies)
Discussion started by: apprentice
0 Replies
5. HP-UX
Hi
I`ve got problem with screen.
After i launch screen i get flying list of :
---(example)
Name collision between cad68-3 cad68-3
Name collision between cad68-2 cad68-2
Name collision between cops10 cops10
Name collision between d132 d132 MH
Name collision between d800 d800 M7
Name... (4 Replies)
Discussion started by: chesti
4 Replies
6. UNIX for Dummies Questions & Answers
My ncurses program has been displaying "OP" (junk) on pressing F1 (instead of catching it). I have finally discovered that it runs fine (traps F1) when run under screen (program), but not in my login terminal (xterm-color)
I did a check of "Set" and "env" under screen, there is a "TERMCAP"... (0 Replies)
Discussion started by: sentinel
0 Replies
7. UNIX for Dummies Questions & Answers
Hi all!
What is the TERMCAP variable? (1 Reply)
Discussion started by: aitor314
1 Replies
8. UNIX for Dummies Questions & Answers
I have a sco unix 5.0.7 unix box with open SSH and have Soft Talk floor software I use on it. http://www.floorsoftware.com/index2.html
I use Anzio 15u full Terminal with SSH to remotely connect. I connect fine and get to the Soft Talk Menu. I choose Pricing ok, then proceed to the next menu to... (3 Replies)
Discussion started by: PCTECH
3 Replies
9. Linux
Hi.
How do I enter and escape from graphics mode on RedHat Linux to capture escape sequences. I'm trying to edit the system termcap. (2 Replies)
Discussion started by: cstovall
2 Replies
termcap(3X) termcap(3X)
NAME
termcap: tgetent(), tgetflag(), tgetnum(), tgetstr(), tgoto(), tputs() - emulate /usr/share/lib/termcap access routines
SYNOPSIS
DESCRIPTION
These functions extract and use capabilities from the compiled terminal capability data bases (see terminfo(4)). They are emulation rou-
tines.
Extracts the compiled entry for terminal
name into buffers accessible by the programmer. Unlike previous termcap routines, all capability strings (except
cursor addressing and padding information) are already compiled and stored internally upon return from The buffer
pointer bp is redundant in the emulation, and is ignored. It should not be relied upon to point to meaningful infor-
mation. returns -1 if it cannot access the terminfo directory or if there is no capability file for name, and 0 if
all goes well. If a environment variable is set, first looks for (where is the first character of name), and if that
file is not accessible, it looks for
Gets the numeric value of capability
id, returning -1 if it is not given for the terminal. is useful only with capabilities having numeric values.
Returns 1 if the specified capability is present in
the terminal's entry, and 0 if it is not. is useful only with capabilities that are boolean in nature (i.e. either
present or missing in terminfo(4)).
Returns a pointer to the string value of capability
id. In addition, if area is not a NULL pointer, places the capability in the buffer at area and advances the area
pointer. The returned string capability is compiled except for cursor addressing and padding information. is useful
only with capabilities having string values.
Returns a cursor addressing string decoded from
cm to go to column destcol in line destline. (Programs that call should be sure to turn off the TAB3 bit or bits,
since can now output a tab. See termio(7)). Note that programs using should in general turn off TAB3 anyway since
some terminals use Ctrl-I for other functions, such as nondestructive space.) If a sequence is given that is not
understood, returns [OOPS].
Decodes the padding information of the string
cp. affcnt gives the number of lines affected by the operation, or 1 if this is not applicable. outc is a routine
that is called with each character in turn. The variable pad_char should contain a pad character to be used (from
the pc capability) if a null is inappropriate.
WARNINGS
These routines are not meant to be used by programs running in the background.
Obsolescent Interfaces
and are to be obsoleted at a future date.
FILES
library
data bases
SEE ALSO
ex(1), terminfo(4), termio(7).
TO BE OBSOLETED termcap(3X)