On Friday 13 April 2007, Chet Ramey wrote: > West Stephen-QSW000 wrote: > > Configuration Information [Automatically generated, do not change]: > > Machine: powerpc > > OS: linux-gnuspe > > Compiler: ppc_85xx-gcc > > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' > > -DCONF_OSTYPE='linux-gnuspe' > > -DCONF_MACHTYPE='powerpc-montavista-linux-gnuspe' > > -DCONF_VENDOR='montavista' -DSHELL > > -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -O2 > > uname output: Linux DMICTRL 2.6.10_mvl402-UBS-DMICTRLKERNEL-REL-001 NONE > > ppc GNU > > /Linux > > Machine Type: powerpc-montavista-linux-gnuspe > > > > Bash Version: 2.05b > > Patch Level: 0 > > Release Status: release > > > > Description: > > I am using a custom board with a serial console running at a > > baud rate of 115200. I have a TMOUT value set, and when that value is > > reached, the console auto-logout happens. Often, the auto-logout string > > printed by bash gets truncated. It should read "timed out waiting for > > input: auto-logout", but instead it reads "timed out waiting f". I do > > not see this issue if I am connected to the board over a faster > > interface such as when I ssh to the board over an ethernet interface. > > You might try adding `fflush(stdout);' right after the printf. Look in > eval.c:alrm_catcher().
either that or a tcdrain(STDOUT_FILENO) ... -mike
pgpNvzC1SIMsN.pgp
Description: PGP signature
_______________________________________________ Bug-bash mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-bash