Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: fix watch implementation

On Thu, Jan 12, 2017 at 10:21:38AM +0000, Peter Stephenson wrote:
> On Thu, 12 Jan 2017 07:46:44 +0100
> Jens Elkner <jel+zsh@xxxxxxxxxxxxxxxxxxx> wrote:
> > when evaluating zsh as the new default shell for interactive use it was
> > discovered, that the 'watch' feature doesn't work on Solaris 11.3 and
> > Ubuntu 14.04, 15.04 and probably other modern platforms: 'log' never
> > shows anything and logins/logouts never show up.
> >
> > The attached patch fixes the implementation, has been successfully
> > tested on the platforms mentioned above (was developed against 5.0.7,
> > which is, what the vendors of the mentioned OS ship, however, someone on
> > irc reported, that it applies cleanly to the current master version as
> > well).
> Thanks, as it's all #ifdef'd for the appropriate cases and we're not
> stabilising the shell for a release at the moment I've just tweaked the
> formatting in minor ways and committed it.  There may be some people
> around who can exercise it, but not many, by the sound of it.

OK, thanx! As long as the 'log' command shows something and this aligns
with the output of the 'last' utility, everything should be fine.

Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 52768

Messages sorted by: Reverse Date, Date, Thread, Author