[Top][All Lists]

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

Re: shell

From: Richard M. Stallman
Subject: Re: shell
Date: Sat, 23 Jul 2005 20:01:22 -0400

    Bury the shell buffer while it sleeps.

That's a horrible thing to do.  No wonder it gets confused
when it wakes up!

    $ sleep 1; echo -n 'Password: '; read -rs; echo -e "\nREPLY=\"$REPLY\""

    Bury the shell buffer while it sleeps.

    The mode line prompts Password: with no indication as to why
    nor which of several shell buffers and other processes want it.

What do you think it should do in this case?

It seems to me that the cleanest way to handle this case
would be to wait until the buffer is current again
before prompting the user.  But that isn't easy to do.

reply via email to

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