bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash auto-logout truncates "timed out waiting for input: auto-logout


From: Chet Ramey
Subject: Re: Bash auto-logout truncates "timed out waiting for input: auto-logout" string
Date: Fri, 13 Apr 2007 12:31:21 -0400
User-agent: Thunderbird 1.5.0.10 (Macintosh/20070221)

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

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]