1 |
Arve, |
2 |
|
3 |
On Monday, 2021-08-02 13:54:07 +0200, you wrote: |
4 |
|
5 |
> ... |
6 |
> Depends what you were trying to solve when piping to less. |
7 |
|
8 |
Sorry for the confusion caused by dropping the "--ask" option (which is |
9 |
part of my "edepclean" alias). What I'm trying to solve is reading the |
10 |
output from "emerge --depclean" one screen full at a time and at the end |
11 |
being asked whether or not I really want to unmerge all packages listed. |
12 |
And just running |
13 |
|
14 |
$ emerge --ask --depclean | less |
15 |
|
16 |
did not work when tested with a single package to be removed: the output |
17 |
from "emerge" was displayed on less than a single screen causing "less" |
18 |
to just terminate due to my setting of environment variable "LESS", but |
19 |
"emerge" never issued the question whether or not to continue nor did it |
20 |
accept an answer. I had to kill it with "^C" from the shell. |
21 |
|
22 |
I hope I could make my problem a bit clearer this time ... :-) |
23 |
|
24 |
Sincerely, |
25 |
Rainer |