On 12/07/2011 06:04 PM, Justin Pogue wrote:
> At work, I typically have a terminal doing something like "while true;
> do ls -l /var/cores && sleep 10 && clear; done", and it bugs me that
> I'm taking up so much screen space with things like that when all I
> need to be able to see is whether or not there are any files being
> created there. All I need is 2 or 3 lines of output.
>
> What would be awesome would be the ability to adjust the height of a
> specific window in the stack and have all of the other windows just
> fill the available space. I am not much of a programmer outside of
> the occasional butchering of perl for the purposes of automating
> things I don't really understand. If this would be easy to do and
> someone is bored and/or feels like being a generally awesome guy, I
> would be forever in your debt. If this already exists or if there are
> better solutions, I'm open to that too.
>
> regards,
>
> justin
>
I use screen for that: open term, launch screen, split window (C-a S),
resize upper (or lower) half to desired height (C-a :resize 10), run
your commands, switch to other half (C-a tab), launch new shell (C-a C-c).
You now have 10-line 'status' window with still functional terminal below.
--
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Received on Wed Dec 07 2011 - 19:09:44 CET