Hi Samfel,

> You'll see the output keep scrolling onto the screen, but the fish prompt
> is left behind and doesn't stick to the bottom of it.
>

This (in my experience) is usual behavior of shells.  It generally will
screw things up (visually at least) when you send output to a terminal from
a process running in the background.  You seem to be suggesting that fish
should be different in this respect and as new output comes onto the screen
from a backend process that this would be inserted above the current prompt
(so new output can be seen, but a command can also be easily typed)?  Am I
interpreting this correctly?

That seems like a good idea to me, however, one weird situation I can
envision is where you have a background process generating output while a
foreground one is also generating output.  In that case it would be
possible to have foreground output on the screen, while your background
output was then off screen and essentially two insertion points for output.
 I don't know exactly why that might be bad, but it seems like it has
potential to cause problems.* * To try to visually demonstrate:

*This seems like desired behavior & seems nice*
*
*
*$* background_process &
Background Output line 1
Background Output... (more output will be appended here)
*$*      #can type away command with background output happily chugging
away above

--------

*A weird situation that would be likely to arise from above behavior*
*
*
*$* background_process &
Background Output
Background Output... (background output being added into the terminal,
possibly offscreen)
*$* foreground_process
Foreground Output
Foreground Output... (possibly a lot of output, say pages worth)

Anybody else have thoughts?

-Ryan

__________________________________________
*(206) 414-8475*
hryanjones.com


On Wed, Aug 7, 2013 at 6:43 AM, Samuel Melrose <[email protected]> wrote:

> Hello,
>
> I've been trying to do something with bash that is starting to seem
> impossible and I'm hoping fish will come to the rescue.
>
> Please see the question asked here:
> http://serverfault.com/questions/528993/bash-prompt-below-output-background-log-tail
>
> And let me give a simple example:
>
> In a bash shell, run the following command: while true; do echo `date` >>
> temp; sleep 3; done
>
> Then open your fish shell and run: tail -f temp &
>
> You'll see the output keep scrolling onto the screen, but the fish prompt
> is left behind and doesn't stick to the bottom of it.
>
> Do you know of any way you could make it stick to the bottom of the output
> as it appears? And if it's not a current feature, is it something easy to
> implement?
>
> Thanks.
>
> Samuel Melrose
> [email protected]
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to