09-09-2005
ANSI seems to do the same thing. tail is busted, vi doesn't display text and shell interaction is lost.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I use Unix at work, and thought that I should finally install it on my computer, just as a play around. Plus I am into programming C and various other languages. I have never used Mandrake linux, and to be honest it was just a freebie that I found that I thought I would give a quick try. I have... (3 Replies)
Discussion started by: SiE
3 Replies
2. UNIX for Dummies Questions & Answers
I am getting the following error when try to use vi
vt100: Unknown terminal type
Visual needs addressable cursor or upline capability
:
I have checked the TERM variable which is set to vt100. What could be the problem. This is on solaris 2.8 and i am doing telnet. (2 Replies)
Discussion started by: sssow
2 Replies
3. UNIX for Dummies Questions & Answers
I am not a Solaris (Unix) guy so i need help. I am trying to get a Sun Ultra 5 running Solaris 8 to display the correct video for my KVM switch. I have set the CDE to 1024x768x75 and have no problem with video using this setting in CDE. When I shut down the server or boot up the server it is... (4 Replies)
Discussion started by: cchyzm
4 Replies
4. UNIX for Dummies Questions & Answers
I've been doing a lot of searching through the forums to figure out how to:
1 - get my Backspace key to work in my ksh telnet session
2 - get the PWD to show up as the prompt
Solution to 1 - stty erase ^H
Solution to 2 - export PS1="$PWD>"
Or so I thought...type those commands on the... (6 Replies)
Discussion started by: dstinsman
6 Replies
5. OS X (Apple)
Under Leopard, I like to conveniently open Terminal windows onto remote systems. I've created several settings files in Terminal, one for each remote system that I want to access. To open window, I right-click on the Terminal icon in the Dock, expand the "New Window" menu item, and select the... (0 Replies)
Discussion started by: siemsen
0 Replies
6. Solaris
Hi, I have a question, I have a legacy windows application that download files using FTP..The server previously was a Windows based server but it was upgraded to Sun Solaris 10. And that was when the application stopped working.
After a long time of troubleshooting, I might have found that the... (4 Replies)
Discussion started by: brian12988
4 Replies
7. Shell Programming and Scripting
Hi All,
I want to login to CVS using terminal. I am executing the following command in the terminal :-
export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME
cvs login
But i get the following error :
Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (3 Replies)
Discussion started by: Afreen
3 Replies
8. OS X (Apple)
Hi All,
I want to login to CVS using terminal. I am executing the following command in the terminal :-
export CVSROOT=: pserver:ags_rd@istcvs.corp.apple.com:/istcvs/CVSHOME
cvs login
But i get the following error :
Afreens-iMac:buildTest Afreen$ export CVSROOT=:... (1 Reply)
Discussion started by: Afreen
1 Replies
9. UNIX for Dummies Questions & Answers
I use a program called TinyTerm to access our AIX machine. It works fine except for when I rlogin into our SCO unix server. Backspace doesn't delete, ctrl-c doesn't work (delete key does same thing), and the most annoying thing is vi acts very wierd. I have to press the down arrow like 3 times to... (11 Replies)
Discussion started by: herot
11 Replies
10. Solaris
I have net0 as my primary network interface in Solaris 11.
# ifconfig net0
net0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.53.77.154 netmask ffffff00 broadcast 10.53.77.255
ether 0:10:e0:3a:c4:d8
Its netmask should be fffffc00, but whenever I... (8 Replies)
Discussion started by: solaris_1977
8 Replies
LEARN ABOUT NETBSD
system
SYSTEM(3) BSD Library Functions Manual SYSTEM(3)
NAME
system -- pass a command to the shell
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <stdlib.h>
int
system(const char *string);
DESCRIPTION
The system() function hands the argument string to the command interpreter sh(1). The calling process waits for the shell to finish execut-
ing the command, ignoring SIGINT and SIGQUIT, and blocking SIGCHLD.
If string is a NULL pointer, system() will return non-zero, if the command interpreter is available, or zero if none is available. Other-
wise, system() returns the termination status of the shell in the format specified by waitpid(2).
RETURN VALUES
If a child process cannot be created, or the termination status of the shell cannot be obtained, system() returns -1 and sets errno to indi-
cate the error. If execution of the shell fails, system() returns the termination status for a program that terminates with a call of
exit(127).
SEE ALSO
sh(1), execve(2), waitpid(2), popen(3), shquote(3)
STANDARDS
The system() function conforms to ANSI X3.159-1989 (``ANSI C89'') and IEEE Std 1003.2-1992 (``POSIX.2'').
CAVEATS
Never supply the system() function with a command containing any part of an unsanitized user-supplied string. Shell meta-characters present
will be honored by the sh(1) command interpreter.
BSD
August 2, 2007 BSD