Wow, almost an hour for my last msg to appear...
> > (where 26320 was likely to be the next pid)
>
> Heh, good luck guessing that on a hardened/security concious operating
> system.
Or just a busy one... ;)
Btw Matthew when your email travers towards + through orcon, time seems
to warp backwar
At 2005-01-12T17:01:50+1300, C. Falconer wrote:
> (where 26320 was likely to be the next pid)
Heh, good luck guessing that on a hardened/security concious operating
system.
Cheers,
-mjg
--
Matthew Gregan |/
/|[EMAIL PROTECTED
Alright - for those who can't figure it out...
socks:~# strace -p 26320
strace: I'm sorry, I can't let you do that, Dave.
(where 26320 was likely to be the next pid)
-Original Message-
From: Carl Cerecke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 12 January 2005 4:53 p.m.
To: linux-us
Michael wrote:
I don't think this works in a vty or something. "strace strace" just reveals
the usual strace garbage. Should I look harder at this?
Well, straceing another strace is OK. straceing yourself is not.
HINT: checkout the -p option.
Cheers,
Carl.
Volker Kuhlmann wrote:
How much php-programming is required in etomite to make is usable, I
mean configure it?
Is there any usable CMS programmed in python?
Volker
Hi Volker,
None whatsoever. It uses templates, which may contain snippets and
chunks as well as the native html in which they are w
On Wed, 2005-01-12 at 16:24 +1300, Michael wrote:
> I don't think this works in a vty or something. "strace strace" just reveals
> the usual strace garbage. Should I look harder at this?
I got strace to trace itself (rather than another strace process) by
1. Do a "ps ax" and incrementing th
> I don't think this works in a vty or something. "strace strace" just reveals
> the usual strace garbage. Should I look harder at this?
Depends on whether you want to find the easter egg... ;)
strace strace traces a different strace process. You need to trace the
*same* strace process. I used
I don't think this works in a vty or something. "strace strace" just reveals
the usual strace garbage. Should I look harder at this?
Michael.
>= Original Message From linux-users@it.canterbury.ac.nz =
>> There's an easter egg
>> when you try to get an strace process to strace itself.
>
On Wed, Jan 12, 2005 at 03:50:43PM +1300, yuri wrote:
> Bah. Linux is not ready for the desktop because the general purpose
> computer is not ready for the desktop. The only device ready for the
> desktop is the set top box (which may or may not be based on embedded
> linux).
i didn't read the art
Bah. Linux is not ready for the desktop because the general purpose
computer is not ready for the desktop. The only device ready for the
desktop is the set top box (which may or may not be based on embedded
linux).
Perhaps I should say: The general purpose computer is not ready for
the unassisted
At 2005-01-11T07:39:24+1300, Carl Cerecke wrote:
> yes and no. Syntax is the biggest hurdle to learning programming. You
> can postpone exposure to the complexities in python for longer than
> you can do so in Java.
I'm not sure I entirely agree. Syntax can be a big hurdle, especially
for languag
How much php-programming is required in etomite to make is usable, I
mean configure it?
Is there any usable CMS programmed in python?
Volker
--
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/ Please do not CC list postings t
Jamie,
> I'm having a bit of a play around with Mambo as a CMS on my website
> (http://drgnfire.no-ip.com - please don't hit it too hard as its on my
> ADSL connection) and it appears to be pretty good as a CMS.
> What are some other good options for Content Management, preferably with
> support f
Wow, dictionaries and an encyclopedia now available for Linux too.
That's not bad for a company which in the past has been brainwashed
firmly in the billy-way.
http://www.bifab.de/katalog/brockhaus.html
Enter "linux" in the search box. The search is per cetagory, selecting
"Dudenverlag" under "Ma
On Wed, January 12, 2005 2:55 pm, Jamie Dobbs said:
> I'm having a bit of a play around with Mambo as a CMS on my website
> (http://drgnfire.no-ip.com - please don't hit it too hard as its on my
> ADSL connection) and it appears to be pretty good as a CMS.
> What are some other good options for Co
From: Matthew Gregan [mailto:[EMAIL PROTECTED]
> > Process A would is then forced to prepare the file descriptors before
> Oops; s/would //
Theres that damn sed syntax coming back again...
At 2005-01-12T14:44:59+1300, Matthew Gregan wrote:
> Process A:
> close(STDERR_FILENO);
> execl("/path/to/other/processb", "processb", (const char *)0);
> Which then becomes Process B, and does:
> open("/path/to/desired/stderr.log", O_WRONLY);
I forgot to mention that I'm aware t
I'm having a bit of a play around with Mambo as a CMS on my website
(http://drgnfire.no-ip.com - please don't hit it too hard as its on my
ADSL connection) and it appears to be pretty good as a CMS.
What are some other good options for Content Management, preferably with
support for adding other mo
At 2005-01-12T14:27:22+1300, Carl Cerecke wrote:
> closing is not the problem, only opening is.
Well, my not particularly imaginative example involves co-operating
processes wanting to do the following:
Process A:
close(STDERR_FILENO);
execl("/path/to/other/processb", "processb",
At 2005-01-12T13:59:06+1300, Volker Kuhlmann wrote:
> That creates a copy of an existing file descriptor, but doesn't modify
> an existing one. Copying one which has already been closed isn't
> likely to do anything useful.
Right, because to be effective Carl's proposed changes should also
require
Matthew Gregan wrote:
At 2005-01-12T13:51:54+1300, Carl Cerecke wrote:
Isn't that what dup2 is for?
For most cases, yes. Without being able to close and reopen descriptor
0/1/2 there are still things you couldn't do using only dup2(), but the
only example I can think of right now isn't that great
At 2005-01-12T11:33:32+1300, Volker Kuhlmann wrote:
> Thanks Matthew, I was wondering whether it had to do with descriptor
> inheritance. One could call it a bug in the process though, to call
> programs with insane descriptors. Nevertheless, what would be the
> correct way for testing in "program"
> There's an easter egg
> when you try to get an strace process to strace itself.
Tihi... Ok, took me a few attempts, but tell me how the *@ knows that
my name is Dave?
Volker
--
Volker Kuhlmann is possibly list0570 with the domain in header
http://volker.dnsalias.net/
At 2005-01-12T13:51:54+1300, Carl Cerecke wrote:
> Isn't that what dup2 is for?
For most cases, yes. Without being able to close and reopen descriptor
0/1/2 there are still things you couldn't do using only dup2(), but the
only example I can think of right now isn't that great...
Cheers,
-mjg
--
> Isn't that what dup2 is for?
That creates a copy of an existing file descriptor, but doesn't modify
an existing one. Copying one which has already been closed isn't likely
to do anything useful.
Volker
--
Volker Kuhlmann is possibly list0570 with the domain in header
http://vo
Matthew Gregan wrote:
At 2005-01-12T13:00:18+1300, Carl Cerecke wrote:
This could be partly solved by the OS by never reusing file
descriptors lower than 3.
It could be, but that's probably not the right solution. It's extremely
useful to be able to reopen stdin/stdout/stderr however you please,
Volker Kuhlmann wrote:
If you want to know exactly which files a command opens (or tries to
open) as it is executing, prepend "strace -eopen" before the command.
This is especially useful when you want to know what configuration files
a command is looking for, and in what order.
Good tip. And wi
Matthew Gregan wrote:
At 2005-01-12T10:09:47+1300, Carl Cerecke wrote:
Do you mean the programs in question had no error handling for
descriptors 0,1,2 because they expected them to be open and set up
correctly?
An explanation by example:
1. Process closes stderr.
2. Process exec()s program with
On Wed, 12 Jan 2005 11:29:52 +1300, Bryce Stenberg wrote:
> I think I'll go ahead and unwrap it all and see what happens.
And report back to us so others can benefit from your experience :-)
Yuri
--
** WARNING to mailing list repliers **
Gmail over-rides "Reply-To:" field. Check your "To:" addr
Thanks Andy, I checked out the specs on the router and it does do NAT. No
DHCP however, but it's only a couple of machines - I'll just set there IP
addresses manually.
I think I'll go ahead and unwrap it all and see what happens.
Thanks again, Bryce.
-Original Message-
From: Andy Geor
> An explanation by example:
Thanks Matthew, I was wondering whether it had to do with descriptor
inheritance. One could call it a bug in the process though, to call
programs with insane descriptors. Nevertheless, what would be the
correct way for testing in "program" whether the standard descript
At 2005-01-12T10:09:47+1300, Carl Cerecke wrote:
> Do you mean the programs in question had no error handling for
> descriptors 0,1,2 because they expected them to be open and set up
> correctly?
An explanation by example:
1. Process closes stderr.
2. Process exec()s program with previously men
On Wed, 2005-01-12 at 10:53 +1300, Volker Kuhlmann wrote:
> > trying to capture the output of top, and recall someone posting how to
> > run top as a one-off? can't find it in the archive - who can help?
>
>
> > top --help
> top: procps version 3.2.3
> usage: top -hv | -bcisS -d delay -n
> trying to capture the output of top, and recall someone posting how to
> run top as a one-off? can't find it in the archive - who can help?
> top --help
top: procps version 3.2.3
usage: top -hv | -bcisS -d delay -n iterations [-u user | -U user] -p pid
[,pid ...]
Uhhm, surely your gu
On 12/01/05 10:45, Nick Rout wrote:
> trying to capture the output of top, and recall someone posting how to
> run top as a one-off? can't find it in the archive - who can help?
top -n1
might be what you're after.
Roy.
--
Roy Britten, Lead Software Developer, Information Systems Team
National I
trying to capture the output of top, and recall someone posting how to
run top as a one-off? can't find it in the archive - who can help?
--
Nick Rout <[EMAIL PROTECTED]>
excellent carl, i was able to find out exactly what files an errant
process was opening as a result of that. (I knew about strace but have
never before looked at any of the options)
thanks
On Wed, 2005-01-12 at 08:00 +1300, Carl Cerecke wrote:
> If you want to know exactly which files a command
Matthew Gregan wrote:
At 2005-01-12T09:01:51+1300, Steve Holdoway wrote:
It might be an idea at this time to point out that by default every
process opens 3 descriptors on startup...
0 = stdin
1 = stdout
2 = stderr
It depends how the process was started, and (depending on what you're
doing), it's
At 2005-01-12T09:01:51+1300, Steve Holdoway wrote:
> It might be an idea at this time to point out that by default every
> process opens 3 descriptors on startup...
> 0 = stdin
> 1 = stdout
> 2 = stderr
It depends how the process was started, and (depending on what you're
doing), it's unsafe to as
On Wed, 2005-01-12 at 09:01 +1300, Steve Holdoway wrote:
> It might be an idea at this time to point out that by default every
> process ( or it it just those written in C - I forget - but most of the
> kernel is anyway... ) opens 3 descriptors on startup...
>
> 0 = stdin
> 1 = stdout
> 2 = stderr
On Wed, 12 Jan 2005 09:28, you wrote:
> From: Wayne Rooney [mailto:[EMAIL PROTECTED]
>
> >On Tue, 11 Jan 2005 11:30, C. Falconer wrote:
> >> They could have chosen a less Controversial name for it ;)
> >
> >Freesco has been around longer than the SCO controversy. The name
> > Freesco
>
> is
>
On Wed, 12 Jan 2005 07:41:32 +1300
Carl Cerecke <[EMAIL PROTECTED]> wrote:
> Steve Holdoway wrote:
> > John Rye wrote:
>
> >> Could someone show me how to count the total number of words in a
> >> group of
> >> files which are located in the same directory?
>
> > cat * | wc -w
>
> better:
>
>
From: Wayne Rooney [mailto:[EMAIL PROTECTED]
>On Tue, 11 Jan 2005 11:30, C. Falconer wrote:
>> They could have chosen a less Controversial name for it ;)
>Freesco has been around longer than the SCO controversy. The name Freesco
is
>a contraction of "Free Cisco (router)."
If it was mine -
> If you want to know exactly which files a command opens (or tries to
> open) as it is executing, prepend "strace -eopen" before the command.
> This is especially useful when you want to know what configuration files
> a command is looking for, and in what order.
Good tip. And with -p NNN it ev
Quiz:
> Interestingly, the directory I tried it on here (full of Java code)
> gives 173918 for "cat * | wc -w" and 173920 for "wc -w *".
My take: 2 files don't have a newline at the end, therefore with the cat
version 2 words (last word of one file and first of the next) run
together.
Volker
-
On Wed, January 12, 2005 8:00 am, Carl Cerecke said:
> Volker Kuhlmann wrote:
>
>> I've always tried to avoid loading app resources into the global data
>> base as it's all crud other apps aren't interested in. Putting the
>> resources into a separate file should work (also it doesn't with some
>>
Volker Kuhlmann wrote:
I've always tried to avoid loading app resources into the global data
base as it's all crud other apps aren't interested in. Putting the
resources into a separate file should work (also it doesn't with some
apps). The name of the file is predefined by the app (casing is
signi
Steve Holdoway wrote:
John Rye wrote:
Could someone show me how to count the total number of words in a
group of
files which are located in the same directory?
cat * | wc -w
better:
wc -w *
Interestingly, the directory I tried it on here (full of Java code)
gives 173918 for "cat * | wc -w" and
On Tue, 11 Jan 2005 11:30, C. Falconer wrote:
> They could have chosen a less Controversial name for it ;)
Freesco has been around longer than the SCO controversy. The name Freesco is
a contraction of "Free Cisco (router)."
Wayne
Some while ago the Eagle owner told me he was planning to shift to qt
and main development on Linux. As the company provides support also for
the free version one could always try a question. usenet: news.cadsoft.de
> These resources need to be loaded
> into the X server's resource database before
On Tue, 11 Jan 2005 11:30:58 +1300
"C. Falconer" <[EMAIL PROTECTED]> wrote:
> They could have chosen a less Controversial name for it ;)
Shouldn't that be lesSCOntroversial? :)
--
Alasdair Tennant
Dunedin
New Zealand
On Tue, 11 Jan 2005 20:13:30 +1300
Steve Holdoway <[EMAIL PROTECTED]> wrote:
> John Rye wrote:
>
> >Mental blockage!!
> >
> >Lots of googling hasn't helped much.
> >
> >Could someone show me how to count the total number of words in a group
> >of files which are located in the same directory?
> >
At 2005-01-11T21:29:24+1300, Hugo Vincent wrote:
> Is it possible to change the default UI fonts of commercial
> proprietary applications
It depends, and it's usually application or toolkit specific. If the
application is using a modern configurable X toolkit, you can often
affect its font decisi
Hi everyone,
Is it possible to change the default UI fonts of commercial proprietary
applications like Acroread, VMware or Eagle PCB-CAD? The defaults in
these apps are HUGE (especially Eagle), as in twice the size of the
Gnome fonts. My distro is Ubuntu Warty.
Cheers,
Hugo.
54 matches
Mail list logo