08-23-2008
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi Folks,
Just for the record: I am a Mac User.
But I believe my question is a simple UNIX FBSD question.
My problem: I need to learn how to "pick up" the telephone line and dial a number from an Unix shell or shell script execution.
My modem is at /dev/cu.modem
Why I need it?
I... (12 Replies)
Discussion started by: fundidor
12 Replies
2. Solaris
I am writing some java code to automate running an application on a Sun system. The application opens 9 terminal windows. Of those nine windows, I have to find two and give them focus long enough to send a keystroke. Since there seems to be no way to do this using java, is there a unix command I... (0 Replies)
Discussion started by: cmp1jrv
0 Replies
3. Solaris
Hi,
I am a newbie here. Trying to find a way of writing a script to launch multiple terminal or console windows on solaris 9. I used to be able to do this using cmdtool on older versions of solaris and it was even possible to configure the size and screen position of the window and the title. ... (5 Replies)
Discussion started by: omerta
5 Replies
4. UNIX for Dummies Questions & Answers
Hello,
i just wanted to know how do i find out the list of users whose terminal is writable?i mean i used
who -T
but this gives a list of all users whose terminal is writable or blocked and not writable. So how do i do this?I am new to Unix. (2 Replies)
Discussion started by: salman4u
2 Replies
5. UNIX for Dummies Questions & Answers
I finally got how to su - in my mac from the terminal. Now I would like to be able to add new users. useradd -m -d ..... doesn't seem to work. (1 Reply)
Discussion started by: bigmac18
1 Replies
6. Shell Programming and Scripting
Hi,
I am programming a script that shows a figure on screen but I would be centered, so What I have to use command to get the size of the window?
Thanks a lot, (2 Replies)
Discussion started by: Gengis-Kahn
2 Replies
7. Homework & Coursework Questions
Hello!
I need to create a file and provide access to two users of the file under the same command in linuxs terminal window.
The question is how can I do it? (3 Replies)
Discussion started by: Messe
3 Replies
8. OS X (Apple)
Hi all
I haven't worked much in the terminal window until recently as I'm trying to install the Imagemagick package, it's not going well but thats another matter.
I'm worried now that I might have done something wrong. When I open the terminal window now I get
unknown-e0-f8-47-0d-1b-02:~... (3 Replies)
Discussion started by: ttmt
3 Replies
9. UNIX for Beginners Questions & Answers
Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty?
I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
LEARN ABOUT DEBIAN
ns_parseurl
Ns_Url(3aolserver) AOLserver Library Procedures Ns_Url(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_AbsoluteUrl, Ns_ParseUrl, Ns_RelativeUrl, Ns_SkipUrl - URL manipulation routines
SYNOPSIS
#include "ns.h"
int
Ns_AbsoluteUrl(Ns_DString *pds, char *url, char *baseurl)
int
Ns_ParseUrl(char *url, char **pprotocol, char **phost,
char **pport, char **ppath, char **ptail)
char *
Ns_RelativeUrl(char *url, char *location)
char *
Ns_SkipUrl(Ns_Request *request, int n)
_________________________________________________________________
DESCRIPTION
Ns_AbsoluteUrl(pds, url, baseurl)
Construct an URL based on baseurl but with as many parts of the incomplete url as possible. Return NS_OK or NS_ERROR.
Ns_ParseUrl(url, pprotocol, phost, pport, ppath, ptail)
Parse a URL into its component parts. Pointers to the protocol, host, port, path, and "tail" (last path element) will be set by ref-
erence in the passed-in pointers. The passed-in url will be modified.
Ns_RelativeUrl(url, location)
If the url passed in is for this server, then the initial part of the URL is stripped off. e.g., on a server whose location is
http://www.foo.com, Ns_RelativeUrl of "http://www.foo.com/hello" will return "/hello". Returns a pointer to the beginning of the
relative url in the passed-in url, or NULL if error. Will set errno on error.
Ns_SkipUrl(request, n)
Return a pointer n elements into the request's url.
SEE ALSO
nsd(1), info(n)
KEYWORDS
AOLserver 4.0 Ns_Url(3aolserver)