bash problem

2020-01-02 Thread Wheatley, Martin R
It appears that there may be an issue when bash terminates a shell as a result of TMOUT expiring. I was attempting to enter "dc_command show media | grep YD" to the shell and this is the terminal output... OLDuser@hostname $ dc_command show mediatimed out waiting for input: auto-logout NEWuser@

Bug, feature or just the correct behaviour (stat'ing -bash down the PATH)

2015-06-02 Thread Wheatley, Martin R
$ echo $PATH /usr/bin:/usr/sbin:/usr/dt/bin:/home/USER/bin $ a truss of "bash -ls" shows it stat'ing '-bash' in each of the directories in PATH... 11933: stat64("/usr/bin/-bash", 0xFFBFEBE8)Err#2 ENOENT 11933: stat64("/usr/sbin/-bash", 0xFFBFEBE8) Err#2 ENOENT 11933: st

Using TMOUT as default for read bultin is unwise

2011-09-14 Thread Wheatley, Martin R
Configuration Information [Automatically generated, do not change]: Machine: sparc OS: solaris2.7 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' -DCONF_OSTYPE='solaris2.7' -DCONF_MACHTYPE='sparc-sun-solaris2.7' -DCONF_VENDOR='sun' -DLOCALEDIR='/usr/local/depot/bash-3.