09-24-2003
Termcap Definitions
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.
10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Dummies Questions & Answers
Hi all!
What is the TERMCAP variable? (1 Reply)
Discussion started by: aitor314
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have one application (top) for Solaris that exits with error
"no entry in termcap for 'hp'".
What can I do with system to fix it? Is it access problem to termcap file or real corruption inside the file since I know that HP is defined in termcap?
...
or changes to environment... (0 Replies)
Discussion started by: gogogo
0 Replies
4. Shell Programming and Scripting
Hello, All :) ...I just figured out how to setup a function definitions file for bc...I was going to create lots more functions for it, but I'll bet that a huge file with tons of definitions has already been written...?
Thanx in advance for any replies,
Pudnik (0 Replies)
Discussion started by: Pudnik
0 Replies
5. 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
6. AIX
In our Cron table, we have the /etc/subsync client ipadr1 ipadr2
Each ipadr is an actual IP adress.
I think it has something to do with synchronizing the clock between servers, but what is the ipadr2 for ? (0 Replies)
Discussion started by: Browser_ice
0 Replies
7. 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
8. UNIX for Dummies Questions & Answers
Just wondering: Can anyone tell me what is meant by the term 'interactive shell" or 'built-in commands' - for example, if I type 'man set' I get a page listing all the 'built in commands' but no explanation of what they are as a concept or what they do.
And while I'm here: I was wondering as... (5 Replies)
Discussion started by: Straitsfan
5 Replies
9. 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
10. 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
LEARN ABOUT DEBIAN
escape
escape(1) Mail Avenger 0.8.3 escape(1)
NAME
escape - escape shell special characters in a string
SYNOPSIS
escape string
DESCRIPTION
escape prepends a "" character to all shell special characters in string, making it safe to compose a shell command with the result.
EXAMPLES
The following is a contrived example showing how one can unintentionally end up executing the contents of a string:
$ var='; echo gotcha!'
$ eval echo hi $var
hi
gotcha!
$
Using escape, one can avoid executing the contents of $var:
$ eval echo hi `escape "$var"`
hi ; echo gotcha!
$
A less contrived example is passing arguments to Mail Avenger bodytest commands containing possibly unsafe environment variables. For
example, you might write a hypothetical reject_bcc script to reject mail not explicitly addressed to the recipient:
#!/bin/sh
formail -x to -x cc -x resent-to -x resent-cc
| fgrep "$1" > /dev/null
&& exit 0
echo "<$1>.. address does not accept blind carbon copies"
exit 100
To invoke this script, passing it the recipient address as an argument, you would need to put the following in your Mail Avenger rcpt
script:
bodytest reject_bcc `escape "$RECIPIENT"`
SEE ALSO
avenger(1),
The Mail Avenger home page: <http://www.mailavenger.org/>.
BUGS
escape is designed for the Bourne shell, which is what Mail Avenger scripts use. escape might or might not work with other shells.
AUTHOR
David Mazieres
Mail Avenger 0.8.3 2012-04-05 escape(1)