Re: CDcontrol software released (

2001-06-20 Thread Alexander Skwar

So sprach Joerg Schilling am Wed, Jun 20, 2001 at 07:49:09AM +0200:


 so it is an internal part of the Linux kernel (even a hidden part) and
nokody 

I'll try to get *DOWN* to your level (although I'm sure that I'll fail
miserably - I cannot get down so low): What does 'nokody' mean?

 needs
 to konw about it unless he is going to change the Linux config menues.

Again: In English, there's no such word as menues - what does this mean?

My main point in this mail:

Sag mal - KANNST DU LESEN?

If you *DEMAND* other people to read the more and more becoming unimportant
UNIX standards, *YOU* should at least do the same with links.  *YOU* are an
excellent example of a person with *DEFICIENT* social skills!  Yes, you have
high  technical skills, I never doubted that - but as far as coming along
with other people is concerned, your intellect is no higher than that of a
pile of shit.  (No, I don't want to insult piles of shit, quite often they
have higher social skills than *YOU*!)

Nobody has to give a flying fuck about what *YOU* say.  I can understand
that nobody want's to listen to *YOU*!  Gosh, you're such a bonehead.

 I see no relation to out discussion here

Again: What does 'out discussion' mean?  And the word 'relation' is used in
a wrong context here.  Maybe you should take some English lessons.

Right, if *YOU* *WANT* to misunderstand everything, go ahead.  Say, how is
it living in a nutshell?  It's gotta be nice, isn't it?  But don't get
scared if you ever get the guts to look what's going on in the biggest
part of the world.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 16 hours 57 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread Gleydson Mazioli da Silva

Walter Hofmann wrote:
 
 On Sun, 17 Jun 2001, Gleydson Mazioli da Silva wrote:
 
  
   Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting
 
  Living and learning, that's better and more faster than mktemp :-)))
 
 YUCK! This is a gaping security hole. mktemp at least tries to be
 secure.

I've read you last message, really the mktemp create tempfiles in a more 
secure way and is compatible with the output job that tempfile has on
cdcontrol.

Thanks
 
 Walter

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* O homem vitorioso é aquele que busca as oportunidades que o fariam
triunfar, mas se não as enncontrar, deverá então criá-las.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread schilling

From: Alexander Skwar [EMAIL PROTECTED]

 You are using a own custom version of tail, I use the UNIX tail command.

Fine, so what?

Just a note: This is a mailing list for discussions on cdrecording on
more or less POSIX like OS.

So it handles aspects of CD writing in general and portability problems
of CD-recording software.

PLEASE: Don't make this list a list where people only speak like:

I am GOD Linux, thou might not have any UNIX besides me.

I really hope that you are not so narrow minded as it looks from reading
your mail.


Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread schilling

From: Walter Hofmann [EMAIL PROTECTED]

[EMAIL PROTECTED] schrieb am Sonntag, den 17. Juni 2001:

 Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting

This is a gaping security hole. Especially given that cdrecord is often
used as root or setuid root.

At the very least use ${HOME}/.tmp.$$

But on many sites there are quotas on $HOME and the space on the HOIME FS 
may not allow you to store a CD even if there were no quotas.


It would make sense to be at least able to set the place where /tmp file
go to.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread schilling

From [EMAIL PROTECTED] Wed Jun 20 00:08:29 2001

So sprach Mike A. Harris am Mon, Jun 18, 2001 at 08:02:38AM -0400:
 define it in PAGER so there should be no problem.  All releases
 of Red Hat Linux I have at my disposal seem to define PAGER
 properly anyways.

Okay, I just checked a default install of RedHat 7.1 where less is also
avaiable, and there $PAGER isn't set.  I really don't know about your
RedHats, but it is unset at 6.2 and 7.1.

 So why not simply use ${PAGER-more} as I suggested in my first mail?

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread Walter Hofmann

[EMAIL PROTECTED] schrieb am Mittwoch, den 20. Juni 2001:

 At the very least use ${HOME}/.tmp.$$
 
 But on many sites there are quotas on $HOME and the space on the HOIME FS 
 may not allow you to store a CD even if there were no quotas.
 
 It would make sense to be at least able to set the place where /tmp file
 go to.

Agreed, but please default to the secure choice.

Walter


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread schilling

From: [EMAIL PROTECTED] (Bill Davidsen)


 And does your OS follow links by other users in directories which have
 the sticky bit set?

  If someone has invaded the system to the point where they can change
/tmp to a symbolic link, then you have vastly larger problems than
allowing access to a CD image.

  If you really care, you can create a permission 700 directory in /tmp
and change the script to put files there. This follows from my comment
above. I'm not sure I care, the machines on which I burn have only
trusted users, but if you do there are several solutions.

This looks like a really good idea.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread Bill Davidsen

Joerg Schilling [EMAIL PROTECTED] wrote:

 From [EMAIL PROTECTED] Tue Jun 19 23:50:08 2001
 
 So sprach Walter Hofmann am Tue, Jun 19, 2001 at 11:42:15PM +0200:
  I know what I'm going to choose.
 
 Yep, so do I.  But still J=F6rg's point is somewhat valid.  If there's no
 mktemp on the system, a portable way has to be chosen.  Even if the portable
 way is FAR less capable.  It all boils down to how portable the thing is
 supposed to be.
 
 BTW: Is (c)dialog preinstalled on (most) Unices?  If not, then it needs to
 be installed to make the CDcontrol scripts run anyway.  And while installing
 
 What should this be?
 
 It is not part of UNIX.

  Neither are your make or tar programs. It sounds as if you are saying
that using things which are not part of UNIX (I don't know if that
means Solaris or POSIX) is a bad thing. I don't think you really want to
make that argument.

  I am all in favor of using tools which are widely installed, that's my
definition of portable, which would certainly include things in Solaris,
Linux and AIX, even if they were not required by POSIX.

--
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-20 Thread Bill Davidsen

Walter Hofmann [EMAIL PROTECTED] wrote:

 Joerg Schilling schrieb am Mittwoch, den 20. Juni 2001:

  If youremove the old file first, you may be close to 100% sure that
  there is no such problem. Note that many UNIX programs create /tmp/ files
  and some of them make it easy to know the names in advance.
 
 The chance that this happens by accident is, indeed, very small.
 I was thinking about an attacker who deliberately and repeatedly creates
 links from files /tmp.123 to /var/spool/mail/username and also creates
 some additional load to make the window large enough.
 This seems very feasible for an attacker.

  As noted, if you want security you can create a subdirectory owned by
the effective user, permissions 0700, and put files in that. You can
create that in /tmp, and if the mkdir fails you stop there. If you want
to be paranoid, check statuses.

  I admit, that if I really wanted to do this I would probably write it
in perl, because doing it right and portable is very time-consuming.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Bill Davidsen

[EMAIL PROTECTED] wrote:

 From: [EMAIL PROTECTED] (Bill Davidsen)
 
I'm sure there's some limit to characters, but I haven't hit it yet.
  
  64k is the limiting factor when you specify lines - the default.
  
  as blocks are easier to type I use blocks when I whant to go back further and
  if I do this on Linux, it does not work!
 
 I see this:
   newssvr15:root tail -7 /var/log/debug | wc
 7 1255826 12390095
   newssvr15:root uname -a; uptime
   Linux newssvr15.news.prodigy.com 2.4.5-ac5 #4 SMP Wed Jun 6 12:37:23 EDT 2001 
i686 unknown
 1:28pm  up 11 days, 22:18,  5 users,  load average: 0.99, 1.10, 1.26
   newssvr15:root 
 
 So you are not running UNIX tail 

  No I'm running Linux tail, as it comes with Slackware, Redhat,
mandrake, SuSE, etc. Did you deliberately install UNIX tail on your
Linux system? And if so why doesn't the -NNNb option work to your
satisfaction?

 I can't seem to find this behaviour on any Slackware, SuSE or Redhat
 system even on systems last modified in 1968. This looks as if it works
 
 There was not UNIX in 1968.

  yes, typo, that's 1998. But you knew that, since it's in the build
date of my original post:
  Linux newsutil1 2.1.131 #4 SMP Thu Dec 10 10:59:04 EST 1998 i686 unknown
 
 fine. You're not running obsolete software are you? Or your own custom
 version of 'tail'?
 
 You are using a own custom version of tail, I use the UNIX tail command.

  No, I'm running whatever tail comes with all the distributions I use
from choice or necessity. That's why I tried several machines of various
flavors, to see if the tail I used was something recent.

  I really think you have some damaged version, the -b is flagged as
tail: b: invalid suffix character in obsolescent option (means
becoming obsolete, I think it is). Both Solaris and AIX also accept byte
counts larger than 64k, so there's no obvious reason to use b other than
habit.

  No, I don't know or claim POSIX says it's obsolete, but I haven't seen
anyone actually use it in at least the last eight years, any I'm sure I
haven't used it in longer than that.

  Anyway, I think there's no problem with 64k in standard Linux
distributions. I don't know what you're running, but it's not a Linux
problem in popular distributions.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Tue, Jun 19, 2001 at 07:54:02PM +0200:
 There was not UNIX in 1968.

Ah, so you never did a typo?

 You are using a own custom version of tail, I use the UNIX tail command.

Fine, so what?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 4 hours 2 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Alexander Skwar

So sprach Joerg Schilling am Wed, Jun 20, 2001 at 01:04:46AM +0200:
 What should this be?

Okay, thanks, this just shows that all your objections can be disregarded.

dialog is the toll used in the Linux kernel config when you run make
menuconfig (although lxdialog is a specialized version).  dialog is used to
easily create, well, dialog windows from within shell scripts.  Further
information is at http://www.advancedresearch.org/dialog/

 It is not part of UNIX.

That's not what I asked.  I asked if it's pre-installed, not if it's part of
some standard.,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 13 hours 24 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Joerg Schilling

From [EMAIL PROTECTED] Wed Jun 20 06:46:10 2001

So sprach Joerg Schilling am Wed, Jun 20, 2001 at 01:04:46AM +0200:
 What should this be?

[out of scope message deleted]

dialog is the toll used in the Linux kernel config when you run make
menuconfig (although lxdialog is a specialized version).  dialog is used to
easily create, well, dialog windows from within shell scripts.  Further
information is at http://www.advancedresearch.org/dialog/

 It is not part of UNIX.

That's not what I asked.  I asked if it's pre-installed, not if it's part of
some standard.,

so it is an internal part of the Linux kernel (even a hidden part) and nokody needs
to konw about it unless he is going to change the Linux config menues.

I see no relation to out discussion here


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread schilling

X-Envelope-Sender: [EMAIL PROTECTED]

Mike A. Harris wrote:
 /usr/bin/which is an ELF executable on Red Hat Linux, but I agree
 that it definitely is not an application that can be expected to
 be portable.

Which in Debian GNU/Linux it's a simple shell script that contains:


#!/bin/bash
unalias -a
unset -- $@ /dev/null
enable -n -- $@ /dev/null
type -p $@
---

So it will not do what people who know where which comes from expect.

The real which is (same file is on *BSD):
/*--*/
#! /usr/bin/csh -f
#
# Copyright(c) 1997, by Sun Microsystems, Inc.
# All rights reserved.
#
#ident @(#)which.csh   1.4 97/04/23 SMI
#
#   which : tells you which program you get
#
# Set prompt so .cshrc will think we're interactive and set aliases.
# Save and restore path to prevent .cshrc from messing it up.
set _which_saved_path_ = ( $path )
set prompt = 
if ( -r ~/.cshrc  -f ~/.cshrc ) source ~/.cshrc
set path = ( $_which_saved_path_ )
unset prompt _which_saved_path_
set noglob
foreach arg ( $argv )
set alius = `alias $arg`
switch ( $#alius )
case 0 :
breaksw
case 1 :
set arg = $alius[1]
breaksw
default :
echo ${arg}:aliased to $alius
continue
endsw
unset found
if ( $arg:h != $arg:t ) then# head != tail, don't search
if ( -e $arg ) then # just do simple lookup
echo $arg
else
echo $arg not found
endif
continue
else
foreach i ( $path )
if ( -x $i/$arg  ! -d $i/$arg ) then
echo $i/$arg
set found
break
endif
end
endif
if ( ! $?found ) then
echo no $arg in $path
endif
end
/*--*/Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Gleydson Mazioli da Silva

s/Which/which/

Gleydson Mazioli da Silva wrote:
 
 Mike A. Harris wrote:
  /usr/bin/which is an ELF executable on Red Hat Linux, but I agree
  that it definitely is not an application that can be expected to
  be portable.
 
 Which in Debian GNU/Linux it's a simple shell script that contains:
 
 
 #!/bin/bash
 unalias -a
 unset -- $@ /dev/null
 enable -n -- $@ /dev/null
 type -p $@
 ---
 
 ---
 Gleydson Mazioli da Silva
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 Não há quem não cometa erros e grandes homens cometem grandes erros.
 
 --Paulo Francis
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Não há quem não cometa erros e grandes homens cometem grandes erros. 

--Paulo Francis


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Bill Davidsen

[EMAIL PROTECTED] wrote:

 From: [EMAIL PROTECTED] (Bill Davidsen)
 
 [EMAIL PROTECTED] wrote:
 
  All implementations I know use 512 byte. You need it when you like to go back 
more 
  then 64kB.
 
   I didn't realize the standard required that, on Linux or AIX you just use the
 c option to get what you would like:
   deathstar:davidsen zcat /tmp/lp2/LocalPosts.199912.gz | tail -15c | wc -c
 15
 
   I'm sure there's some limit to characters, but I haven't hit it yet.
 
 64k is the limiting factor when you specify lines - the default.
 
 as blocks are easier to type I use blocks when I whant to go back further and
 if I do this on Linux, it does not work!

I see this:
  newssvr15:root tail -7 /var/log/debug | wc
7 1255826 12390095
  newssvr15:root uname -a; uptime
  Linux newssvr15.news.prodigy.com 2.4.5-ac5 #4 SMP Wed Jun 6 12:37:23 EDT 2001 i686 
unknown
1:28pm  up 11 days, 22:18,  5 users,  load average: 0.99, 1.10, 1.26
  newssvr15:root 

And on the oldest systems I could find easily:
gatekeeper:davidsen tail -7 mail/inn-workers | wc
  7  388964 3279144
gatekeeper:davidsen uptime; uname -a
  1:37pm  up 73 days, 16:12,  7 users,  load average: 0.25, 0.07, 0.02
Linux gatekeeper 2.1.106 #11 Sun Dec 6 14:08:00 EST 1998 i686 unknown

newsutil1:davidsen tail -75000 /home/davidsen/nsmail/Trash | wc
  75000  112995 4554404
newsutil1:davidsen uname -a; uptime
Linux newsutil1 2.1.131 #4 SMP Thu Dec 10 10:59:04 EST 1998 i686 unknown
  1:41pm  up 124 days, 21:46,  5 users,  load average: 0.13, 0.03, 0.01


I can't seem to find this behaviour on any Slackware, SuSE or Redhat
system even on systems last modified in 1968. This looks as if it works
fine. You're not running obsolete software are you? Or your own custom
version of 'tail'?

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Alexander Skwar

So sprach Walter Hofmann am Tue, Jun 19, 2001 at 11:13:56PM +0200:
 My mktemp binary actually uses mkstemp(3) instead of mktemp(3). mkstemp
 is supposed to be a secure version of mktemp.

Uhm, I don't know for sure, but I would suppose so as well.  But simply
according to the names I said the most safe answer without looking at the
source - but you're most certainly right.

 It does. Your method is insecure, that's the difference.

But it's not standard.  Uhuh...

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 6 hours 15 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Alexander Skwar

So sprach Walter Hofmann am Tue, Jun 19, 2001 at 11:42:15PM +0200:
 I know what I'm going to choose.

Yep, so do I.  But still Jörg's point is somewhat valid.  If there's no
mktemp on the system, a portable way has to be chosen.  Even if the portable
way is FAR less capable.  It all boils down to how portable the thing is
supposed to be.

BTW: Is (c)dialog preinstalled on (most) Unices?  If not, then it needs to
be installed to make the CDcontrol scripts run anyway.  And while installing
one package, some other packages might be installed right away as well. 
Like less, mktemp (? don't know - is there something like this for legacy
systems?), bash

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 6 hours 30 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Alexander Skwar

So sprach Mike A. Harris am Mon, Jun 18, 2001 at 08:02:38AM -0400:
 define it in PAGER so there should be no problem.  All releases
 of Red Hat Linux I have at my disposal seem to define PAGER
 properly anyways.

Okay, I just checked a default install of RedHat 7.1 where less is also
avaiable, and there $PAGER isn't set.  I really don't know about your
RedHats, but it is unset at 6.2 and 7.1.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 6 hours 48 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Joerg Schilling

From [EMAIL PROTECTED] Tue Jun 19 23:25:06 2001

[EMAIL PROTECTED] schrieb am Sonntag, den 17. Juni 2001:

 Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting

This is a gaping security hole. Especially given that cdrecord is often
used as root or setuid root.

If you prove me that you gained root privilleges using a recent cdrecord 
in suid mode, I'll give you a bottle of Champain.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Joerg Schilling

From [EMAIL PROTECTED] Tue Jun 19 23:25:33 2001

[EMAIL PROTECTED] schrieb am Sonntag, den 17. Juni 2001:

 If you are going to write a security related application, this note may be useful.
 
 Unfortunately your thoughts are based on a wrong assumption:
 
 There is only one reason to hide the name of a tempfile from other people:
 
  You are going to write a security relevant appliaction where people
  could gain something from attaking the /tmp files. You see, it only
  applies to suid or sgid applications.

So having a script which, when run by a user, can cause the user's mail
spool file to be overwritten is not a security problem?

If youremove the old file first, you may be close to 100% sure that
there is no such problem. Note that many UNIX programs create /tmp/ files
and some of them make it easy to know the names in advance.

 
Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Joerg Schilling


From [EMAIL PROTECTED] Tue Jun 19 23:50:08 2001

So sprach Walter Hofmann am Tue, Jun 19, 2001 at 11:42:15PM +0200:
 I know what I'm going to choose.

Yep, so do I.  But still J=F6rg's point is somewhat valid.  If there's no
mktemp on the system, a portable way has to be chosen.  Even if the portable
way is FAR less capable.  It all boils down to how portable the thing is
supposed to be.

BTW: Is (c)dialog preinstalled on (most) Unices?  If not, then it needs to
be installed to make the CDcontrol scripts run anyway.  And while installing

What should this be?

It is not part of UNIX.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Walter Hofmann

On Tue, 19 Jun 2001, Alexander Skwar wrote:

 So sprach Walter Hofmann am Tue, Jun 19, 2001 at 11:42:15PM +0200:
  I know what I'm going to choose.
 
 Yep, so do I.  But still Jörg's point is somewhat valid.  If there's no
 mktemp on the system, a portable way has to be chosen.  Even if the portable
 way is FAR less capable.  It all boils down to how portable the thing is
 supposed to be.

Putting the temp file in the user's home directory being the obvious
choice.

Walter


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Walter Hofmann

Joerg Schilling schrieb am Mittwoch, den 20. Juni 2001:

 You are going to write a security relevant appliaction where people
 could gain something from attaking the /tmp files. You see, it only
 applies to suid or sgid applications.
 
 So having a script which, when run by a user, can cause the user's mail
 spool file to be overwritten is not a security problem?
 
 If youremove the old file first, you may be close to 100% sure that
 there is no such problem. Note that many UNIX programs create /tmp/ files
 and some of them make it easy to know the names in advance.

The chance that this happens by accident is, indeed, very small.
I was thinking about an attacker who deliberately and repeatedly creates
links from files /tmp.123 to /var/spool/mail/username and also creates
some additional load to make the window large enough.
This seems very feasible for an attacker.

Walter


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-19 Thread Walter Hofmann

Joerg Schilling schrieb am Mittwoch, den 20. Juni 2001:

 From [EMAIL PROTECTED] Tue Jun 19 23:25:06 2001
 
 [EMAIL PROTECTED] schrieb am Sonntag, den 17. Juni 2001:
 
  Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting
 
 This is a gaping security hole. Especially given that cdrecord is often
 used as root or setuid root.
 
 If you prove me that you gained root privilleges using a recent cdrecord 
 in suid mode, I'll give you a bottle of Champain.

Note that I was not claiming that cdrecord has a security hole, but some
script.

Walter


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread schilling


From: Gleydson Mazioli da Silva [EMAIL PROTECTED]

Alexander Skwar wrote:
 
 So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:47:29AM -0400:
  This is not the case of the Debian distribution, less isn't part of base
  system,
  a user will need to install it by hand.
 
 Aha, didn't know that.  So, when you're reading a man page on Debian, you
 cannot scroll back?

Yes, unless you install some tools and packages than only the base
system 
(that come in seven floppy disks). After that, the PAGER variable points 
to less in /etc/alternatives/editor
^^
There is no such file!

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Mon, Jun 18, 2001 at 11:54:22AM +0200:
 to less in /etc/alternatives/editor
   ^^
   There is no such file!

How do you know?  In Debian and Mandrake, there's of course a
/etc/alternatives directory, and there may very, very well be a file called
editor in there.

Just because there's no such directory in your old standards, doesn't mean,
that there's something like this in current Linux distributions.

Besides - the user doesn't have to care about the alternatives directory. 
It's nothing more than a directory containing some symlinks.  In this case,
/usr/bin/vi maybe a symlink to /etc/alternatives/editor, which in turn maybe
a link to /usr/bin/vim.  This is so, that the user can chose between vim and
vile as his default editor (just an example, of course).  If the user now
wanted to to change to vile, he'd call a utility, which would change the
/etc/alternatives/editor symlink to /usr/bin/vile.

IMHO, this is a *VERY* nice concept.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 18 hours 33 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Alexander Skwar

So sprach Mike A. Harris am Mon, Jun 18, 2001 at 08:02:38AM -0400:
 define it in PAGER so there should be no problem.  All releases
 of Red Hat Linux I have at my disposal seem to define PAGER
 properly anyways.

Uhm, don't know about your RedHat Releases, I can only check two different
RedHat 6.2 installations, and there PAGER is not set.  And yes, less is
available.  Hmm, what tools page files other than man which seems to default
to less even if PAGER is unset?
And also Mandrake 7.2 and 8.0 do not have PAGER set, even with less being
installed by default.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 21 hours 40 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Alexander Skwar

So sprach Mike A. Harris am Mon, Jun 18, 2001 at 08:30:58AM -0400:
 I would consider defaulting to less to be very unportable
 behavior despite the fact that Linux systems normally install
 it, as most UNIX systems do not have less installed.

Yes, that's true.  I never said that 'more' should not be used - I merely
said that the pager should default to less if PAGER is unset (as in RedHat
6.2, Mandrake 7.2 and 8.0) and then, if less cannot be run, fallback to
more, which most certainly is available.

My problem is, that on my system (Mandrake), PAGER is unset, and still
less seems to be the default - however, could someone please tell me of
another tool besides 'man' that silently calls the default pager?  From what
all of you have said here, I *VERY* much would like to check if less is
really treated as the default inspite of PAGER being unset.

Thanks,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 21 hours 45 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Mon, 18 Jun 2001, Alexander Skwar wrote:

 I would consider defaulting to less to be very unportable
 behavior despite the fact that Linux systems normally install
 it, as most UNIX systems do not have less installed.

Yes, that's true.  I never said that 'more' should not be used - I merely
said that the pager should default to less if PAGER is unset (as in RedHat
6.2, Mandrake 7.2 and 8.0) and then, if less cannot be run, fallback to
more, which most certainly is available.

That sounds sane to me.  The only problem is guessing where it is
installed, or not specifying a path at all.


My problem is, that on my system (Mandrake), PAGER is unset, and still
less seems to be the default - however, could someone please tell me of
another tool besides 'man' that silently calls the default pager?  From what

default pager if PAGER is not set, is application defined
behavior.  Most likely a compile time option in many
applications, or changed via patching on Linux systems.

all of you have said here, I *VERY* much would like to check if less is
really treated as the default inspite of PAGER being unset.

If no PAGER var is set, then whatever application calls the pager
has hardcoded either less or more into it.  It isn't a system
wide thing per se.  And definitely not a UNIX wide thing.  Very
Linux specific behaviour.

I like the fact that less is the default in most Linux systems,
but it is not universal in UNIXland and should definitely not be
relied upon.

--
Mike A. Harris  Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc.Ontario, Canada, P6C 5B3
http://www.redhat.com   Phone: (705)949-2136
--
Latest XFree86 test RPMS:  ftp://people.redhat.com/mharris/testing


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released

2001-06-18 Thread schilling

From: Mike A. Harris [EMAIL PROTECTED]

Popularity != portability

Something is either portable or it isn't.  When trying to be
portable, one should choose programs ran from shellscripts with
care so that they run on as many OS's out there as possible.

If one wants to use snazzy modern features, that is ok, but it
should be done in a way that falls back to portable methods.

It turns out that if you think about your problem, you often find that
the new features are completely unneeded.  and if so, why
adding non-portable demands to your software?

The main problem is that many people who are new to UNIX and have no
background knowledge on how things should be done create nonportable
software by yust peeking into the features of Linux. 

An important fact is that the first solution in many times is not
the best solution.

This is why I higly demand people to read the documentation on:

http://www.opengroup.org/onlinepubs/7908799/

in favor of the Linux manuals. There are two reasons:

1)  many Linux manuals are not reflecting the programs currectly
because FSF things that you don't need manuals :-(

2)  Linux includes a lot of programs with (completely 
unneded) non standard options and features.

It always helps to first read the Official man page from Opengroup
and then compare the content with the OS you are using.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Alexander Skwar

So sprach Mike A. Harris am Mon, Jun 18, 2001 at 09:48:03AM -0400:
 That sounds sane to me.  The only problem is guessing where it is
 installed, or not specifying a path at all.

Yep.  That's really a problem, especially considering that 'which' cannot be
used as it may be a csh script on some systems.  Any idea how to portably
use something like 'which'?

 default pager if PAGER is not set, is application defined
 behavior.  Most likely a compile time option in many
 applications, or changed via patching on Linux systems.

Hmm, yes.

 I like the fact that less is the default in most Linux systems,
 but it is not universal in UNIXland and should definitely not be
 relied upon.

That's *EXACTLY* my opinion.  I never said anything different.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 22 hours 22 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released

2001-06-18 Thread Mike A. Harris

On Mon, 18 Jun 2001 [EMAIL PROTECTED] wrote:

Something is either portable or it isn't.  When trying to be
portable, one should choose programs ran from shellscripts with
care so that they run on as many OS's out there as possible.

If one wants to use snazzy modern features, that is ok, but it
should be done in a way that falls back to portable methods.

It turns out that if you think about your problem, you often find that
the new features are completely unneeded.  and if so, why
adding non-portable demands to your software?

Yep, I agree with that also.  It depends though on the goals of
such software.  There are applications I have written that were
somewhat of a research thing for myself, to scratch a personal
itch and had no need of being portable.  It isn't uncommon in
the open source world for this to be the case when writing new
software.  Many times one doesn't even plan on making their
sofware available widely, and it only becomes an afterthought.

I've got a fair number of bash2 scripts here.  If I release them
to people, they are portable as far as I'm concerned - bash2 is
it's own language, so it will work on any system where bash2 is
installed.  I would not modify these scripts to be bourne shell
compliant as it would severely complicate the code and make
maintenance a nightmare.  I'd rather keep the scripts to myself
than release them and have someone be upset about nonportability
- just as an example.  So there are circumstances where it is
acceptable IMHO to be non-portable as well.  It really depends on
the problem domain - but one should try to be portable if
possible as long as it doesn't overcomplicate things beyond the
problem domain, project goals, etc.


The main problem is that many people who are new to UNIX and have no
background knowledge on how things should be done create nonportable
software by yust peeking into the features of Linux.

That is true, yes.

An important fact is that the first solution in many times is not
the best solution.

This is why I higly demand people to read the documentation on:

   http://www.opengroup.org/onlinepubs/7908799/

in favor of the Linux manuals. There are two reasons:

s/demand/suggest/ would seem appropriate, yes.

1) many Linux manuals are not reflecting the programs currectly
   because FSF things that you don't need manuals :-(

Free software documentation is often not in sync with reality, or
completely accurate, yes.  More documentation is always useful.

2) Linux includes a lot of programs with (completely
   unneded) non standard options and features.

It always helps to first read the Official man page from Opengroup
and then compare the content with the OS you are using.

That's not bad advice at all.  Many people however are Linux
programmers and are not concerned with massive portability.  If
portability issues are a boon to someone's set goals, they are
likely to do things nonportably.  Also, many people simply are
not aware of some portability issues.  More frequently I find
portability issues WRT endianness, or assumptions of word size or
alignment.  Unless someone has used a system where these issues
are a reality though it is sensible to expect they will likely
write nonportable software.  64 bit computing is not within easy
and convenient reach of a good majority of Linux developers out
there for example.  Everyone has access to some sort of 32bit x86
box though so often assumptions are made that work there.
Similarly not everyone has access to Solaris, HPUX, etc.. but
they likely have access to Linux much more readily so it is
understandable that they can also make bad assumptions there
also.



--
Mike A. Harris  Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc.Ontario, Canada, P6C 5B3
http://www.redhat.com   Phone: (705)949-2136
--
Latest XFree86 test RPMS:  ftp://people.redhat.com/mharris/testing


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Bill Davidsen

[EMAIL PROTECTED] wrote:

  There already was a discussion whether GNUtar should be relpaced by star
  because star is written much cleaner. The demand from FSF failed because
  FSF had illegal demands in the Copyright of star.
 
 Don't know - is star not released under GPL?
 
 They wanted to have Copyright FSF instead of Copyright Jörg Schilling.
 This is illegal outside USA.

What? Try that again, I doubt you really mean that a corporation can't
hold a copyright outside the USA, since I have recent documentation
which certainly has corporate copyrights, coming from both the UK and
Germany. If you mean they want to take credit for your work, agreed,
they certainly have in some cases! If you are lucky they will recognize
you as a contributor somewhere down in the non-essential documentation.

But if it really illegal, please clarify a bit for those of us
unfamiliar with EU laws.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Gleydson Mazioli da Silva

Cool, I'll change some code to adopt some these standards on cdcontrol.

Thanks

Bill Davidsen wrote:
 
 Just a few notes on writing shell scripts in general:
 
 Filenames:
 
   bash, ksh, and recent SysV[34] shells all include $RANDOM, so a name
 like /tmp/$$_$RANDOM gives unique filenames. For the deeply paranoid who
 might have old files around, you can:
   MyFile=/tmp/$$_$RANDOM.myapp
   while [ -f $MyFile ]; do MyFile=/tmp/$$_$RANDOM.myapp; done
 while will give you a unique name. Of course it indicates other
 problems with old files hanging around, but that's not the issue.
 
 Results of command execution:
 
   Accent grave is more portable than paren notation, so `cmd` works in
 more places than $(cmd). On the other hand, $(is easier to read) if you
 know you will have a recent shell.
 
 Arithmetic:
 
   most portable is the use of expr to do math. If you accept that the
 let capability has been around for a decade, as has $((...)) notation,
 you can cut a few corners. If don't know if SysV shell has the $[...]
 notation supported by bash/ksh, but if total portability is my goal I
 still use expr.
 
   In order or partability:
 a=`expr $a + 4`
 a=$(($a+4))
 let a=a+4
 a=$[a+4]
 
 Functions and alias:
 
   Yes, there are still shells around which lack them. Not anything
 modern, but SysV2 shell is not as dead as it deserves to be :-(
 
 None of this is a comment on existing code, just a few tricks I picked
 up when doing support for scripts which had to run on everything from
 SysIII to BSD, including Xenix. Hopefully they will save someone some
 time.
 
 --
-bill davidsen ([EMAIL PROTECTED])
 The secret to procrastination is to put things off until the
  last possible moment - but no longer  -me
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Não há quem não cometa erros e grandes homens cometem grandes erros. 

--Paulo Francis


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Gleydson Mazioli da Silva

Mike A. Harris wrote:
 /usr/bin/which is an ELF executable on Red Hat Linux, but I agree
 that it definitely is not an application that can be expected to
 be portable.

Which in Debian GNU/Linux it's a simple shell script that contains:


#!/bin/bash
unalias -a
unset -- $@ /dev/null
enable -n -- $@ /dev/null
type -p $@
---

---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Não há quem não cometa erros e grandes homens cometem grandes erros. 

--Paulo Francis


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Sun, 17 Jun 2001, Alexander Skwar wrote:

 In addition: you are right, There are millions of UNIX systems without
  'less' installed.

How many linux installation are out there?  And how many UNIX installations?
I *SUSPECT* linux  Unix, so your comment isn't right.  Do you have numbers
to prove me wrong?

Personally, the number of each type of system out there doesn't
matter much in terms of portability.  Something is either
portable or it isn't.  When trying to be portable, one should
choose programs ran from shellscripts with care so that they run
on as many OS's out there as possible.

Depends on if one's goal is to write software that runs on the
most computers out there, or the most operating systems out
there.  The former is a subset of the latter.


--
Mike A. Harris  Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc.Ontario, Canada, P6C 5B3
http://www.redhat.com   Phone: (705)949-2136
--
Latest XFree86 test RPMS:  ftp://people.redhat.com/mharris/testing


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread schilling

From: Gleydson Mazioli da Silva [EMAIL PROTECTED]

 Yes, unless you install some tools and packages than only the base
 system
 (that come in seven floppy disks). After that, the PAGER variable points
 to less in /etc/alternatives/editor
 ^^
 There is no such file!

I'm sure that Debian distribution has such file, it come with default 
install system and points to /bin/ae. Please check yourself, I'm one of 
translators of boot-floppies and I'm sure about such thing...

But UNIX un general dont have it. So you should not rely on it.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Sat, 16 Jun 2001, Gleydson Mazioli da Silva wrote:

Date: Sat, 16 Jun 2001 20:03:52 -0400
From: Gleydson Mazioli da Silva [EMAIL PROTECTED]
To: Alexander Skwar [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1
Subject: Re: CDcontrol software released (

Alexander Skwar wrote:
 Okay, I wanted to try it.  It depends on tempfile - what's that, what's it
 used for, do I need it, and where can I get it?

It's a linux utility that returns a randomic name that the program uses
to create dynamic files while parsing the output from cdrecord software.
You can create any shell script named tempfile that return any name as
replacement.

I will sent the tempfile of Linux for you, it also worked file in *BSD
system.

In Linux systems mktemp shell utility should likely be used.
It is secure, and avoids tempfile races, symlink attacks, etc.


--
Mike A. Harris  -  Linux advocate  -  Open Source advocate
   Opinions and viewpoints expressed are solely my own.
--
Microsoft (noun).  C+ students programming in c++.  -- Mike DeMaria


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Sun, 17 Jun 2001, Alexander Skwar wrote:

 They wanted to have Copyright FSF instead of Copyright Jörg Schilling.
 This is illegal outside USA.

Hmm, is there really no way for Non-US citizens to transfer the Copyright to
the FSF?  I've got problems believing that there really is no way to
circumvent is small hurdle.

It is not necessary to transfer copyright to the FSF.  It is
requested but AFAIR not required.




--
Mike A. Harris  -  Linux advocate  -  Open Source advocate
   Opinions and viewpoints expressed are solely my own.
--
Microsoft (noun).  C+ students programming in c++.  -- Mike DeMaria


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Sun, 17 Jun 2001, Alexander Skwar wrote:

Date: Sun, 17 Jun 2001 15:42:07 +0200
From: Alexander Skwar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
 [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1
Subject: Re: CDcontrol software released (

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:31:58PM +0200:
 Of course you need some basic knowledge on shell programming:

 Use:

NOT!

 pager=${PAGER-more}

pager=${PAGER-less} if you don't want to surprise a lot of Linux users who
are used to the comfort of less.

I agree that it should be pager=${PAGER-more}.  Every UNIX and
UNIX like system out there has more, but not all of them have
less.  Systems that do have less usually set PAGER=/bin/less.

The line pager=${PAGER-more} will only use more if PAGER is
not already set.  In other words, if a system or user has not
defined their PAGER, then fallback to a sane default.  IMHO,
more is the sane portable default.

If one wants to get fancy, one could put code that checks $PAGER,
and if not set, tries less and if not there tries more but I
think that is overkill as most if not all systems that use less,
define it in PAGER so there should be no problem.  All releases
of Red Hat Linux I have at my disposal seem to define PAGER
properly anyways.


--
Mike A. Harris  -  Linux advocate  -  Open Source advocate
   Opinions and viewpoints expressed are solely my own.
--
The day Microsoft makes something that doesn't suck, is 
probably the day Microsoft starts making vacuum cleaners.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Sun, 17 Jun 2001 [EMAIL PROTECTED] wrote:

Date: Sun, 17 Jun 2001 15:51:15 +0200 (MEST)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED], [EMAIL PROTECTED],
 [EMAIL PROTECTED]
Subject: Re: CDcontrol software released (

From: Gleydson Mazioli da Silva [EMAIL PROTECTED]


Maybe a simple check if the $PAGER variable exists and trying which
less and
which more (as last resource) could be the enought...

Which cannot be used as 'which' is a csh script.
It will fail if the user has no .cshrc which sets a CSH more alias.

/usr/bin/which is an ELF executable on Red Hat Linux, but I agree
that it definitely is not an application that can be expected to
be portable.




--
Mike A. Harris  -  Linux advocate  -  Open Source advocate
   Opinions and viewpoints expressed are solely my own.
--
There are two major products that come out of Berkeley: LSD and BSD.
We don't believe this to be a coincidence. -- Jeremy S. Anderson


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread schilling


From: [EMAIL PROTECTED] (Bill Davidsen)


Filenames:

  bash, ksh, and recent SysV[34] shells all include $RANDOM, so a name
like /tmp/$$_$RANDOM gives unique filenames. For the deeply paranoid who
might have old files around, you can:
  MyFile=/tmp/$$_$RANDOM.myapp

This is not correct:

 sh
$ echo $RANDOM

$ 

uname -a
SunOS burner 5.8 Generic sun4u sparc SUNW,Ultra-5_10

... the latest version of the bourne shell.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Bill Davidsen

Alexander Skwar [EMAIL PROTECTED] asked:

 So sprach Gleydson Mazioli da Silva am Sat, Jun 16, 2001 at 05:06:11PM -040=
 0:
  I've released today the cdcontrol software, it's base is
 
 Okay, I wanted to try it.  It depends on tempfile - what's that, what's it
 used for, do I need it, and where can I get it?
 
 IOW: 'memoria-cd' failed, telling me, that tempfile isn't installed.  That's
 right, it's not installed, and none of the packages from my distribution
 (Mandrake Cooker) has such a file.

  I'm not sure why this was used, insead of the standard mktemp system
function provided for creating temp filenames. I haven't had a chance to
look at the code, but unless there's a major reason to do otherwise, I'd
be tempted to use a macro wrapped around mktemp, since the best
practice for creating names may vary by implementation.

  Remember: you are warned that I haven't looked at the code ;-) My next
free moment to look at anything I don't need is the day after Christmas.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Bill Davidsen

Just a few notes on writing shell scripts in general:

Filenames:

  bash, ksh, and recent SysV[34] shells all include $RANDOM, so a name
like /tmp/$$_$RANDOM gives unique filenames. For the deeply paranoid who
might have old files around, you can:
  MyFile=/tmp/$$_$RANDOM.myapp
  while [ -f $MyFile ]; do MyFile=/tmp/$$_$RANDOM.myapp; done
while will give you a unique name. Of course it indicates other
problems with old files hanging around, but that's not the issue.

Results of command execution:

  Accent grave is more portable than paren notation, so `cmd` works in
more places than $(cmd). On the other hand, $(is easier to read) if you
know you will have a recent shell.

Arithmetic:

  most portable is the use of expr to do math. If you accept that the
let capability has been around for a decade, as has $((...)) notation,
you can cut a few corners. If don't know if SysV shell has the $[...]
notation supported by bash/ksh, but if total portability is my goal I
still use expr.

  In order or partability:
a=`expr $a + 4`
a=$(($a+4))
let a=a+4
a=$[a+4]

Functions and alias:

  Yes, there are still shells around which lack them. Not anything
modern, but SysV2 shell is not as dead as it deserves to be :-(

None of this is a comment on existing code, just a few tricks I picked
up when doing support for scripts which had to run on everything from
SysIII to BSD, including Xenix. Hopefully they will save someone some
time.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Bill Davidsen

Gleydson Mazioli da Silva [EMAIL PROTECTED] wrote:

  Indeed, this should be changed to /bin/sh
 
 If the sh point to csh or ash it will not work :-(

And if grep points to sed it will not work either. I can't imagine
anyone pointing /bin/sh at a program with totally diferent usage and
syntax, so I wouldn't worry about it.

There are a few issues with portability using reasonable shells, I think
these have been reasonably addressed.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Bill Davidsen

[EMAIL PROTECTED] wrote:

 From: [EMAIL PROTECTED] (Bill Davidsen)
 
 Also noted in passing, while some implementations of 'tail' have a -b
 option, a block can be 512 or 1024 bytes, making it a bit
 non-deterministic. I don't have a POSIX.1 here, but I have to feel that
 the count by lines and bytes are more likely to produce postable
 results. Since implementations of tail predate POSIX, standard and
 portable are not the same thing, so let's not reopen a discussion of
 that.
 
 All implementations I know use 512 byte. You need it when you like to go back more 
 then 64kB.

  I didn't realize the standard required that, on Linux or AIX you just use the
c option to get what you would like:
  deathstar:davidsen zcat /tmp/lp2/LocalPosts.199912.gz | tail -15c | wc -c
15

  I'm sure there's some limit to characters, but I haven't hit it yet.

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Alexander Skwar

So sprach Gleydson Mazioli da Silva am Mon, Jun 18, 2001 at 08:16:17AM -0400:
 install system and points to /bin/ae. Please check yourself, I'm one of 

But there isn't a /bin/ae on UNIX *LOL*

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 1 day 21 hours 54 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Mon, 18 Jun 2001 [EMAIL PROTECTED] wrote:

has to be taken to make sure that something as simple as his script is
portable, maybe it's because of your constant rambilings against Linux and
GNU and pro-Standards.  Dunno.

If people in the Linux universe don't care about portability  (even
bewteen different Linux distributions) then good bye UNIX and hello M$.

Portability is important, but the importance varies from app to
app IMHO.  There is no need to make things unportable really
unless it is something very unportable to begin with and making
it portable is outside the scope of a project's goals.

I think standards, wether defacto or official are necessary as
well for the benefit of all, which is why we try to follow SuSv2,
ISO C99, LSB, FHS, etc.

I believe Linux distributions are becoming more alike than more
apart, so it is a good thing as applications will be easier to
write and work everywhere.  This is different topic however than
portability to non-Linux systems which issues shall remain for
quite some time until older systems are considered deprecated and
not worth supporting.


--
Mike A. Harris  Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc.Ontario, Canada, P6C 5B3
http://www.redhat.com   Phone: (705)949-2136
--
Latest XFree86 test RPMS:  ftp://people.redhat.com/mharris/testing


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris

On Mon, 18 Jun 2001, Alexander Skwar wrote:

 define it in PAGER so there should be no problem.  All releases
 of Red Hat Linux I have at my disposal seem to define PAGER
 properly anyways.

Uhm, don't know about your RedHat Releases, I can only check two different
RedHat 6.2 installations, and there PAGER is not set.  And yes, less is
available.  Hmm, what tools page files other than man which seems to default
to less even if PAGER is unset?

Yes, but because Red Hat Linux may do that does not mean it is a
portable thing to rely on.

And also Mandrake 7.2 and 8.0 do not have PAGER set, even with less being
installed by default.

Yes, but again making programs run on Linux without a care to
wether they run on other systems is not portability.



--
Mike A. Harris  Shipping/mailing address:
OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie,
Red Hat Inc.Ontario, Canada, P6C 5B3
http://www.redhat.com   Phone: (705)949-2136
--
Latest XFree86 test RPMS:  ftp://people.redhat.com/mharris/testing


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach Joerg Schilling am Sun, Jun 17, 2001 at 11:13:48AM +0200:
 There is neither of both on UNIX so you should'nt use them.

So, the superior OS'es like Solaris, HP-UX etc.pp. don't have neither of
mktemp and tempfile?  What a shame...

 UNIX shell scripts are creating tmp files by using a file name 
 line /tmp/xxx.$$

Which works, yes, but you will not get more than 1 tempfile this way, will
you?

 #!/bin/bash
 
 in the first line. There is no /bin/bash on UNIX, you should
 use /bin/sh. I am sure that ther is no need to use bash nonstandard
 shell extensions in your shell sript.

Indeed, this should be changed to /bin/sh

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 18 hours 2 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From: Alexander Skwar [EMAIL PROTECTED]

So sprach Joerg Schilling am Sun, Jun 17, 2001 at 11:13:48AM +0200:
 There is neither of both on UNIX so you should'nt use them.

So, the superior OS'es like Solaris, HP-UX etc.pp. don't have neither of
mktemp and tempfile?  What a shame...

What a shame for Linux: You don't need it! 

The main UNIX design goal is not to add useless gicks

 UNIX shell scripts are creating tmp files by using a file name=20
 line /tmp/xxx.$$

Which works, yes, but you will not get more than 1 tempfile this way, will
you?


Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting


 #!/bin/bash
=20
 in the first line. There is no /bin/bash on UNIX, you should
 use /bin/sh. I am sure that ther is no need to use bash nonstandard
 shell extensions in your shell sript.

Indeed, this should be changed to /bin/sh

And it is nice to see how development done on Linux yields in nonportable
results without reason.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From [EMAIL PROTECTED] Sun Jun 17 16:14:20 2001

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:51:15PM +0200:
 Which cannot be used as 'which' is a csh script.
 It will fail if the user has no .cshrc which sets a CSH more alias.

?

[askwar@teich askwar]$ file $(which which)
/usr/bin/which: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped

Ie. it's a binary - at least here.

There may be other implementations. The standard implementation is a csh script.
 and this is the only CSH script on UNIX.

 In addition: you are right, There are millions of UNIX systems without
  'less' installed.

How many linux installation are out there?  And how many UNIX installations=
?=20
I *SUSPECT* linux  Unix, so your comment isn't right.  Do you have numbers
to prove me wrong?

From current numbers, it may be ~ 1:1

But as it looks that there are Linux installations without less, it makes
sense to believe that there are more systems without less than with.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Gleydson Mazioli da Silva

I agreed to stop this thread,

My intention is only to improve the CDcontrol and make it portable.

Thanks by all suggestion, I'll make some changes in order to improve 
the system on that way.

[EMAIL PROTECTED] wrote:
 
 From: =?iso-8859-1?q?Bj=F8rn=20T=20Johansen?= [EMAIL PROTECTED]
 
 Is it about time to move this thread away from this mailing list
 
 I believe so!
 
 The start of the thread was nice for others to see how portable software
 is developed and what should be thought of if somebody likes to make
 contributions to cdrecord.
 
 Now it has been become too specialized.
 
 Jörg
 
  EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
[EMAIL PROTECTED]   (work) chars I am Jorg Schilling
  URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* Se você não perguntar o por quê das coisas, logo estarão perguntado o
por quê de você.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Gleydson Mazioli da Silva

Alexander Skwar wrote:
 
 So sprach Gleydson Mazioli da Silva am Sat, Jun 16, 2001 at 10:40:20PM -0400:
  Humm, it do the same job for Linux systems, I need to know if it exist
 
 What Linux distribution ships with tempfile?  I just had a look
 rpmfind.net, and none of the RPM based distributions has got a package
 called called tempfile or a package containing an executable called
 tempfile.

mktemp is more portable really.

 
 Uhm, BTW: Why are you checking for tempfile at all?  A grep for tempfile
 revealed, that you always do:
 
 L_TMPFILE=`tempfile 2/dev/null` || L_TMPFILE=/tmp/temp$$

This block is checked by all cdcontrol childrens process to write to the
same file 
(the reporting file), the lockfile is needed in this case

 So, if tempfile cannot be run or yields an error, you set the tempfile name
 in the portable way Jörg mentioned.

Yes, I agree
 
 Also I wonder why you are using mc to view a file.  I'd suggest to use
 less.  And for users of real unices who are stuck with more, more should be
 used.

Humm, this was my mistaken... 
 
 Gleydson: At the beginning of the 'memoria-cd' script, you calculate:
 
 if [ $(echo \(${SYS_MEM}-\(${CACHE}*${WRITTERS}\)\)-4|bc) -lt 0 ];then
 
 The error message that you print doesn't really help.  IMHO it would be
 better, if you'd also say that the error is because there isn't enough
 SYS_MEM set apart.  And the * in the line should be escaped, I think.
 
 Jörg: Does the ps on real Unices support this: ps ax --sort=ppid ?

No, I would need a better way to do the same job :-(
 
 Gleydson: The amount of system memory can be calculated by:
 
 ls -lh /proc/kcore | awk '{ print $5 }' | sed 's|M||'

 Yes, this is not portable.  Is this more portable?
 
 free | grep 'Mem:' | awk '{ print $2 }' | sed 's|M||'

The non portable memory checking was already removed, you suggestion is 
really a lot better and more clean :-)

 Okay, other than that, the program looks good.  Not that I might use it,
 because I'm not burning multiple images at the same time, but for people who
 do so, it might be quite handy.

Thanks for your patches :-))

---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* O que abunda não prejudica ( do latim - quid abundat non nocere)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From [EMAIL PROTECTED] Sun Jun 17 13:43:05 2001

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:26:11PM +0200:
 The mktemp binary is nothing more than a wrapper to the C function mktem=
p,
 which conforms to BSD 4.3, at least according to mktemp(3).
=20
 But mktemp does not do anything different from the method I proposed.

=46rom man mktemp:

| mktemp is provided to allow shell scripts to safely use temporary files.
| Traditionally, many shell scripts take the name of the program with the P=
ID
| as a suffix and use that as a temporary file name.  This kind of naming
| scheme is predictable and the race condition it creates is easy for an
| attacker to win.  A safer, though still inferior approach is to make a
| temporary directory using the same naming scheme.  While this does allow =
one
| to guarantee that a temporary file will not be subverted, it still allows=
 a
| simple denial of service attack.  For these reasons it is suggested that
| mktemp be used instead.


If you are going to write a security related application, this note may be useful.

Unfortunately your thoughts are based on a wrong assumption:

There is only one reason to hide the name of a tempfile from other people:

You are going to write a security relevant appliaction where people
could gain something from attaking the /tmp files. You see, it only
applies to suid or sgid applications.

You cannot write 100% secure suid scripts so why have the feature
for shell scripts that does not make sense in shell scripts.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From: Alexander Skwar [EMAIL PROTECTED]


=20
 1)   I warn poeple when FSF programs do make life harder.

Why make tools with a greater ease of use life harder?

Sure? let's use something different from GNUtar so you cannot tell
that I am only pointing to GNU tar:

Why does GNU tail does not support the -b option?
-b is in the standard and the fact that GNU tar is
far way off from the standard makes life harder when I
am constantly switching between OSes as I need to write
portable software.



  -   Look at the GNU tar source and judge your own. The=20
  GNU tar source is a big pile of spaghetti code. It is
  hard to find bugs by people who are not used to work on it.

That's right.

And it makes no sense to really further enhance GNU tar. This has been
aggreed on with the current GNU tar maintainer.

There already was a discussion whether GNUtar should be relpaced by star
because star is written much cleaner. The demand from FSF failed because
FSF had illegal demands in the Copyright of star.

  -   Next time you will send me a bug report for cdrecord,
  I will tell you that it is _your_ task to find a patch
  for the bug. So please stay resonable!

I don't get it - if I have a problem with cdrecord, it's of course my task
to either write a patch for it and tell you about it, or to at least inform
you, the author, about it.  But why should I tell the guy next door that I
have a problem with cdrecord, so that he writes a patch to cdrecord?  That's
what you are suggesting wrt. tar - you've said that I should patch tar.  I'm
not the author of tar.  So what I said was reasonable - maybe my choice of
words was not.

NO: you don't get it.

I wrote everal time in the GNU tar discussion, that I _did_ write bug reports
to the GNU tar maintainer in 1994  1995 and nothing happened!

The files in ftp://ftp.fokus.gmd.de/pub/unix/star/testscripts/ partially 
are a result of this discussion. The main Problem with GNU tar is that there 
is no systematic testing done with GNU tar as I do with star. Everytime when
thought of adding a new feature in star that already exists in GNU tar,
I thought of possible problems. Then I did tests with GNU tar and found a bug.

I hope you now understand the problem: GNU tar is buggy, I did report the bugs
long long ago but the GNU tar maintainers are unwilling to fix bugs in GNU tar.
My conclusion is to warn people from using GNU tar.

Note that this does not only apply to interoperability bewteen GNU tar and other
tar programs. Most of the bugs I reported were present with GNU tar - GNU tar!


Okay, but he used /bin/bash, didn't he?  With this approach, it is very much
portable, as /bin/bash is not the default shell.  So both mine and your
remarks are exaggerated.

But there is no guarantee that there is a /bin/bash. /bin/sh os present on al
UNIX flavors and I cannot believe that the scripts cannot be made working for
/bin/sh. ... of course you need to know what sh officially supports as Linux
unfortunately links /bin/sh to /bin/bash.

Good question.  To enhance the ease of use: Yes, you do need such a feature=
.=20
But he may write something like I suggeseted, together with:

# If your system does not provide a /proc/kcore file or the 'free' tool,
# please enter the amount of system memory manually.

Other applications have similar problems and did solve them.
It is always a good idea to look at other applications to learn good practice.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From [EMAIL PROTECTED] Sun Jun 17 14:26:30 2001

Why make tools with a greater ease of use life harder?

Sure? let's use something different from GNUtar so you cannot tell
that I am only pointing to GNU tar:

   Why does GNU tail does not support the -b option?
   -b is in the standard and the fact that GNU tar is
^^^
   far way off from the standard makes life harder when I
   am constantly switching between OSes as I need to write
   portable software.

Sorry, this should of course be 'GNU tail' in the last sentence.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Gleydson Mazioli da Silva

[EMAIL PROTECTED] wrote:
 What a shame for Linux: You don't need it!

I've developed cdcontrol on it, sorry for some things that point to 
Linux utilities :-(
 
 Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting

Living and learning, that's better and more faster than mktemp :-)))

 And it is nice to see how development done on Linux yields in nonportable
 results without reason.

All cdcontrol is being changed by patches sent by this discussion list, 
I'm learning how to port a system catching one by one constructive 
suggestions that all they had sent to me 

 
 Jörg
 
  EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
[EMAIL PROTECTED]   (work) chars I am Jorg Schilling
  URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* O que abunda não prejudica ( do latim - quid abundat non nocere)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Gleydson Mazioli da Silva

[EMAIL PROTECTED] wrote:
 You are thinking the wrong way. You should think: what tools are available
 on a standard compliant OS and will they fit my needs. If they fit your needs
 then use them even if it might be easier to use the nonstandard things from
 Linux.
 
 ... If it is _really_ not possible to live with standard tools, think of other
 solutions.

I simply don't know all tools and functions of all operating systems, 
Because of that I need to patches to improve the system, instead of 
flames because I've developed it to use tools that I already 
know in my day-to-day.

I'm learning a lot too from the suggestions and tricks sent by list to 
improve the system.

 There is no reason to use tempfile at all as I see no improvement with tempfile
 compared to a standard solution.

Do you mean /tmp/file.$$$?
 
 If you like your application to be usable (and accepted) by many people,
 use standard tools. There is no 'less' on UNIX! If you need more, use more.
 If you like the user to be able to use a different pager, check $PAGER.

Yes, $PAGER sounds better yet than less. Personally I use less as $PAGER
but I know people that uses emacs, mc, joe...

 
 *** Here is something that leads us back to the TAR discussion **
 
  So I should add some final notes on the TAR discussion. Note that I am doing
 this in this thread, because I hope not to restart the TAR thread this way.

Ok
 
 The big problem with FSF (official GNU) is that FSF likes to _force_ users to use
 FSF Programs anywhere. This is _very_ similar to what M$ does. There is no
 difference from taking money for the tools or not if you only look at this
 point.
 
 My main goal is that people should be able to use what they prefer, but the
 defaults should be the standarards (POSIX  OpenGroup) and _not_ FSF. At least
 when there is a diference between FSF tools and the standards.

I agreed, now I see that makes no sense to use non-standard tools.
 
 If you did not yet get my message from the TAR discussion, I repeat it in different
 words:
 
 Use whatever TAR program you like to use.
 
 However, if your favorite TAR program is not able to extract TAR archives
 don't piss on me! Simply send a bug report to the maintainer of your
 favorite TAR program.
 
 *
 
 As it seems that people who know nothing but Linux have problens to find out
 what is nonstandard on Linux, here is the ultimate link for the official
 behavior of *NIX:
 
 http://www.opengroup.org/onlinepubs/7908799/
 
 J=F6rg: Does the plain, old sh support functions in shell scripts?  If not,
 
 Of course: This feature has been added around 1982-1984
 
 than the memoria-cd script might print a message like:
 
 Please upgrade your shell to something usable like bash.  Cannot go on.
 
 Using the word upgrade is very very quetionable in this context.
 
 If you overwrite /bin/sh with bash or if you modify the root account
 to use any other shell than sh (note that this is even /sbin/sh on modern
 UNIXes - /sbin/ is the static binaries directory - All programs in /sbin
 need to be able to work in single user mode when there are no shared libraries
 available) you may completely corrupt your installation forcing a re-install
 from CD.

 
 J=F6rg: Does the ps on real Unices support this: ps ax --sort=3Dppid ?
 
 NO: UNIX does not suport 'ps ax' at all AFAIK, Linux has no standard compliant
 pa at all.

Really that ps ax --sort=ppid write the pid number only as a status,
this 
not affect the cdcontrol system of any way. 
There is another way to get real pid from each parent cdrecord process
that 
controls each recorder without to use that? I had no luck with 'pidof'
and
I'm not sure if it's posix compliant or not...
 
 Look at: http://www.opengroup.org/onlinepubs/7908799/xcu/ps.html

 for the official behavior of 'ps'.
 cat /var/adm/messages* | grep 'mem ' ...

Humm, the debian distribution store this logfile in /var/adm/messages

 
 But:
 
 -   This does not work on Linux because it uses nonstandard places
 for log files.
 
 -   If a machine is 'up' for a long time the needed information has been
 scrolled out.

The system could be changed to check from the output of 
'uname' (is uname a standard unix tool?), and run the apropriade 
code for Linux ou other some unix flavor. 

Thanks again

---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Tenho o maior orgulho de jogar na terra onde Cristo nasceu...

--Claudiomiro, ex-meia do Internacional-RS ao chegar em
  Belém do Pará para disputar uma partida contra o 
  Payssandu pelo Brasileirão de 72


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From [EMAIL PROTECTED] Sun Jun 17 14:45:42 2001

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 02:26:12PM +0200:
  Why does GNU tail does not support the -b option?
  -b is in the standard and the fact that GNU tar is

tail or tar?  What should -b do?

Of course tail. tail -b 4 shows the last 4 blocks.

 There already was a discussion whether GNUtar should be relpaced by star
 because star is written much cleaner. The demand from FSF failed because
 FSF had illegal demands in the Copyright of star.

Don't know - is star not released under GPL?

They wanted to have Copyright FSF instead of Copyright Jörg Schilling.
This is illegal outside USA.

Here we are in problem with the english language.
Do you have an englich word that mets the meaning of Urheberecht ?

 I wrote everal time in the GNU tar discussion, that I _did_ write bug rep=
orts
 to the GNU tar maintainer in 1994  1995 and nothing happened!

Yes, I read this and was aware of this - but still, why should I write a
patch to GNU tar if I'm happy with GNU tar?

I never requested you to write a patch for GNU tar! I requested the GNU tar
mainainer to fix GNU tar and failed.


 /bin/sh. ... of course you need to know what sh officially supports as Li=
nux
 unfortunately links /bin/sh to /bin/bash.

*URGS*  Why unfortunately?  Just because it uses a *MUCH* nicer shell than
sh doesn't mean it's unfortunate.  And IIRC, sh cannot be included because
of Copyright reasons.

How should you write shell conformant scripts if you dont't have a shell that
is /bin/sh compliant?

There is no copyright issues. Other OS have a more shell compliant /bin/sh.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 12:27:24PM +0200:
 What a shame for Linux: You don't need it! 

What a shame for you: You don't get it!

The mktemp binary is nothing more than a wrapper to the C function mktemp,
which conforms to BSD 4.3, at least according to mktemp(3).

 The main UNIX design goal is not to add useless gicks

Define useless...  I find it quite useful to have a at least somewhat hard
to predict filename, instead of just /tmp/xxx.1, /tmp/xxx.2, /tmp/xxx.3...

 Well UNIX _allows_ you to be creative: use /tmp/xx.$$.someting

This inferior way is also present in bash.

 And it is nice to see how development done on Linux yields in nonportable
 results without reason.

And it's nice to see that no progress should be made just because some sh's
are still in the stoneage.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 19 hours 30 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling


From [EMAIL PROTECTED] Sun Jun 17 15:29:45 2001


 Yes, $PAGER sounds better yet than less. Personally I use less as $PAGER
 but I know people that uses emacs, mc, joe...

But PAGER isn't always set.  If PAGER isn't set (as it's probably most often
the case on Linux systems), I'd use less since this is the standard in
Linux.  Now, if even less isn't available, I'd fall back to the least common
demoniator being more.  This is the way it seems to work on linux at what
users expect.

Of course you need some basic knowledge on shell programming:

Use:

pager=${PAGER-more}

eval $pager someargs



Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:31:58PM +0200:
 Of course you need some basic knowledge on shell programming:
 
 Use:

NOT!

 pager=${PAGER-more}

pager=${PAGER-less} if you don't want to surprise a lot of Linux users who
are used to the comfort of less.

And you should add this for users who are so unfortunate to still have to
use more:

which $pager 2/dev/null || pager=more
which $pager 2/dev/null || unset pager

if [ x$pager == x ]; then
echo no pager can be found
exit 1
fi

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 21 hours 58 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling


From [EMAIL PROTECTED] Sun Jun 17 15:42:21 2001

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:31:58PM +0200:
 Of course you need some basic knowledge on shell programming:
=20
 Use:

NOT!

 pager=3D${PAGER-more}

pager=3D${PAGER-less} if you don't want to surprise a lot of Linux users who
are used to the comfort of less.

Well you are misinterpreting standards. The standard pager is more and if
a user did not set $PAGER he does not care about the pager he uses.
This is how UNIX always worked.

And you should add this for users who are so unfortunate to still have to
use more:

which $pager 2/dev/null || pager=3Dmore
which $pager 2/dev/null || unset pager

if [ x$pager =3D=3D x ]; then
   echo no pager can be found
   exit 1
fi

DONT DO THIS!

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Gleydson Mazioli da Silva

Alexander Skwar wrote:
  Yes, $PAGER sounds better yet than less. Personally I use less as $PAGER
  but I know people that uses emacs, mc, joe...
 
 But PAGER isn't always set.  If PAGER isn't set (as it's probably most often
 the case on Linux systems), I'd use less since this is the standard in
 Linux.  Now, if even less isn't available, I'd fall back to the least common
 demoniator being more.  This is the way it seems to work on linux at what
 users expect.

This is not the case of the Debian distribution, less isn't part of base
system, 
a user will need to install it by hand.

Maybe a simple check if the $PAGER variable exists and trying which
less and 
which more (as last resource) could be the enought...

 Alexander Skwar
 --
 How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
 Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
 Uptime: 21 hours 45 minutes

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* O que não tem solução, solucionado está.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From: Gleydson Mazioli da Silva [EMAIL PROTECTED]


Maybe a simple check if the $PAGER variable exists and trying which
less and 
which more (as last resource) could be the enought...

Which cannot be used as 'which' is a csh script.
It will fail if the user has no .cshrc which sets a CSH more alias.


In addition: you are right, There are millions of UNIX systems without
'less' installed.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Gleydson Mazioli da Silva

[EMAIL PROTECTED] wrote:
 
 From [EMAIL PROTECTED] Sun Jun 17 15:29:45 2001
 
  Yes, $PAGER sounds better yet than less. Personally I use less as $PAGER
  but I know people that uses emacs, mc, joe...
 
 But PAGER isn't always set.  If PAGER isn't set (as it's probably most often
 the case on Linux systems), I'd use less since this is the standard in
 Linux.  Now, if even less isn't available, I'd fall back to the least common
 demoniator being more.  This is the way it seems to work on linux at what
 users expect.
 
 Of course you need some basic knowledge on shell programming:
 
 Use:
 
 pager=${PAGER-more}

The editor command is also an alternative on Linux systems, but I'm not
sure 
about it compatibility with other operating systems.

if $(which editor)
  editor someargs
else
  exec ${PAGER:-more} someargs  
fi

This checking looks reasonable?

 
 eval $pager someargs
 
 Jörg
 
  EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
[EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
[EMAIL PROTECTED]   (work) chars I am Jorg Schilling
  URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* O que não tem solução, solucionado está.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:45:08PM +0200:
 Well you are misinterpreting standards. The standard pager is more and if
 a user did not set $PAGER he does not care about the pager he uses.
 This is how UNIX always worked.

Urgs, if a user does not have PAGER set (which I suspect the most (Linux ?)
users don't have set), he expects the standard pager to be invoked.

On Linux, the standard pager is less, and *NOT* more.

 DONT DO THIS!

Why?  Because the user might get what he's used to?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 22 hours 16 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From: Gleydson Mazioli da Silva [EMAIL PROTECTED]

 Of course you need some basic knowledge on shell programming:
 
 Use:
 
 pager=${PAGER-more}

The editor command is also an alternative on Linux systems, but I'm not
sure 
about it compatibility with other operating systems.

if $(which editor)

This does not work with /bin/sh
You only should use $PAGER


  editor someargs
else
  exec ${PAGER:-more} someargs  
fi

This checking looks reasonable?

no...

$EDITOR  $VISUAL are used on UNIX.

Traditional, EDITOR is defaulted with 'ed', VISUAL with 'vi'.

Many UNIX programs have a 'e'  a 'v' command to either thart
$EDITOR or $VISUAL

Some programs like edquotas only looks for $EDITOR. It is reasonable
to have EDITOR set to vi, ved or emacs.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling


From: Alexander Skwar [EMAIL PROTECTED]

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 12:27:24PM +0200:
 What a shame for Linux: You don't need it!=20

What a shame for you: You don't get it!

Wrong: _you_ did not get it:

The mktemp binary is nothing more than a wrapper to the C function mktemp,
which conforms to BSD 4.3, at least according to mktemp(3).

But mktemp does not do anything different from the method I proposed.

 The main UNIX design goal is not to add useless gicks

Define useless...  I find it quite useful to have a at least somewhat hard
to predict filename, instead of just /tmp/xxx.1, /tmp/xxx.2, /tmp/xxx.3...

You did not get it:

1)  UNIX security is not done by obscurity but by permissions

2)  The difference between my probopsal and mktemp is that it uses
hex (or any different number base) numbers.

mktemp has been designed for a OS with a 14 byte filename limit,
current OS have 255, so thee is no need to use a program that
has only one improvement compared to the shell method: a shorter
filename.

...

 And it is nice to see how development done on Linux yields in nonportable
 results without reason.

And it's nice to see that no progress should be made just because some sh's
are still in the stoneage.

It is nice to see that people without enough background information tend to
believe cannot distinguish between real progress and a nice but not needed gick.

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:58:14AM -0400:
 The editor command is also an alternative on Linux systems, but I'm not
 sure 
 about it compatibility with other operating systems.

Mandrake doesn't have editor.  Well, it seems like it boils down to using
(in this order *IMHO*):

- $PAGER
- less
- more

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 22 hours 28 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:47:29AM -0400:
 This is not the case of the Debian distribution, less isn't part of base
 system, 
 a user will need to install it by hand.

Aha, didn't know that.  So, when you're reading a man page on Debian, you
cannot scroll back?

 Maybe a simple check if the $PAGER variable exists and trying which
 less and 
 which more (as last resource) could be the enought...

Yes.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 22 hours 31 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 03:51:15PM +0200:
 Which cannot be used as 'which' is a csh script.
 It will fail if the user has no .cshrc which sets a CSH more alias.

?

[askwar@teich askwar]$ file $(which which)
/usr/bin/which: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), stripped

Ie. it's a binary - at least here.

 In addition: you are right, There are millions of UNIX systems without
   'less' installed.

How many linux installation are out there?  And how many UNIX installations? 
I *SUSPECT* linux  Unix, so your comment isn't right.  Do you have numbers
to prove me wrong?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 22 hours 32 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 04:05:25PM +0200:
 Urgs, if a user does not have PAGER set (which I suspect the most (Linux ?)
 users don't have set), he expects the standard pager to be invoked.
 
 Right! and the standard pager is 'more'.

Standard - where?  Linux Mandrake, RedHat Linux and SuSE Linux have less as
the standard.  Debian GNU/Linux has not, as I just learned.  But nonetheless
Mandrake, RedHat and SuSE are for sure the most installed and used Linux
versions out there.  Especially by normal users (ie. not by wizzards, and
not on highly specialized systems).

This script is supposed to be used by normal users, I suppose.  So less is
standard.

BTW: Do real UNIX systems come with dialog pre-installed?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 22 hours 35 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

To: Gleydson Mazioli da Silva [EMAIL PROTECTED]

So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:58:14AM -040=
0:
 The editor command is also an alternative on Linux systems, but I'm not
 sure=20
 about it compatibility with other operating systems.

Mandrake doesn't have editor.  Well, it seems like it boils down to using

Bad :-(

(in this order *IMHO*):

- $PAGER
- less
- more

I just checked SUSv2 and it seems that you may use less note that
'less' may not be present on a specific UNIX distribution.

I guess that there are ~ 20 Million Solaris installations without less.
of course there are many millions of cash registers running SCO UNIX
which has no less to :-) So my guess is that there are more UNIX
systems without less worlwide than ones that include less.

From SUSv2

PAGER
 Determine an output filtering command for writing the output to a terminal.
 Any string acceptable as a command_string operand to the sh -c command is 
valid. When
 standard output is a terminal device, the manual-page output will be piped 
through the
 command. If the PAGER variable is null or not set, the command will be either 
more
 or another paginator utility documented in the system documentation. 

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:00:14PM +0200:
   However, if your favorite TAR program is not able to extract TAR archives
   don't piss on me! Simply send a bug report to the maintainer of your
   favorite TAR program.

Yes, I piss on you (your words, not mine!), because you constantly attack
GNU tools with *NO* reason *WHAT* *SO* *EVER*!  I have shown that GNU tar is
*PERFECTLY* able to extract files, even if GNU tar has to deal with tar
archives which it does not *LIST* correctly.  I do not care about this,
neither does anyone else besides *YOU*, so it's *YOUR* task to patch GNU
tar!

 Please upgrade your shell to something usable like bash.  Cannot go on.
 
 Using the word upgrade is very very quetionable in this context.

Why?  Because I imply with the word that a better shell than sh should be
used?  Well, this was my intention.  If people want to work with old, overly
complicated tools which do not support features found in bash, than it's
their problem.

 If you overwrite /bin/sh with bash or if you modify the root account
 to use any other shell than sh (note that this is even /sbin/sh on modern
 available) you may completely corrupt your installation forcing a re-install
 from CD.

Why?  Just because the shell scripts are incompatible with bash?  So upgrade
your shell scripts!

 
 STOP!  /proc holds information on processes and _not_ information on the
 system.
 *

*WRONG* (at least for Linux).  If other systems don't have such a nice thing
as the /proc filesystem, it's their problem.

 - This does not work on Linux because it uses nonstandard places
   for log files.

So it's not portable at all.  Too bad for the minority of people using
standard Unices.

 - If a machine is 'up' for a long time the needed information has been
   scrolled out.

So in the superior OSes, there's then no way to get this information?  Too
bad...

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 19 hours 39 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:26:11PM +0200:
 The mktemp binary is nothing more than a wrapper to the C function mktemp,
 which conforms to BSD 4.3, at least according to mktemp(3).
 
 But mktemp does not do anything different from the method I proposed.

From man mktemp:

| mktemp is provided to allow shell scripts to safely use temporary files.
| Traditionally, many shell scripts take the name of the program with the PID
| as a suffix and use that as a temporary file name.  This kind of naming
| scheme is predictable and the race condition it creates is easy for an
| attacker to win.  A safer, though still inferior approach is to make a
| temporary directory using the same naming scheme.  While this does allow one
| to guarantee that a temporary file will not be subverted, it still allows a
| simple denial of service attack.  For these reasons it is suggested that
| mktemp be used instead.


   mktemp has been designed for a OS with a 14 byte filename limit,
   current OS have 255, so thee is no need to use a program that
   has only one improvement compared to the shell method: a shorter
   filename.

You are talking about the $$ way of creating temp files, aren't you?

Or, in how far is /tmp/A_Quite_Long_Filename_Made_With_mktemp_b0RaZe shorter
than what you can do with the shell (the 'b0RaZe' was made by mktemp)?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 19 hours 57 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From [EMAIL PROTECTED] Sun Jun 17 13:28:12 2001

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 01:00:14PM +0200:
  However, if your favorite TAR program is not able to extract TAR archi=
ves
  don't piss on me! Simply send a bug report to the maintainer of your
  favorite TAR program.

Yes, I piss on you (your words, not mine!), because you constantly attack
GNU tools with *NO* reason *WHAT* *SO* *EVER*!  I have shown that GNU tar is
*PERFECTLY* able to extract files, even if GNU tar has to deal with tar
archives which it does not *LIST* correctly.  I do not care about this,
neither does anyone else besides *YOU*, so it's *YOUR* task to patch GNU
tar!

You really seem to have problems to get it:

1)  I warn poeple when FSF programs do make life harder.

2)  Before writing useless statements on what I have to do or not:

-   Look at the GNU tar source and judge your own. The 
GNU tar source is a big pile of spaghetti code. It is
hard to find bugs by people who are not used to work on it.

-   Next time you will send me a bug report for cdrecord,
I will tell you that it is _your_ task to find a patch
for the bug. So please stay resonable!


 Please upgrade your shell to something usable like bash.  Cannot go on.
=20
 Using the word upgrade is very very quetionable in this context.

Why?  Because I imply with the word that a better shell than sh should be
used?  Well, this was my intention.  If people want to work with old, overly
complicated tools which do not support features found in bash, than it's
their problem.

 If you overwrite /bin/sh with bash or if you modify the root account
 to use any other shell than sh (note that this is even /sbin/sh on modern
 available) you may completely corrupt your installation forcing a re-inst=
all
 from CD.

Why?  Just because the shell scripts are incompatible with bash?  So upgrade
your shell scripts!

Stay reasonable: if you like to force people to change to a nonstandard shell,
you should first upgrade several hundreds of kilobytes of shell code from
Solaris and tell the administrators that you are going to give them 7/24 support
for your changes and for bash.



 
 STOP!  /proc holds information on processes and _not_ information on the
 system.
 *

*WRONG* (at least for Linux).  If other systems don't have such a nice thing
as the /proc filesystem, it's their problem.

WRONG: /proc is a result of the ATT OS research group in 1984 (taken from
Plan 9). Solaris implements the /proc idea 100% correctly while Linux added
things that do not belong there. Note that even the things Linux added to /proc
are no primary Linux ideas but ideas also taken from Plan 9. Solaris 9 will most
likely have similar functionality in /system. /proc is a filesystem that
was invented to deal with process address space. 

 -This does not work on Linux because it uses nonstandard places
  for log files.

So it's not portable at all.  Too bad for the minority of people using
standard Unices.

While it may be more intuitive to have kernel log files in /var/log, they are
for historical reasons placed in /var/adm


 -If a machine is 'up' for a long time the needed information has been
  scrolled out.

So in the superior OSes, there's then no way to get this information?  Too
bad...

Of course it _is_ possible:

prtconf
System Configuration:  Sun Microsystems  sun4m
Memory size: 96 Megabytes
System Peripherals (Software Nodes):
.

But there is no portable way to do it. The question is: do you really need
su a nonstandard feature?

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread schilling

From: Gleydson Mazioli da Silva [EMAIL PROTECTED]

 #!/bin/bash
 
 in the first line. There is no /bin/bash on UNIX, you should
 use /bin/sh. I am sure that ther is no need to use bash nonstandard
 shell extensions in your shell sript.

I've made tests with csh but some internal functions that cdcontrol uses
don't exist on it :-(

PLEASE don't ever use csh for shell scripts! It is not designed to be used for
scripts and it opens big security holes if you use it for scripting.

The BSD default is sl linked to csh, and the cdcontrol was broken :-(

/bin/sh is not allowed to be linked to csh.

I am sure it is not linked this way on *BSD

Done on FreeBSD:

 ls -l /bin/sh
-r-xr-xr-x  1 root  wheel  616160 Jun 15 15:08 /bin/sh

Jörg

 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
   [EMAIL PROTECTED]   (uni)  If you don't have iso-8859-1
   [EMAIL PROTECTED]   (work) chars I am Jorg Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Alexander Skwar

So sprach [EMAIL PROTECTED] am Sun, Jun 17, 2001 at 04:46:21PM +0200:
 There is no 'editor'. There is $EDITOR or 'edit'

Hmm, there's of course $EDITOR in Mandrake, but it also doesn't have
/usr/bin/edit.

 I would simply default to 'more' but it would be OK to use 'less' in case it
 is present and executable in your PATH. But this test must be done in a portable
 way.

What's the portable way to check if it's executable in the path when 'which'
cannot be used?

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 23 hours 21 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-17 Thread Gleydson Mazioli da Silva

Alexander Skwar wrote:
 
 So sprach Gleydson Mazioli da Silva am Sun, Jun 17, 2001 at 10:47:29AM -0400:
  This is not the case of the Debian distribution, less isn't part of base
  system,
  a user will need to install it by hand.
 
 Aha, didn't know that.  So, when you're reading a man page on Debian, you
 cannot scroll back?

Yes, unless you install some tools and packages than only the base
system 
(that come in seven floppy disks). After that, the PAGER variable points 
to less in /etc/alternatives/editor
 
  Maybe a simple check if the $PAGER variable exists and trying which
  less and
  which more (as last resource) could be the enought...
 
 Yes.
 
 Alexander Skwar
 --
 How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
 Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
 Uptime: 22 hours 31 minutes

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* Se você não perguntar o por quê das coisas, logo estarão perguntado o
por quê de você.


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




CDcontrol software released (

2001-06-16 Thread Gleydson Mazioli da Silva

Hi, 

I've released today the cdcontrol software, it's base is
cdrecord and cdda2wav software and it's brief description
is bellow:

From CDcontrol README file:
  ---
CDcontrol is a parallel writting burner. It allow you to write
to a unlimited number or CD writers (IDE and SCSI) at once time. 
It's main base is the cdrecord and cdda2wav program. The cdcontrol 
is the first system such that type that I know for *nix world and 
it's all under GPL license. 

Some of it features are better than commercial systems that I've 
hear about (and fully support CD images and all data type supported 
by cdrecord program), one of these features is the separated control
of each recorder once the recording is started (avoiding problems 
due a fail or speed problem in other writers).

Each of that children, take control of the errors messages and status 
of each writter, reporting the status in the user level and tech
level (for repair or something like). 

The inteliggent error checking mechanism is based in some time of
writers repair that I gave, repairing most types of recorders 
(IDE and SCSI) from many manufactures. It take the appropriate decision
if a error happens.

The cdcontrol itself has a daily production report for each writter and
fails of writting, in cases of more serious errors, a 
technical report is also written (it's content is a full cdrecord output
for that writter, plus the time when it happens).

Added with the separated control of each writter, is included a 
system to auto disable the writter in some consecutive internal
writter errors happen (no users errors are computed).

Other interesting feature is the automatic calculation of copies, 
enabling only the writers requested to complete the number and 
skipping all that are disabled.

The cdrecord program is developed to allow you to find it useful and 
powerful to make you audio/data copy in one or more writers.

You can download the CDcontrol from: 
http://cdcontrol.sourceforge.net

---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

* O passado é uma lição para se meditar, não para se reproduzir
(Mario de Andrade)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-16 Thread Alexander Skwar

So sprach Gleydson Mazioli da Silva am Sat, Jun 16, 2001 at 05:06:11PM -0400:
 I've released today the cdcontrol software, it's base is

Okay, I wanted to try it.  It depends on tempfile - what's that, what's it
used for, do I need it, and where can I get it?

IOW: 'memoria-cd' failed, telling me, that tempfile isn't installed.  That's
right, it's not installed, and none of the packages from my distribution
(Mandrake Cooker) has such a file.

Thanks,

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 6 hours 38 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-16 Thread Alexander Skwar

So sprach Gleydson Mazioli da Silva am Sat, Jun 16, 2001 at 08:03:52PM -0400:
 It's a linux utility that returns a randomic name that the program uses 
 to create dynamic files while parsing the output from cdrecord software.
 You can create any shell script named tempfile that return any name as 
 replacement.

Hmm, isn't mktemp the standard tool do this?

 I will sent the tempfile of Linux for you, it also worked file in *BSD
 system.

Got it, and will test.  Thanks.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 8 hours 12 minutes


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-16 Thread Gleydson Mazioli da Silva

Alexander Skwar wrote:

 Hmm, isn't mktemp the standard tool do this?

Humm, it do the same job for Linux systems, I need to know if it exist
on 
*BSD systems too (I don't had a BSD system to look for that now...)

  I will sent the tempfile of Linux for you, it also worked file in *BSD
  system.
 
 Got it, and will test.  Thanks.

Thanks!

 
 Alexander Skwar
 --
 How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
 Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
iso-top.de - Die günstige Art an Linux Distributionen zu kommen
 Uptime: 8 hours 12 minutes

-- 
---
Gleydson Mazioli da Silva
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Papai, o que significa Aguarde, formatando drive C...?


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: CDcontrol software released (

2001-06-16 Thread Carsten Neumann

On Sun, 17 Jun 2001, Gleydson Mazioli da Silva wrote:
 Humm, it do the same job for Linux systems, I need to know if it exist

Well, mktemp does its job!
What do you mean by it do, that sounds ironically!?


Regards

Carsten


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]