Is the script occasionally outputting blank lines? Because that will
clear what tmux got from the script before.



On Sun, Feb 08, 2015 at 07:57:54PM +0200, Aleksandrina Nikolova wrote:
> The script works perfectly and the length isn't an issue either (it's set to
> a much larger value than <length of date> + <length of 'test' string>, plus
> the output shows up at random times)... What strikes me is that while it
> used to work, I did not change anything about the script, nor tmux config,
> nor anything else tmux related.
> 
> On 08/02/15 19:28, Nicholas Marriott wrote:
> >Are you sure it isn't something silly like the right-hand side being
> >chopped off because your status-right-length is too short?
> >
> >Does the script work as expected if you run it from the shell with eg
> >'while :; do myscript; sleep 1; done'?
> >
> >
> >On Sun, Feb 08, 2015 at 03:28:53PM +0200, Aleksandrina Nikolova wrote:
> >>I expect to see:
> >>      test <date>
> >>but I only see the date. The fact that it works fine on your system
> >>maybe confirms my suspicion that the problem is not in tmux. It used to
> >>work fine - the perl script whose output I use in the status was
> >>displaying correctly all the time. About a month ago, I transitioned
> >>from "stable" to "testing" branch on my Linux distro (Gentoo) and
> >>updated a lot of packages though tmux was not one of them; the issue
> >>appeared then and I was forced to drop the use of an external command in
> >>the status, hoping it would be resolved in an update soon. I will get a
> >>list of all packages updated that day and try to figure out which one's
> >>the culprit, but I am at a loss as to what could be causing such a
> >>behaviour.
> >>
> >>On 08/02/15 15:23, Thomas Adam wrote:
> >>>On Sun, Feb 08, 2015 at 03:09:49PM +0200, Aleksandrina Nikolova wrote:
> >>>>Hi, thanks for replying. I used a minimal .tmux.conf and started a new
> >>>>server on one of the tty's. I'm attaching the logs. On thing caught my 
> >>>>eye:
> >>>>       run job 0xd1c300: echo test, pid 26803
> >>>>       job write 0xd1c300: echo test, pid 26803, output left 0
> >>>>       job error 0xd1c300: echo test, pid 26803
> >>>>but I don't know how to interpret that.
> >>>That looks correct.  Indeed, for me, I see the status line update every
> >>>second, as I'd expect it to.
> >>>
> >>>Are you saying with your config above, this isn't the case?  What are
> >>>you expecting to see in status-right which you're not seeing?
> >>>
> >>>-- Thomas Adam
> >>>
> >>
> >>------------------------------------------------------------------------------
> >>Dive into the World of Parallel Programming. The Go Parallel Website,
> >>sponsored by Intel and developed in partnership with Slashdot Media, is your
> >>hub for all things parallel software development, from weekly thought
> >>leadership blogs to news, videos, case studies, tutorials and more. Take a
> >>look and join the conversation now. http://goparallel.sourceforge.net/
> >>_______________________________________________
> >>tmux-users mailing list
> >>tmux-users@lists.sourceforge.net
> >>https://lists.sourceforge.net/lists/listinfo/tmux-users
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to