Re: su command displays password

2004-07-29 Thread Bob Proulx
Ismo Puustinen wrote: I have bad habit: when I type 'su', I start writing the password almost right away. If the computer is slow, the password prompt takes some time to appear. In this case, the password letters I have already written before the password prompt appeared are displayed on the

Re: stty bugs

2004-05-26 Thread Bob Proulx
Archiee wrote: I thing that something is wrong with stty command this are listings from Cygwin: If you are talking Cygwin then you are running on MS-Windows? I did not even know MS-Windows had a tty driver. How is Cygwin emulating that? (shock, horror, amazement) You really need to talk to

Re: Linux problem

2004-05-25 Thread Bob Proulx
Raghunathan A wrote: In Linux, when I give the command 'ls' to list the files in a directory, suddenly the screen gets set to black background with white (or sometimes color) letters. And I am unable to reset the screen back to its original color settings. 'stty -sane' also does not work. Why

Re: (no subject)

2004-02-10 Thread Bob Proulx
Yuri wrote: In installation, when I type # chroot /mnt/gentoo /bin/bash I have # Illegal instruction plz HELP You are apparently trying to chroot into a gentoo directory which presumably contains some type of operating system. That operating system would need to be compatible with your

Re: man page update for 'su'

2003-11-10 Thread Bob Proulx
Dairenn Lombard wrote: Mind adding the fact that in order to use /bin/su must be in the 'wheel' group in the man pages? Adding that into the info screen would also help. We appreciate your report. Bringing these things to the maintainers attention helps improve the software. But in this case

Re: man page update for 'su'

2003-11-10 Thread Bob Proulx
Dairenn Lombard wrote: Thanks for going into such informative depth in your response. Here is the output of our sh: # su --version su (GNU sh-utils) 2.0.11 Written by David MacKenzie. [...] I checked just in case for some strange reason, we got the man page for the GNU su but were

Re: usermod -G does not take effect immediately

2003-10-29 Thread Bob Proulx
[EMAIL PROTECTED] wrote: used 'usermod -G users,demo3 garg' to add user 'garg' to the users and demo3 groups. Just curious, but what directed your 'usermod' question to shellutils? 'usermod' are other folks. But I can answer your question anyway. Then, when I do 'groups' as user 'garg', I

Re: (no subject)

2003-10-26 Thread Bob Proulx
Let me redirect you to [EMAIL PROTECTED]. I am sure that someone there would have comment about your issue with sed. Please be sure to include a subject line as noted in the 'sed' information. Your message to bug-shellutils did not have a subject. Thanks, Bob sed --version E-mail bug

Re: Problem Bug in shell builtin test -f or test -e

2003-10-08 Thread Bob Proulx
Kess Peter wrote: i have a customer where i migrate a large database from unixware to linux( suse open enterprise 8) but it also happens in Suse 7.3 Professional. Our customer uses test -f whithin thousands of scripts. But if i use test -f with no additional parameter it comes back with

Re: swith user to a bash user

2003-10-06 Thread Bob Proulx
Nicola Lodato wrote: I've a user /test /that has a /bin/bash shell. In his .profile file there is these lines: ODSRELEASE=/some/dir/ export ODSRELEASE When, as user root, I try this command: su - test -c echo $ODSRELEASE You are getting confused about shell command line quoting. The

Re: Magic Shebang not cross platform compatible?

2003-10-04 Thread Bob Proulx
[EMAIL PROTECTED] wrote: I've found that if bash scripts (or python and probably many more) use the magic shebang trick as in the following example: #!/usr/bin/env sh I believe the above is just an example? Surely for sh it would be #!/bin/sh, right? You only need the #!/usr/bin/env when

Re: bug in date

2003-09-26 Thread Bob Proulx
Boris Maizel wrote: Found a bug in the date: date (GNU sh-utils) 2.0 Thanks for the report. It is most appreciated. However sh-utils-2.0 is very old. In fact many bugs were fixed in 2.0.11 (or somewhere around there). This entry is in the FAQ. Look for date command is not working right.

Re: date doesn't work

2003-08-31 Thread Bob Proulx
Karel Kulhavý wrote: I have used date according to supplied info documentations and figured out it doesn't work. Date: Wed, 25 Mar 2020 19:11:03 +0100 Oh yes, you do need to get 'date' working for you. :-) If you are on a network of computers and not just on an isolated machine then I

Re: RFE: hostname -s

2003-08-28 Thread Bob Proulx
David Kaelbling wrote: On IRIX the /usr/bsd/hostname command supports a -s option that makes it return the simple (no domain) version of the host name: orchietta 15 hostname orchietta.hudson.sgi.com orchietta 16 hostname -s orchietta FreeBSD and I presume other

Re: stty bug...?

2003-07-24 Thread Bob Proulx
Myers, George (N-Superior Services) wrote: Logging into a RedHat Linux 8.0 host using Exceed v7.0. Setting stty erase Backspace. Result of the above stty command results in a tilde (~) echoed to my console when I hit the Backspace key. Any ideas on how to make stty erase Backspace work?

Re: bug

2003-06-01 Thread Bob Proulx
Tony Granath wrote: I have a problem with su, so I asked in a linux channel on irc about what to do, and they told me to send a bugreport to you and send my binary file.. I get Segmentation fault when I type su Thanks for the report. But there is not enough information there to debug the

Re: ssh kills nohup launch process

2003-04-03 Thread Bob Proulx
Laurent Mazet wrote: When I forget to redirect input stream, I can not close my ssh connection. If I kill ssh, process launch by nohup are killed ! So, I hack the nohup of my Mandrake 9.0 (sh-utils-2.0.15-2mdk)... There is a lot of discussion on the ssh lists about ssh and processes with open

Re: help

2003-03-30 Thread Bob Proulx
Mohd Ghalib Akhtar wrote: i am using sleep command i am facing problem, i would like command execuate tomarrow 12pm how i write here You don't seem to be either reporting a bug or talking about shellutils / coreutils which is the purpose of this list. Your question would be more appropriate

Re: sh-utils 2.0, id command, parameter -r returns unexpected user(e ffective instead of real)

2003-03-14 Thread Bob Proulx
VAN HOOSTE, Wim wrote: Hi, Hello. We, ING Insurances - a Belgian insurance company, opened a call at IBM for a problem with the id-command. The problem seemed to go beyond the AIX OS and also affects GNU sh-utils 2.0. Thanks for keeping us informed as well. However, I do not believe what

Re: incorrect DAte---Y2K issue

2003-03-14 Thread Bob Proulx
[EMAIL PROTECTED] wrote: It has recently come to my attention while compiling python that my computer's clock was reset somehow.The date read 1-1-1903. Thank you for your report. But in order for someone to diagnose and debug the problem more information will be needed. Enough information to

Re: problems with uname

2003-03-13 Thread Bob Proulx
Jonathan Greer wrote: As I mentioned in the topic - I have a problem with uname. It's actually what the values are, like the clock. When the clock really is 18:12, uname shows a constant time of 20:12 17 Dec 2002... That's not really right, what have I possibly f*cked up? How can I fix it?

Re: kernel stuff

2003-03-03 Thread Bob Proulx
Daniel Kjeserud wrote: [EMAIL PROTECTED] kjes]$ uname --help Thanks for the report. But 'uname --version' would have been best. Report bugs to [EMAIL PROTECTED]. [EMAIL PROTECTED] kjes]$ uname -v #1 Fri Jan 31 06:51:30 EST 2003 [EMAIL PROTECTED] kjes]$ uname -r 2.4.18-24.8.0

Re: uname -v date and time

2003-02-06 Thread Bob Proulx
Harish C Lodwal wrote: the cygwin uname -v shouing date and time it should be os version bash-2.05a$ uname -v 2002-02-25 11:14 Actually the os version of cygwin probably is the date. There is little else better to use. Remember that it is the version of the operating system

Re: 'date' displays wrong time?

2003-02-06 Thread Bob Proulx
Thomas Koeller wrote: ~/build/gnu/sh-utils-2.0 $ date -u; date Son Feb 2 17:13:49 UTC 2003 Son Feb 2 18:13:27 CET 2003 That is indeed very bizarre. I cannot imagine a situation that would create such behavior. Can we get a second opinion? Try this: date -u; date;perl -e 'print

Re: Sleep defunct

2003-02-03 Thread Bob Proulx
Pavan Kumar Purohit wrote: thanks for the mail. I experiance the same problem in /bin/bash Oh well. A good crosscheck regardless. The Shell code is very simple. I excute the program binary and sleep for 180 seconds in an infinate loop(while(1)). Something like this? while true; do

Re: Sleep defunct

2003-01-29 Thread Bob Proulx
Pavan Kumar Purohit wrote: I have used 'sleep' in a C shell script. This script in turn executes a program. sleep is used to give delay between execution of the program in the script. Every 2-3 hours the sleep becomes defunct (see below) root21624 0.0 0.0 00 pts/4Z01:02

Re: Probable bug in su:

2003-01-28 Thread Bob Proulx
B Uday Kumar Reddy wrote: I found the following issue regarding 'su' part of GNU sh-utils-2.0: Thanks for the report. But this is not a problem with su. It is generic system behavior. On a system which is a client to the NIS Server (running ypbind), the root user can do an su to any other

Re: Weird things with uname

2003-01-24 Thread Bob Proulx
Tarje Bargheer wrote: Sorry if this is related to my own setup, and not uname in general... Thanks for the report. But I believe it is your personal setup. But I use Gentoo linux (and uses scripts that for instance uses 'uname -r'). When I type uname -r I get the following output:

Re: question of chroot

2003-01-11 Thread Bob Proulx
mydownload my [EMAIL PROTECTED] [2003-01-12 00:12:18 +0800]: I am a linux user.I want to ask a question about chroot. When I use chroot command(for example:chroot /root),a error display: chroot: cannot execute /bin/bash: No such file or directory Run COMMAND with root directory set to

Re: possible su delay bug

2003-01-08 Thread Bob Proulx
Bart Wille [EMAIL PROTECTED] [2003-01-08 10:06:33 -0100]: I believe I have found a possible bug in su: when mistyping the password su wait for a few seconds before giving you another try. This delay can be easily be bypassed with ctrl-C and su. Shouldn't the ctrl-C combination be

Re: bug in Makefile

2003-01-02 Thread Bob Proulx
Puntudis T., M.D. [EMAIL PROTECTED] [2003-01-02 19:05:59 +0700]: make -- complaint the below. Thanks for the report. BTW, I just want ''echo -e''. This u*x does NOT have it :-( Note that 'echo' is a shell builtin. You probably want to compile a shell such as bash and not the standalone

Re: Can GNU date do this?

2003-01-02 Thread Bob Proulx
Kenneth Stailey [EMAIL PROTECTED] [2003-01-02 11:10:11 -0800]: FreeBSD's date can turn seconds since the epoch back into a human-readable format: $ date -j -f %s 1041286200 Mon Dec 30 17:10:00 EST 2002 Try this with GNU date. I will set the TZ to match yours. export TZ=EST date -d

Re: bug in date?

2002-12-15 Thread Bob Proulx
- Forwarded message from Klaus Umbach [EMAIL PROTECTED] - From: Klaus Umbach [EMAIL PROTECTED] Date: Sat, 14 Dec 2002 17:11:26 +0100 To: Bob Proulx [EMAIL PROTECTED] Subject: Re: bug in date? I found the bug on 2.0 but with my version (4.5.2) at home, I've got the same problem

Re: bug in date?

2002-12-15 Thread Bob Proulx
Frank 'xraz' Fricke [EMAIL PROTECTED] [2002-12-14 14:57:48 +0100]: I found the bug on 2.0 but with my version (4.5.2) at home, I've got the same problem. Yes. Looks like a bug to be fixed. Thanks for the report! Bob ___ Bug-sh-utils mailing list

Re: bug in date?

2002-12-15 Thread Bob Proulx
Bob Proulx [EMAIL PROTECTED] [2002-12-15 12:22:49 -0700]: Frank 'xraz' Fricke [EMAIL PROTECTED] [2002-12-14 14:57:48 +0100]: Ack! That is what I get for trying to fix up problems when people send mail to the wrong address. I cut and pasted that from the wrong message. It should have read

Re: uname in mandrake 8.1

2002-12-13 Thread Bob Proulx
Fredrik Lindqvist [EMAIL PROTECTED] [2002-12-11 14:15:17 +]: When running #uname -v in mandrake 8.1 printed should be the operating system version. What i get is though. #uname -v #1 Sun Sep 23 17:06:39 CEST 2001 But that is the operating system version. The problem is what

Re: echo: octal escapes dont work

2002-12-01 Thread Bob Proulx
Pigeon [EMAIL PROTECTED] [2002-11-30 19:24:44 +]: = So I do: $ /bin/echo -ne \377 | hexd2 : 33 37 37 $ = I should get : FF according to the above. Why don't I? = Other escape sequences give similar results. (eg \100) I think you are getting confused by the shell.

Re: who bug i have

2002-11-28 Thread Bob Proulx
Jake [EMAIL PROTECTED] [2002-11-25 17:22:04 -0500]: Just wondering if you know what causes this. If I exit the shell without typing exit, i stay logged. when i do a who i can see a connection that dates of days ago. but its not opened and its proccess is long dead. how do i clean it so that

Re: Bug

2002-11-24 Thread Bob Proulx
Perrault, Brian [EMAIL PROTECTED] [2002-11-22 11:24:56 -0500]: When using stty, there is no option to select the device of interest before changing settings. I.e. if I want to change ispeed or ispeed for /dev/ttyS0 instead of the default, there isn't a way to do that. Newer

Re: changing the hostname on cygwin on XP...

2002-11-21 Thread Bob Proulx
System Overide [EMAIL PROTECTED] [2001-11-19 12:04:41 -0500]: i tried to change my hostname on cygwin on my XP machine and i got this error... hostname: cannot set hostname; this system lacks the functionality what does this mean, is there any way i can change the hostname... or even

Re: Linux Environment Bug

2002-11-21 Thread Bob Proulx
Tzvika Faibish [EMAIL PROTECTED] [2002-11-20 09:32:40 +0200]: Dir Sirs, We're working with HP-UX and SUN Solaris at our company and I try to run with Linux environment as well. While I login from HP or SUN environment to my Linux station my display gets fonts and display problem (for example

Re: GNU sed version 2.05 failure.....

2002-11-21 Thread Bob Proulx
[EMAIL PROTECTED] [EMAIL PROTECTED] [2002-11-20 09:38:39 -0500]: Sir: I have been using your unix utilities on my Windows NT MS-DOS prompt for quite sometime now and I find it useful. If you are using MS-Windows then does that mean you are using Cygwin? http://www.cygwin.com If so then

Re: DATE set broken

2002-11-09 Thread Bob Proulx
Please follow up to the list and not to me personally unless it is private. I forwarded your message to the list and am following up to it. It is a team effort. Barnes, Brian [EMAIL PROTECTED] [2002-11-07 11:48:37 -0600]: I just used the MAN page and found it most confusing. I notice that

Re: DATE set broken

2002-11-06 Thread Bob Proulx
Your date set feature is horribly broken and/or misleadingly documented. It could certainly be improved. Please make suggestions for improvements! But I don't think it is really that bad. Let's take a look at it. Here is from the man page. date [-u] date [-u] +format date

Re: date error?

2002-11-04 Thread Bob Proulx
Please keep responses on the mailing list and not to me privately unless it is personal. Bob Meister, Stefan [EMAIL PROTECTED] [2002-11-04 07:53:59 +0100]: Hello Bob, here is the Version of date: smeister@s390linux08:~ date --version date (GNU sh-utils) 2.0 Written by David MacKenzie.

Re: echo problem in Linux

2002-11-01 Thread Bob Proulx
Bob Proulx [EMAIL PROTECTED] [2002-11-01 18:54:11 -0700]: Try forcing the version from sh-utils / coreutils of which this list is concerned about. This list is for the standalone versions. The one built into your shell is the shell version. We can't help with the built in shell version

Re: bug in echo util

2002-10-31 Thread Bob Proulx
Andrew Skiba [EMAIL PROTECTED] [2002-10-29 20:24:37 +0300]: I know this can hardly be called bug, but anyway... man echo promises me --version and --help command line options. Note that man echo does not mention POSIXLY_CORRECT environment variable. So when i tried $ echo

Re: uptime in sh-utils 2.0 give incorrect output on Mac OS X

2002-10-31 Thread Bob Proulx
Petter Reinholdtsen [EMAIL PROTECTED] [2002-10-08 16:59:51 +0200]: GNU sh-util v2.0 on Mac OS X fail to output the correct architecture. Is there a known fix for this? There is an architecture option for uname? % /usr/bin/uname -a Darwin durmstrang 6.0 Darwin Kernel Version 6.0: Sat

Re: echo problem in Linux

2002-10-28 Thread Bob Proulx
Ronnie [EMAIL PROTECTED] [2002-10-27 23:26:07 +0200]: I am unable to get echo to recognise any of its options such as \n \c \r etc. I am using Redhat Linux 6.2. Any suggestions or reasons? Thanx Ronnie Sarkin There is controversy over whether echo should behave like commercial unix flavors

Re: Linking error

2002-10-09 Thread Bob Proulx
Gyana [EMAIL PROTECTED] [2002-10-09 12:21:22 +0530]: I have one Hello World object file. I want to get the executable without using gcc directly. Instead I want to link the object file to the library by using ld in command line. I see that you posted this to other gnu groups too so I

Re: BUG in expr command

2002-10-07 Thread Bob Proulx
I would kindly bring to your notice an error in the functionality of the shell program 'expr'. The program malfunctions whenever we try to evaluate an expression containing the symbols '' or ''. After hours of debugging, I noticed that the Unix shell by default uses these symbols for

Re: FW: expr broken

2002-10-04 Thread Bob Proulx
Dee-Ann LeBlanc [EMAIL PROTECTED] [2002-10-02 18:24:56 -0700]: I forwarded this to some folks who are helping me with scripting and thought I'd forward it to the proper bug reporting agency too. You found it! Thanks for the report. Obviously not all of these are your problem, but the RH 8

Re: uname -v prints the time

2002-10-04 Thread Bob Proulx
Colin Rose [EMAIL PROTECTED] [2002-10-05 01:23:57 +0930]: Is this correct behaviour [rosec@thunderbird rosec]$ uname -v #1 Fri Sep 20 18:15:05 CEST 2002 I am using 2.05b.0(1)-release under mandrake 9 Yes. The 'uname -v' command prints out the kernel version. Linux has traditionally

Re: 'who am i' prints other users also

2002-09-26 Thread Bob Proulx
Jan Stary [EMAIL PROTECTED] [2002-09-26 08:57:42 +0200]: jsta6559@artax$ whoami jsta6559 jsta6559@artax$ who am i jsta6559 pts/15 Sep 26 08:12 (r2e52.mistral.cz) qitekpts/15 Sep 25 11:06 (gw.netbone.cz) So who am i, really :-) Note the pts/15 for both. Could you tell

Re: poor error handling in /bin/echo and bash echo builtin

2002-09-22 Thread Bob Proulx
John P. Looney [EMAIL PROTECTED] [2002-09-20 10:53:36 +0100]: Something that bit me today is that echo does not report back all error conditions. On a full filesystem, echo silently fails (leading the user to think there is wierd disk problems, until the disk free is checked). This

Re: todate program...

2002-09-22 Thread Bob Proulx
[EMAIL PROTECTED] [EMAIL PROTECTED] [2002-09-20 13:44:43 -0400]: I use the todate program to manipulate the date fields that I have in one of my files. I'm using the %s format string which formats the date to seconds elapsed since Jan 1 1970. Is there any way in which I can convert the

Re: Error in man date

2002-09-12 Thread Bob Proulx
Richard Neill [EMAIL PROTECTED] [2002-09-12 01:29:56 +0100]: Sorry if this is already reported. In man date, the %S option is listed as from 0-60, not 0-59 I have tested, and it seems to be actually 0-59 ie 'round down to the nearest second', rather than (erroneously) 'round to the

Re: Bug Report about expr.

2002-09-12 Thread Bob Proulx
Michel Bouchet [EMAIL PROTECTED] [2002-09-12 17:36:08 +0900]: I noticed the folowing under Linux Mandrake 8.2, with the expr command : [eagle@WA_Mozart eagle]$ expr 2 * 3 expr: syntax error [eagle@WA_Mozart eagle]$ Shouldn't the answer be 6 and not an error message ? No. You are

Re: date -bug: blank in Timestamp

2002-09-03 Thread Bob Proulx
Herm [EMAIL PROTECTED] [2002-09-03 11:05:41 +0200]: when generating a timestamp with date --date='2002-03-08 08:50:02' +%Y%m%d%k%M%S i get a blank in the response: 20020308 85002 after time has raised it looks like this: date --date='2002-03-08 18:50:02' +%Y%m%d%k%M%S 20020308185002

Re: date command

2002-06-11 Thread Bob Proulx
date +%s --date=20380120 gets Invalid date? Why can't I get the date in seconds for 20th of Janurary 2038? Because your operating system is using a 32-bit value for time_t and that date overflows the value that it can hold in seconds since Jan 1, 1970. This is one of the reasons why Y2K

Re: WISH: tee - add option for nonbufffered input/output

2002-06-05 Thread Bob Proulx
Thanks for your report. i really wish to have option in tee utility for switching input/output to be unbuffered. Now, teeing process ouput breaks interactive watching. You do not see anything until tee's input buffer is filled. Are you sure the problem is with 'tee' and not the commands

Re: Problem with test -d

2002-05-31 Thread Bob Proulx
Thanks for your report. There does indeed seem to be a problem on HP-UX. I am filing a defect against it. ENTW-HP: /home/user/work # test -d man??? ENTW-HP: /home/user/work # echo $? 0 ENTW-HP: /home/user/work # echo $USERDIR/work/man??? /home/user/work/man000 /home/user/work/man001

Re: Minor bug in su shell util.

2002-05-23 Thread Bob Proulx
It seems that su accepts valid password (unix) more than 8 characters. But it just reads first 8 chars and authenticates if the user name and first 8 chars of the password is a valid user account. My colleguge has detected it. I did not look at the code but I do not believe that su is

Re: [PRI=unimportant] Reiserfs 3.6: errors with rm, ls and many individual files

2002-05-09 Thread Bob Proulx
cp001:~ # du -sh bonnietmp.old/ ; ls bonnietmp.old/*log* ; rm -rf bonniet= mp.old/*log* 43M bonnietmp.old bash: /bin/ls: Argument list too long bash: /bin/rm: Argument list too long cp001:~ # You are seeing a common shell expansion limit. You are hitting ARG_MAX. Here is an FAQ entry

Re: env won't accept arguments in shebang

2002-04-19 Thread Bob Proulx
I'm not 100% sure this is a bug, but I can't find an explanation for this behavior in either the env texinfo file or on the sh-utils FAQ page. If you run this command from the shell prompt: echo 'print foo\n' | /usr/bin/env perl -w env works as expected. However, the

Re: ls --help --version

2002-04-01 Thread Bob Proulx
ls --help ls --version don't work as documented in the man page ls --version is suppose to display version information all it displays is --version I made a slipup in typing its echo that doesn't work right Please check out the following FAQ on this subject.

Re: date command -d last month error

2002-03-30 Thread Bob Proulx
Randy I have just found a bug in the date command. Thanks for the report. Could you also report to the email list the version of the date command you are using. There have been many bugs fixed in recent versions. You might still be using an older version. If you are using date version 2.0

Re: Does 'date' (sh-utils) contain a rootkit?

2002-03-30 Thread Bob Proulx
Jim is away from his keyboard for a few days. In lieu of his authoritative answers let me provide some information. ** sh-utils-2.0 ** chkrootkit-0.35 (chkrootkit.org) 'chkrootkit' says that 'date' (sh-utils) contains a rootkit. Is this a false positive or not? Since the GNU utilities

Re: Echo command in version 2.0 doesn't display help or version

2002-03-20 Thread Bob Proulx
According to the man page for echo, --help and --version will both generate information from the echo command itself. However, in accoring-to-the-man-page version 2.0 (included with RH 7.0), issuing the command echo --help results in the output of --help, and the command echo --version

Re: man date

2002-03-18 Thread Bob Proulx
Thank your for your report. It is most appreciated. However what you have seen is not a bug but normal program behavior. in date's manual page i read: -s, --set=STRING but i could change the date only with: date -s22:00:00 +%T why the equal sign if? It is not clear to me exactly

Re: how can i

2002-03-16 Thread Bob Proulx
does GNU GCC (Cygwin for Windows) support 64-bit functions? how do i turn them on? how can i display a 64-bit integer using printf? Check with the Cygwin folks. http://cygwin.com/ Bob ___ Bug-sh-utils mailing list [EMAIL PROTECTED]

Re: bohup / molpro don't work together ?

2002-03-16 Thread Bob Proulx
I do have some problems with the molpro quantum chemistry program exiting due to Signal 1 (Hangup) even though it is run through nohup. The hangup-exit is reproducible and happens after the program is running for hours or days. Why is the program being sent a SIGHUP? That normally happens

Re: date

2002-03-07 Thread Bob Proulx
JR is it possible with date to set the time it shall display with the number of seconds, one gets from the output of: ' %s seconds since 00:00:00, Jan 1, 1970 (a GNU extension)' Yes it is possible. This is documented in the manual. Here is the pertinent section. To convert such

Re: linux bash stty bug

2002-03-01 Thread Bob Proulx
Probles description: I tried to send data from Linux /dev/ttyS0 to a SCO unix serial port. The two serial ports are connected with a NULL MODEM. If XON/XOFF flow control is used, I set the linux /dev/ttyS0 with: ( stty 9600 ixon ixoff -crtscts cs8 ; while : ;

Re: utility 'seq'

2002-02-22 Thread Bob Proulx
I played with seq and found it quit usefull. Can I file two enhancement requests ? Suggestions are always welcome. (1) My version speaks German and therefore (I guess) there is no decimal point in reals but a decimal komma . This is good and correct if the numbers are used in a

Re: [Patch] added sh-utils/dirname backslash support

2002-02-20 Thread Bob Proulx
the current dirname tool does not support backslash support. This patch fixes this. - slash = strrchr (path, '/'); + slash = strrchr (path, delim); + if (slash == NULL) +delim = '\\'; +slash = strrchr (path, delim); I do not believe this is valid. It appears to say, if no / found

Re: uname -p is broken

2002-02-15 Thread Bob Proulx
Note that the -p option is not standard. For portable applications you should avoid using that option. In fact the uname functionality Well as both -s and -p are present it would seem sensible that they worked. If there is an issue with it not working why is it present in a broken

Re: Termination of su processes

2002-02-09 Thread Bob Proulx
I'm using su (GNU sh-utils) version 2.0 on a RedHat Linux 6.2 box. I also have OpenSSH 2.9.9p2 running on this box. I wanted to do remote monitoring of this system's messages, so I logged in using a normal user account then did a su --command='tail -100f /var/log/messages' root. However,

Re: problem with who

2002-02-09 Thread Bob Proulx
I use debian woody with kernel 2.4.17, gnome and gnome-terminal. who doesn't report anything, as nobody was logged in. I use --login option of gnome-terminal but nothing. Even if I use su - it doesn't report nothing. the files utmp and wtmp have the following permissions -rw-rw-r--

Re: two machines gives same hostid

2002-01-30 Thread Bob Proulx
I have two systems (Dell GX 240, RH 7.2 2.4.7-10 kernel). THe hostid output is same for both! Interesting. system 1. Ethernet HWaddr 00:06:5B:7C:32:EC hostid: 7f0100 system 2: Ethernet HWaddr 00:06:5B:7C:32:F3 hostid: 7f0100 How this can happen? The hostid program calls the

Re: Bug in the login (tty) in Gnu-Shell Utils 2.0

2002-01-18 Thread Bob Proulx
When the login screen appears after booting if I press the right arrow on my keyboard, which places [C in the username space then press enter to type in the password, the case of the letters changes to uppercase. This is probably the way it is supposed to work. The login program tries to

Re: bug in seq

2001-11-20 Thread Bob Proulx
I get the following outputs from seq, and they are obviosly contraversary: $ seq -s ' ' .9 .03 1.5 0.9 0.93 0.96 0.99 1.02 1.05 1.08 1.11 1.14 1.17 1.2 1.23 1.26 1.29 1.32 1.35 1.38 1.41 1.44 1.47 1.5 $ seq -s ' ' .9 .03 1.2 0.9 0.93 0.96 0.99 1.02 1.05 1.08 1.11 1.14 1.17 Why isn't

Re: su command not working

2001-10-20 Thread Bob Proulx
Jonathan This is a fresh install of Linux Mandrake 8.1 on an i586 and the output in an XTerm window. :Fri 05:16:58:~ id uid=501(jon) gid=505(jon) groups=505(jon),22(cdrom),43(usb),80(cdwriter),81(audio),501(xgrp) :Fri 05:16:58:~ su root Password: :Fri 05:16:58:~ id uid=501(jon)

Re: my bug report1: BASH command which says my shell script is not found evenif it exists under $PATH, unless I add #!/bin/sh in the 1st line

2001-07-08 Thread Bob Proulx
1st of all, I am very much delighted to use the GNU tools that I downloaded from www.cygnus.com. Here is a bug report on BASH command 'which' and probably related 'chmod' and/or 'ls -ls' as well. Thank you for your excellently prepared bug report. It really stands out as compared to

Re: date (GNU sh-utils) 2.0

2001-06-23 Thread Bob Proulx
I believe I have found a bug in the version of GNU 'date' distributed with RedHat 7.1. === Version return: === date (GNU sh-utils) 2.0 There have been many fixes to date in the latest test beta releases. If it would be possible for you to test these I am hoping you will find your problem

Re: Bug in date (GNU sh-utils) 2.0

2001-06-23 Thread Bob Proulx
I am afraid I stumbled on a bug in date (GNU sh-utils) 2.0, running on RedHat 7.1 (RPM sh-utils-2.0-13) or Solaris 2.6 (installed from sources in There have been many fixes to date in the latest test beta releases. If it would be possible for you to test these I am hoping you will find your

RE: Two bash programming questions (fwd)

2001-06-10 Thread Bob Proulx
$ rpm -qf `which echo` sh-utils-2.0-13 The 'which' command will always report external commands. But the shell has internal replacements for many external commands. The 'echo' command is one of those that is typically an internal shell command unless you force it otherwise. type echo

Re: a possible su bug...

2001-06-10 Thread Bob Proulx
5.7 root-sjrd1# su - smuser Sun Microsystems Inc. SunOS 5.7 Generic October 1998 $ which ps /usr/ucb/ps 5.7 root-sjrd1# /usr/bin/su - smuser Sun Microsystems Inc. SunOS 5.7 Generic October 1998 $ which ps /usr/bin/ps One part that is important to understanding what is happening here is

Re: bash bug

2001-06-10 Thread Bob Proulx
Under Linux 7.0 with bash 2.04.11: 1. You should report this to [EMAIL PROTECTED] and not [EMAIL PROTECTED] Wrong list. But an honest mistake. And of course we have the best support over here. :-) 2. What you are seeing is considered a feature by many. As an old timer I don't

Re: Bug in expr?

2001-06-08 Thread Bob Proulx
I am writing a script and appear completely unable to employ expr. It works for plus but for no other operators. I need *. Are you forgetting that * is a shell metacharacter and would need to be protected from shell expansion? Check this with echo. echo expr 2 * 3 You want to quote the

RE: Unexpected behaviour in date; calculates daylight savings time in correctly...

2001-06-03 Thread Bob Proulx
So, putting in the -u flag didn't help. I tried testing several systems [...] bash-2.03# src/date --version date (GNU sh-utils) 2.0 In all cases I saw the version was 2.0. If possible you should try the newer 2.0.11. I believe there have been some fixes since 2.0 which might improve your

Re: su - bug ?

2001-04-29 Thread Bob Proulx
Both username hehe and #hehe don't exist [freax@freax freax]$ su hehe su: user hehe does not exist [freax@freax freax]$ su #hehe Password: su: incorrect password [freax@freax freax]$ Thanks for the report. But that is not a bug. The behavior you report has nothing to do with su and

Re: date

2001-04-21 Thread Bob Proulx
| However, I think you have uncovered a different bug. | | date -u -s 1401 | Wed Apr 18 20:01:00 UTC 2001 | date -u -s '1401 UTC' | Wed Apr 18 14:01:00 UTC 2001 Thanks to both of you for the reports. Bob, what version of date are you using? And on what type of system? You are

Re: date

2001-04-18 Thread Bob Proulx
date --version reports 2.0. the doc says date -u will set the time in UTC, but it does not work the same as date -s. For instance, date -s 1401 works fine; date -u 1901 does not. Those two options are independent. -u is not a replacement for -s. -u modifies the behavior of -s, and others,

Re: Buggy sleep()

2001-04-05 Thread Bob Proulx
I have noticed very strange bahaviour of sleep() function. Here are two examples: /* Ex1 */ printf("something1"); [...] /* Ex2 */ printf("something1\n"); Could you please expalin me the differences between given examples, except new lines \n in printf(). The "bug" is that in Ex1 both

Re: date - system time

2001-04-05 Thread Bob Proulx
Thank you -- may be a Unix-like hint is welcome? [...] SEE ALSO The full documentation for date is maintained as a Texinfo manual. If the info and date programs are properly installed at your site, the command info date should give you

Re: Problem with test utility

2001-04-04 Thread Bob Proulx
I'm having a problem with the "test" utility. I'm using Red Hat Linux v6.1 (Cartman) - Kernel 2.2.12-20 which I installed not long ago. Which shell are you using? The test command is a builtin command of the shell. Therefore it is important to know the shell. There is also an external

Re: date - system time

2001-03-28 Thread Bob Proulx
Hi, there is no way (only bootup-BIOS) to change the system-time (hardwareclock). Is this right ?? (suse Linux 7.1) Read the man page for "hwclock" (historically aka /sbin/clock). [I must remark that the hwclock man page stands out as exceptionally good.] Bob

Re: Substitute user SU

2001-03-27 Thread Bob Proulx
the su command usually keeps track of the persons who have used the su in /var/adm/sulog in almost all the unix versions but could not find it here Using RH 7.0 K 2.2.16-22 what is the fix for this ? The GNU sh-utils version of su shipped by Redhat logs to syslogd which has been

Re: uname -p gives unknown.

2001-03-16 Thread Bob Proulx
We are porting a product, whose install script uses the processor name as part of a filename.On the box that we have, we are seeing uname -p give: unknown and uname -a gives: Linux linux1 2.2.14-12 #1 Tue Apr 25 13:04:07 EDT 2000 i686 unknown (the system date is not set

  1   2   >