Re: less, exit but left content on screen
On 08/14/2007 06:08 PM, Thomas Dickey wrote:
> Ralph Katz <ralph.katz@rcn.com> wrote:
>
>> aterm is also a very nice replacement to xterm because it uses so little
>> memory. (The 3 aterm windows I have up right now show RSS of 2404,
>> 2448, and 2464 in output from ps aux.)
>
> There are several variables. For instance, the scrollback size affects
> the RSS. To see the effect, I started "aterm -sl 24", "xterm -sl 24".
>
> This is what I saw (for just those two processes, of course):
>
> F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
> 0 1001 6494 6493 15 0 9744 3040 - S+ pts/1 0:00 aterm -sl 24
> 0 1001 6516 6515 15 0 5788 2852 - S+ pts/1 0:00 xterm -sl 24
>
Curious! I haven't had xterm installed now for some time, so I'm going
from memory. Main reason I chose aterm was for the smaller footprint.
At the moment I have 2 aterms running that would suggest more than
scrollback buffer size are factors in RSS:
$ ps aux |grep aterm
ralph 2899 0.0 0.9 5956 2360 ? S 08:05 0:00 aterm
-tn xterm -sl 5000 -geometry +0-25
ralph 2900 0.0 0.9 5956 2412 ? S 08:05 0:00 aterm
-tr -trsb -rv -sl 100 -sh 95 -geometry +700-350 -e tail -f /var/log/auth.log
ralph 3064 0.0 0.2 1956 640 pts/1 R+ 08:10 0:00 grep aterm
$
Anyway, this is OT (my fault), so did aterm solve your original question
about leaving output from 'less' onscreen after exiting?
Regards,
Ralph
Reply to: