SIGTTOU with interactive sessions and more/less/pg at the end was a
BANE on Solaris, but I thought David/Glenn fixed that. Did maybe the
old bug creep in again?

Olga

On Wed, Feb 8, 2012 at 10:03 AM, Dr. Werner Fink <[email protected]> wrote:
> Hi,
>
> just tried this
>
>  > ls -l /etc | less
>  Ctrl-Z
>  > ls -l /etc | less
>  [1] + Stopped                  ls -l /etc | less
>  > jobs
>  [1] + Stopped                  ls -l /etc | less
>  > fg
>  ls -l /etc | less
>
> ... now I'm missing the terminal output of the less command, a short
> check shows
>
>  Ctrl-C
>  > tty
>  /dev/pts/0
>  > ps x | grep pts/0
>  9273 pts/0    S      1:02 ksh
>  9297 pts/0    T      0:42 less
>  9344 pts/0    R+     0:00 ps x
>  9345 pts/0    S+     0:00 grep --color=auto pts/0
>
> that is that fg seems not to reenable the less command. Now
> trying to reenable the less by sending SIGCONT shows:
>
>  > killall -CONT less
>  [1] + Stopped (SIGTTOU)        ls -l /etc | less
>
> ... it seems that the tty output of less is stopped for
> a for background process (ksh?).
>
>    Werner
>
>
> --
>  "Having a smoking section in a restaurant is like having
>          a peeing section in a swimming pool." -- Edward Burr
> _______________________________________________
> ast-developers mailing list
> [email protected]
> https://mailman.research.att.com/mailman/listinfo/ast-developers



-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to