[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chet Ramey] Re: current input line lost on ^Z
From: |
Dan Jacobson |
Subject: |
[Chet Ramey] Re: current input line lost on ^Z |
Date: |
Sun, 11 Jun 2006 08:59:16 +0800 |
address@hidden item related to cat?
Dan Jacobson wrote:
> Perhaps bad?
> $ cat > p
> bbbbbbbbbb
> ccccccc^Z
> $ something_else
> $ fg
> zzzzzzzzzzz
> ^D
> $ cat pr
> bbbbbbbbbb
> zzzzzzzzzzz
>
> "I was not finished composing line ccccccc when I had to do
> something_else. Now I have to remember what I was typing to type line
> ccccccc all over again, and it might not even be left on my screen for
> me to copy."
C> Nothing to do with bash. Depends on how the cat process reacts to the
C> SIGTSTP and whether or not the terminal driver even lets cat see the
C> partial line, since it's running in cooked mode.
- [Chet Ramey] Re: current input line lost on ^Z,
Dan Jacobson <=