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
TPUT(1) BSD General Commands Manual TPUT(1)
NAME
tput, clear -- terminal capability interface
SYNOPSIS
tput [-T term] attribute ...
clear
DESCRIPTION
The tput utility makes terminal-dependent information available to users or shell applications. When invoked as the clear utility, the
screen will be cleared as if
tput clear
had been executed. The options to tput are as follows:
-T The terminal name as specified in the termcap(5) database, for example, ``vt100'' or ``xterm''. If not specified, tput retrieves the
``TERM'' variable from the environment.
The tput utility outputs a string for each attribute that is of type string; a number for each of type integer. Otherwise, tput exits 0 if
the terminal has the capability and 1 if it does not, without further action.
If an attribute is of type string, and takes arguments (e.g. cursor movement, the termcap ``cm'' sequence) the arguments are taken from the
command line immediately following the attribute.
The following special attributes are available:
clear Clear the screen (the termcap(5) ``cl'' sequence).
init Initialize the terminal (the termcap(5) ``is'' sequence).
longname Print the descriptive name of the user's terminal type.
reset Reset the terminal (the termcap(5) ``rs'' sequence).
EXIT STATUS
The exit status of tput is as follows:
0 If the last attribute attribute argument is of type string or integer, its value was successfully written to standard output. If the
argument is of type boolean, the terminal has this attribute.
1 This terminal does not have the specified boolean attribute.
2 Usage error.
3 No information is available about the specified terminal type.
SEE ALSO
termcap(5), terminfo(5)
STANDARDS
The tput utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'').
HISTORY
The tput utility appeared in 4.4BSD.
BUGS
The tput utility cannot really distinguish between different types of attributes.
Some termcap entries depend upon having a '%' in them that is just a '%' and nothing more. Right now we just warn about them if they do not
have a valid type declaration. These warnings are sent to stderr.
BSD
June 15, 2002 BSD