Zsh Mailing List Archive
Messages sorted by:
problems with $WATCH / $WATCHFMT
- X-seq: zsh-workers 668
- From: Matt Chidambaram <mc@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: problems with $WATCH / $WATCHFMT
- Date: Mon, 4 Dec 1995 15:01:00 +0000 (GMT)
- In-reply-to: <199505190544.PAA16613@xxxxxxxxxxxxxxxxxxxx>
i have recently (till this morning) been using zsh version 2.6 beta10,
on the following setups:
hppa (hpux 9.05) 9000/715
dec alpha osf/1 v3.x
now, (as of this afternoon) i have been using zsh version 2.6 beta12, on
the same platforms.
all of the following apply to both beta10 and beta12 flavours....
i have recently discovered the following features:
export WATCHFMT="%n has %a %l from %m @ %T."
however there seems to be a discrepency between the information (time)
displayed in identical xterms that display login/out info on the same
machine, about users.
essentially, i have many xterms on my screen at once - but i only really
work in two or three of them through the day.
in those xterms that i work in - sometimes when i press return (every few
minutes), the screen displays various peoples id's tty's and login times.
in those xterms that i dont work in very often - nothing happens until i
press return every so often (ie every couple of hours); in these xterms -
when i get the very similar login/out information as the other xterms -
its great - except for the fact that the login/out times are effectively
(plus/minus a minute) the time of day when i pressed return in that
xterm/shell on that machine.
is this a [bug|feature|error-on-my-part] ?
ok - here's a wish for zsh ....
is there any way of getting these login/out pieces of information to
auto-interrupt my shell - without me having to press return before it
displays the information? - say by setting an environemnt variable.
[ie similar action to biff command -> if biff is active, it will auto
interrupt my application etc and inform me of new mail, and the first
few lines of the mail/ if biff is inactive then it wont]
ok thats the first problem over with ...
the second problem is the one about installing zsh on dec alpha running
osf/1 v3.x ....
after reading the FAQ and doing as it says about copying ypclnt.h and
altering the yp_all() signature's third parameter; i still get errors
concerning the zle_tricky.c call to yp_all();
i eventually altered the call from within zle_tricky.c ....
yp_all(domain, PASSWD_MAP, &cb);
yp_all(domain, PASSWD_MAP, cb);
it compiles and runs ok now. i havent tested it fully.
( - but it hasnt crashed as yet...)
is the change i made valid/correct?
any help on these matters would be most appreciated.
keep up the good work.
Thought for the Day: We are the people our parents warned us about.
Prism Technologies Ltd., | Matt
KingFisher House, Kingsway, | Tel No. +44 (0)191 491 3983
Team Valley, Gateshead, | Fax No. +44 (0)191 491 3973
Tyne & Wear, England, | EMail. mc@xxxxxxxxxxxxxxx
NE11 0JQ, U.K. | WWW Page http://www.prismtech.co.uk/
Messages sorted by: