Linux-Misc Digest #575, Volume #18 Mon, 11 Jan 99 23:13:13 EST
Contents:
[Newbie] Getting Environment Variables from CGI C++ Program ([EMAIL PROTECTED])
Re: spreadsheet for Linux ([EMAIL PROTECTED])
who giving me seg fault. (Bill Unruh)
Re: 128 bit Netscape 4.08 built against glibc (Johan Kullstam)
Re: Linux, Unix or Unix alike? (Bill Unruh)
Acessing binary file from the code without open(argv[0] ..) ("Pedro Ribeiro")
Re: Consumer Poll Says Microsoft Is Good For Consumers (Jeremy Crabtree)
Re: I NEED HELP!!! ("x")
Re: Consumer Poll Says Microsoft Is Good For Consumers (Iain Georgeson)
Re: The Hundredth Monkey Analogy... (zentara)
Re: Cutting and Pasting in X windows ("J�rgen Exner")
Re: Consumer Poll Says Microsoft Is Good For Consumers (Andrew Levin)
Re: Re: things I'd pay to have developed for Linux... (Peter Samuelson)
Re: Dos/Win(vfat) file to Linux file (ext2) conversion utility (Pascal Rigaux)
Re: can linux see ntfs partitions? (Raymond Doetjes)
Re: Observations and reservations over BeOS compared to Linux (Evan DiBiase)
Re: How do you kill a bash shell script (Bruce Barnett)
Re: Remove LILO ("J�rgen Exner")
xman crashes when I "Remove this manpage" (Douglas Ulmer)
Re: Cutting and Pasting in X windows (Brian Newman)
Re: making daemons (zentara)
Re: StarOffice 50 , where to get? ("James Holbrook")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: [Newbie] Getting Environment Variables from CGI C++ Program
Date: Mon, 11 Jan 1999 20:40:58 GMT
Hi,
I'm trying to access environment variables from a C++ cgi program. I'm using
bash, the isp cgi machine is using RedHat Linux 5.1 and I've written a short
perl script which just does set to display the environment variables which
should be available when I run a cgi script. However, when I run a short
program which uses getenv, some of the environment variables are NULL, and I
don't understand why.
Here is the output from set inside a cgi perl script: ( this is copied from
the browser to capture the output of the cgi script )
BASH=/bin/bash
BASH_VERSION=1.14.7(1)
DOCUMENT_ROOT=/home/httpsd/html
EUID=1160
GATEWAY_INTERFACE=CGI/1.1
HOSTTYPE=i386
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_CONNECTION=Keep-Alive
HTTP_HOST=cgi.isp.com
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.0b2; Windows NT)
IFS=
OPTERR=1
OPTIND=1
OSTYPE=Linux
PATH=/usr/local/bin:/usr/bin:/bin
PPID=21788
PS4=+
PWD=/home/myAccount/cgi
QUERY_STRING=
REMOTE_ADDR=175.143.217.24
REMOTE_HOST=175.143.217.24
REMOTE_PORT=4560
REQUEST_METHOD=GET
SCRIPT_FILENAME=/home/myAccount/cgi/set.cgi
SCRIPT_NAME=/~bondyr/cgi/set.cgi
[EMAIL PROTECTED]
SERVER_NAME=cgi.isp.com
SERVER_PORT=80
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Apache/1.2.6 Red Hat/Secure
SHELL=/bin/bash
SHLVL=1
TERM=dumb
UID=1160
_=
this is my short C++ program to display environment variables using getenv
#include <stdlib.h>
#include <stdio.h>
void ShowEnvVar(char *text, char *envvar)
{
printf("%s : %s<br>\n", text, getenv(envvar) );
}
void Head(const char *text)
{
printf("<HEAD><TITLE>%s</TITLE></HEAD>\n", text);
}
int main()
{
printf("Content-type: text/html\n\n");
printf("<Html>\n");
Head("Display Server EnvironmentVariables");
printf("<Body>\n");
ShowEnvVar("Remote IP Address", "REMOTE_ADDR");
ShowEnvVar("Host Name ", "REMOTE_HOST");
ShowEnvVar("Shell ", "SHELL");
ShowEnvVar("Terminal Type ", "TERM");
ShowEnvVar("Operating System ", "OSTYPE");
ShowEnvVar("PPID ", "PPID");
ShowEnvVar("Browser ", "HTTP_USER_AGENT");
ShowEnvVar("HTTP ACCEPT ", "HTTP_ACCEPT");
ShowEnvVar("Terminal Type ", "TERM");
ShowEnvVar("Gateway Interface", "GATEWAY_INTERFACE");
ShowEnvVar("Remote Port ", "REMOVE_PORT");
ShowEnvVar("Bash ", "BASH");
printf("</Body>\n");
printf("</Html>\n");
return 0;
}
this is the output from the above program when it is compiled, the excutable
named env.cgi and executed from within a browser. Many of the items which
are available as set are not displayed here using getenv()... can anyone tell
me why? Should I be using something else besides getenv()
Remote IP Address : 175.143.217.24
Host Name : 175.143.217.24
Shell : (null)
Terminal Type : (null)
Operating System : (null)
PPID : (null)
Browser : Mozilla/4.0 (compatible; MSIE 5.0b2; Windows NT)
HTTP ACCEPT : */*
Terminal Type : (null)
Gateway Interface : CGI/1.1
Remote Port : (null)
Bash : (null)
Thanks a lot,
Ron Bondy
ps. I hope that this is the right place to post this kind of question, I
didn't see any linux-cgi specific newsgroups.
ronbondy at hotmail dot com
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: spreadsheet for Linux
Date: Mon, 11 Jan 1999 18:26:58 -0800
Brandon <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a P100 laptop with 16 megs of RAM and 25 swap. I installed SO
> 5.0 on it to use the spreadsheet and the first time I ran it it was
> very slow, which makes sense considering the amount of RAM I have. I
> ran TOP in an xterm and the ram was all gone and I believe the swap
> was just about taken up too. So I was wondering if there was a
> program that has about the same power and functionality of Excel. I
> dontknow if SO 5.0 has a spreadsheet comparable to Excel b/c i havent
> tried it yet. I only opened up the main window to SO so far but
> whether it it just as powerful or not I dont think I can use it b/c of
> the slowness of my system. So I need to know if ther is one that is
> just as good as Excel but one that also doenst take much system
> power. I would also like to have a nice graphica word processor too.
> Thanks
> Brandon
> ps. How do I find out what my connection speed and my transfer rate
> is when im connected to the net?
I think you can get a nice word processor with wp8 which is freely
available at linux.corel.com. A spreadsheet I really like is xslite4
which is at www.ais.com. You can download a rpm package of the shareware
version and see if it suits you. I dont know how these will run in 16mb
of memory. xslite4 seems quite snappy on my system; but I have a quite a
bit more system memory. Corel wp8 is quite snappy. I dont know what
staroffice 5's resource requirements are; but staroffice 4 was kind of
resource intensive.
The only way I find out what my real connect rate is is to have my isp
tech support folks telnet to the ascend routers and tell me. Luckily the
technical support folks at my isp use linux also.
> --
> Member of the Elite Hacker Club
> "Bill Gates?, I dont know any Bill Gates. Oh, you mean 'by putting
> every conceivable
> feature into an OPERATING SYSTEM, whether you want it or not, is
> innovation' Bill
> Gates? Yeah, I know the monopolizer."
> http://web.mountain.net/~brandon/main.htm
> For Beginners in Linux, Emulation, Midis, Playstation Info,
> Virii, and to buy
> books from barnesandnoble.com on any info that's on my
> site.
--
Michael E. Perry
[EMAIL PROTECTED]
==================
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: who giving me seg fault.
Date: 12 Jan 1999 02:51:06 GMT
have two RH 5.1 machines. On one who gives me a seg fault and on the
other it gives me "out of memory". Any clues?
------------------------------
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: Re: 128 bit Netscape 4.08 built against glibc
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 11 Jan 1999 21:52:23 -0500
Chris Leith <[EMAIL PROTECTED]> writes:
> Does anyone know where I can get a glibc version of Netscape 4.08 with
> 128 bit encryption capabilities? I can get 4.5 directly from Netscape,
> but I was under the impression that it was still buggy. Is that
> true?
fortify is your friend! download the libc6/glibc2 version (export is
all you are offered). then run the fortify program on your netscape
binary. voila! strong encryption. i have it myself. it works like
a charm.
go to http://www.fortify.net/.
hope this helps.
--
Johan Kullstam [[EMAIL PROTECTED]] Don't Fear the Penguin!
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Linux, Unix or Unix alike?
Date: 12 Jan 1999 02:54:34 GMT
>I had an argument with one of my teachers about this subject. Is Linux
>a Unix system or a Unix alike system? And what does it take to be
>considered Unix system?
UNIX is a trademark of ATT.
Linux contains no ATT code, and does not have permission from ATT to use
the name Unix. It is not byte code compatible with any Unix, but then no
Unix is with any other either. Linux is a Unix like system.
------------------------------
From: "Pedro Ribeiro" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Acessing binary file from the code without open(argv[0] ..)
Date: Mon, 11 Jan 1999 19:38:50 -0000
Can anyone tell-me how can i access the binary file i'm executing from the
code under Linux (without open(argv[0], ...) ???
It should be any way to know the addresses where the binfile was paged an
simply access them with a pointer no ??
Thanks in advance.
--
[]---------------------------------------------------------------[]
Pedro Ribeiro
Online: http://www.isel.pt/~pribeiro/
IRC(PTnet) Nick: PAntMaR
e-Mail: Personal: [EMAIL PROTECTED]
Admin: [EMAIL PROTECTED]
Tel: Internal Ext.1407
Tel: NEW! +351-1-8317032 / Fax: +351-1-8317171
[]---------------------------------------------------------------[]
------------------------------
From: [EMAIL PROTECTED] (Jeremy Crabtree)
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: 12 Jan 1999 03:19:52 GMT
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] allegedly wrote:
[SNIP]
>man, these Linux geeks have to get out more and learn about the real world
>to find what people use computers for!
YOU mean to tell ME that /I/ am the /ONLY/ one who bought for heating
purposes?!?! <G>
[SNIP]
--
"Being myself a remarkably stupid fellow, I have had to unteach myself the
difficulties, and now beg to present to my fellow fools the parts that are
not hard" --Silvanus P. Thompson, from "Calculus Made Easy."
------------------------------
From: "x" <[EMAIL PROTECTED]>
Subject: Re: I NEED HELP!!!
Date: 12 Jan 1999 03:02:16 GMT
Get Prodigy, I dial into their pop using Linux, BE, NT, 95. Never a
problem, never had to use a script to log on. I have tried Mindspring with
NT, can't log on without a damn script.
------------------------------
From: Iain Georgeson <[EMAIL PROTECTED]>
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: Mon, 11 Jan 1999 20:31:53 +0000
In article <7764k8$[EMAIL PROTECTED]>, Jeremy Mathers
<[EMAIL PROTECTED]> writes
>specter of Hitler's ghost in an attempt to smear their detractors.
Thank Godwin for that.
Iain.
--
#!/usr/bin/perl -w
$FOO="$ENV{HOME}/.signature";unless(-p$FOO){unlink$FOO;system('mknod',
$FOO,'p')&&die"mknod on fire: $!"}while(1){open(FOO,"> $FOO")||die
"open on fire $FOO: $!";print FOO`cat $0`;close FOO;sleep 2}
------------------------------
From: [EMAIL PROTECTED] (zentara)
Subject: Re: The Hundredth Monkey Analogy...
Reply-To: ""
Date: Mon, 11 Jan 1999 21:36:36 GMT
There is no stopping an idea whose time is due.
If Einstein didn't discover Relativity, someone else
would have, what is the difference of "Whose First"?
------------------------------
From: "J�rgen Exner" <[EMAIL PROTECTED]>
Subject: Re: Cutting and Pasting in X windows
Date: Mon, 11 Jan 1999 13:36:38 -0800
Paul Davies wrote in message <[EMAIL PROTECTED]>...
>How does one cut and paste text from one X window to another?
Mark text with left mouse, extend marked region with right mouse, copy
marked text with middle mouse.
jue
--
J�rgen Exner; microsoft.com, UID: jurgenex
Sorry for this anti-spam inconvenience
------------------------------
From: Andrew Levin <[EMAIL PROTECTED]>
Crossposted-To:
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: Tue, 12 Jan 1999 03:32:16 GMT
Jeremy Crabtree wrote:
>
> [EMAIL PROTECTED] allegedly wrote:
>
> [SNIP]
>
> >man, these Linux geeks have to get out more and learn about the real world
> >to find what people use computers for!
>
> YOU mean to tell ME that /I/ am the /ONLY/ one who bought for heating
> purposes?!?! <G>
Actually, I find windows to be a much more efficient radiator. Linux is
my air conditioner.
>
> [SNIP]
>
> --
> "Being myself a remarkably stupid fellow, I have had to unteach myself the
> difficulties, and now beg to present to my fellow fools the parts that are
> not hard" --Silvanus P. Thompson, from "Calculus Made Easy."
--
Andrew Levin
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.hardware
Subject: Re: Re: things I'd pay to have developed for Linux...
Date: 11 Jan 1999 21:25:47 -0600
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[me]
> > - A volume group, which acts as a sort of meta-partition, if you
> > will, can comprise multiple physical disks. These can also
> > provide redundancy not unlike RAID mirroring, as well as plain
> > striping. The sysadmin can add disks to an LV at will, and take
> > them away.
[bill davidsen <[EMAIL PROTECTED]>]
> You have mixed volume group (VG) and logical volume (LV) here.
> RAID-0/1 are done at the LV level, and you can't (so far as I know)
> add/delete physical volumes to a striped LV. You can make/break
> mirrors, which is how you mirror root, etc.
I got careless in remembering which layer I was describing where. But
anyway I really *do* wish you could mirror an entire VG at once; I
tried once for quite awhile to coax AIX into doing this. Finally
resigned to manually creating copies of each LV and remembering to do
that every time we made a new one. Which isn't infrequent. Never did
get around to whacking up a script for this (and a SMIT menu to go
with, just for kicks) but I think it's still somewhere down there near
the bottom of the todo list.
> Striped or mirrored, not both, at least up to 4.2.1 kernel.
You are of course correct. Seems like a silly design limitation.
> > - On an LV you mkfs a filesystem. Since the LV is a block device
> > this works just like traditional partitions/slices, except that
> > LV's are so much easier to manipulate.
> Like an md pseudo physical device.
Like any random-access block device. Perhaps the easiest to manipulate
in Linux are loop devices, which are great for floppy images but were
of course never meant for efficiency and scalability as long-term
solutions.
> Most people over partition their drives, IMHO. If you have only a
> single drive, as most or at least many systems do, you gain mostly
> complexity by having a bunch of partitions for the actual ext2fs
> data.
[...]
> ... garbage. Just because you understand techniques useful on large
> systems doesn't mean you need them, or gain from them.
Right on. I was amazed when we got an SGI O2 in here and it had IRIX
6.3 preinstalled on a single partition of the 4G disk. I was used to
AIX which by default creates separate fs's for /, /tmp, /var, /home and
/usr not to mention swap and the jfs log (oh yes, and a /welcome full
of cute HTML, welcome to Unix in the 90s). But really on a 4G disk and
a filesystem like IRIX's xfs there aren't many good reasons to
partition. I now wish I hadn't insisted at the time on reinstalling
with my familiar partition table layout -- I gained a lot of headache
and little else. Next SGI we get in, it stays one big filesystem.
> The AIX model is a good thing to understand, I'm not sure I want to
> do things exactly that way. I could go on about how I do think it
> should be done, but it's not relevant to this topic.
There are a lot of things I like about it. Linux md is OK but seems
rather patched-together and clumsier to use. You're right, ID strings
on each disk can cut both ways, but I think a vgck utility to repair or
compensate for incomplete or corrupted vg's would help a lot and not be
that hard to do.
Anyway, Heinz's LVM is reportedly modeled after the HP-UX one which I
understand is somewhat similar to AIX. I eagerly await version 0.5
which has been almost here for about six months now. I have been
reluctant to hack 0.4 (to support glibc and newer kernels) just in case
0.5 already has this stuff....
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: Pascal Rigaux <[EMAIL PROTECTED]>
Subject: Re: Dos/Win(vfat) file to Linux file (ext2) conversion utility
Date: 11 Jan 1999 21:53:17 +0100
> I have a video driver on a Dos disk. How can I convert the Dos file to the
> Linux file structure so that I can use "cp" or "mv" to place the file in the
> /tmp directory from a mounted floppy.
>
> I understand that mtools can take a file from Linux to Dos file structure,
> how about for the reverse process?
>
the mtools can be used for both. In fact you don't have to ``convert'' the Dos
file to an Ext2 file. The file needn't be converted. You can use different types
of filesystems (like vfat, ext2, hpfs...) without seeing any difference (well,
for the vfat, you have some restrictions like no links...).
So the problem here is accessing the floppy. There two solutions mtools (easier)
and mounting the floppy.
For the mtools solution, it's easy. Just think dos/unix and that's it :
every dos command you think of, put a m in front, and that's nearly it!
eg:
mdir a:
mcopy "a:*" /tmp <- the " is necessary cuz of shell * behaviour
mcopy /tmp/* a:
Hope it helps, Pixel.
------------------------------
From: Raymond Doetjes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: can linux see ntfs partitions?
Date: Mon, 11 Jan 1999 23:00:09 +0100
Linux can at least read NTFS partition since last year. But it seems that since
a couple of weeks there is also write support for NTFS. (I haven't seen it yet).
Raymond
[EMAIL PROTECTED] wrote:
> Hi, i am running NT 4.0 and due to fat size limitations (have a 13 gig drive)
> am using ntfs as my main file system. I am also running linux and have run
> into a wee bit of a problem... linux can't *seem* to read the ntfs partition.
> During setup it recognized the ntfs part. as a HPFS fs so i thought i would
> go with that but it turns out that it does not work. Is there a way to make
> linux see ntfs partitions?
>
> -Gaiko
>
> PS It *was* compressed but i decompressed it (it the ntfs drive) but it gave
> me an error (sharing permissions... chalk another one up for MS to not think
> of errors) on one or two files so there are one or two compressed files in
> that part. but most of the part is uncompressed.
>
> thank you.
> Gaikokujin Kyofusho
> Student Extraordinare & UN*X Guru Wannbe
> [EMAIL PROTECTED]
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Evan DiBiase <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Observations and reservations over BeOS compared to Linux
Date: Mon, 11 Jan 1999 21:13:39 -0500
Gary Momarison wrote:
[snip]
> If you're totally selfish and short-sighted, that's a good plan, but
> it's often better to exercise some temporary self-sacrifice to achive
> a better result down the road and not get yourself entrapped in a
> solution that will cost yourself and others dearly.
>
> Example: All those dopes (or dupes) that bought Win 3.1 instead of
> Mac or NeXT or some other Unix, because they could run their old
> DOS crapware on it. They solved their problems temporarily on the
> cheap but have cost themselves billions by firmly entangling
> themselves into continued use of M$'s unreliable sorta-OSes.
True. I was one of these users myself. Of course, Windows 3.11 was my
first plunge into the Windows world, and I didn't know any differently.
I recently gave away most of my Windows software to a friend (in good
faith, of course) because of my decision to go with Windows early on. Of
course, I suppose the same could be said about any OS. </rant>
-Evan
>
> Read http://www.essential.org/antitrust/ms/cfa/cfa-jan99.html
>
> "The Consumer Cost Of The Microsoft Monopoly:
> $10 BILLION OF OVERCHARGES AND COUNTING"
>
> A report by the Consumer Federation of America, Media Access
> Project, US Public Interest Research Group, January 1999
>
> --
> Look for Linux info at http://www.dejanews.com/home_ps.shtml and in
> Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html
------------------------------
From: Bruce Barnett <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How do you kill a bash shell script
Date: 11 Jan 1999 16:45:53 -0500
[EMAIL PROTECTED] writes:
> Ok guys, I know this one is basic, but I don't know how to get a process
> number for a bash shell script. For simplicity, here is a simple bash shell
> script that I wrote:
>
> How do I know which process number is associated with the script I just ran?
There are other methods that can be used besides ps.
Some processes execute the equivalent of
echo $$ >/etc/process/my_id
which allows other processes (same user) to do a
kill -1 `cat /etc/process/my_id`
Also, of you start a script from another script, use $! to get the ID
of the process just launched:
script & PID=$!
sleep 30
kill -1 $PID
--
Bruce <barnett at crd. ge. com> (speaking as myself, and not a GE employee)
------------------------------
From: "J�rgen Exner" <[EMAIL PROTECTED]>
Subject: Re: Remove LILO
Date: Mon, 11 Jan 1999 13:48:03 -0800
Vialli Wong wrote in message <[EMAIL PROTECTED]>...
>I wanna remove LILO temporarily because I am going to re-install my
>window95 on my computer.
>
>Can I still boot my window95 directly from harddisk after I remove the
>LILO from the master boot record (MBR)?
There is no way to just "remove" something from the MBR, you have to
overwrite it.
So the question is rather:
What are you going to replace the MBR with?
jue
--
J�rgen Exner; microsoft.com, UID: jurgenex
Sorry for this anti-spam inconvenience
------------------------------
From: Douglas Ulmer <[EMAIL PROTECTED]>
Subject: xman crashes when I "Remove this manpage"
Date: Mon, 11 Jan 1999 21:45:27 +0000
I'm using Redhat 5.1 on a Pentium box. X (with fvwm) works
very well, with one exception: asking xman to "remove this
manpage" makes xman crash. (Dumping this: $ file core
core: ELF 32-bit LSB core file of 'xman' (signal 11), Intel
80386, version 1)
Oddly, the problem only occurs if the window in question has
been
used to view a manpage. If it's only been used to look at a
section index,
the window goes away just fine.
Does anybody have any idea how to fix this? (Please reply
by e-mail.) Thanks in advance,
Doug Ulmer
------------------------------
From: Brian Newman <[EMAIL PROTECTED]>
Subject: Re: Cutting and Pasting in X windows
Date: 11 Jan 1999 13:06:08 -0800
In article <[EMAIL PROTECTED]>, "Paul says...
>
>I don't have a middle mouse button.
>
>Is there an alternative?
Did you set up "Emulate3Buttons" when you set up your mouse and X? If so, press
the left and right buttons simultaneously to emulate the middle button.
====================
Shade and sweet water,
Brian -- [EMAIL PROTECTED] -- http://www.aracnet.com/~bnewman
"Like Kurosawa I make mad films / 'Kay, I don't make films /
But if I did, they'd have a samurai" -- Barenaked Ladies
------------------------------
From: [EMAIL PROTECTED] (zentara)
Subject: Re: making daemons
Reply-To: ""
Date: Mon, 11 Jan 1999 21:36:38 GMT
On 10 Jan 1999 13:02:01 -0800, Mike Doland <[EMAIL PROTECTED]>
wrote:
>Hi
>
>I wonder if there is a skeleton or any hints what need to be done to make a
>daemon. Especially I wonder how it works with the part in inetd.conf that
>configure whether the daemon shall fork or not when a call is made to it.
>Doesn't that depend on the code?
>Also I wonder how I from within the daemon:
>1) start another process running under another user
>2) restart the daemon
I'm no daemon expert, and my understanding is a daemon
is just a "pseudo-user" who exists solely to run a service
or program.
So just create a user in group "daemon", don't setup a password,
that way only root can start it.
As root , su to "your daemon" and start the process you want and
leave it running in the background. Then you can logoff as root,
and the daemon will continue to run.
I know this is a rudimenatry daemon example, but play with
it, you see how it goes.
------------------------------
From: "James Holbrook" <[EMAIL PROTECTED]>
Subject: Re: StarOffice 50 , where to get?
Date: Mon, 11 Jan 1999 21:05:07 -0700
I thank you all who replied. I now have a copy loaded and functioning well.
Thnx again
James
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************