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

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

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

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

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

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

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

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

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

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

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)

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).

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).

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:

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:

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

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

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

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,

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

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

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

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

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,

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

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

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

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

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

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

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,

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

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

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

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

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 -- $@

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

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

Re: CDcontrol software released (

2001-06-18 Thread Mike A. Harris
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

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

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

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

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 $

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

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

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

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

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)

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

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

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

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

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)

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

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

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

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

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

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 :-)))

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

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

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

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

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

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

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

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

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

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

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)

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

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

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?

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,

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,

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.

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

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:

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

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

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

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

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

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

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

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.

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