zsh-users
 help / color / mirror / code / Atom feed
* completions with users (-u) and NIS+
@ 1996-07-04 20:16 Vincent Lefevre
  1996-07-04 20:27 ` Zoltan Hidvegi
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent Lefevre @ 1996-07-04 20:16 UTC (permalink / raw)
  To: zsh-users

Hi,

Completions with users (-u option) don't seem to work with NIS+.
Here are the possible completions I can get:
adm       daemon    lp        nobody    root      sys       vlefevre
bin       listen    noaccess  nuucp     smtp      uucp

I have zsh 3.0-pre1.

Does anyone else have the same problem?

Vincent Lefevre.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: completions with users (-u) and NIS+
  1996-07-04 20:16 completions with users (-u) and NIS+ Vincent Lefevre
@ 1996-07-04 20:27 ` Zoltan Hidvegi
  1996-07-04 23:41   ` Vincent Lefevre
  0 siblings, 1 reply; 3+ messages in thread
From: Zoltan Hidvegi @ 1996-07-04 20:27 UTC (permalink / raw)
  To: vlefevre; +Cc: zsh-users

> Hi,
> 
> Completions with users (-u option) don't seem to work with NIS+.
> Here are the possible completions I can get:
> adm       daemon    lp        nobody    root      sys       vlefevre
> bin       listen    noaccess  nuucp     smtp      uucp
> 
> I have zsh 3.0-pre1.
> 
> Does anyone else have the same problem?

Try to add -DHAVE_NIS_PLUS to DEFS in Src/Makefile, remove zle_tricky.o and
recompile.

To zsh-workers,
Anyone willing to write a configure check for NIS+?  Or any suggestions how
can I write this test myself?  The problem is that we do not use NIS+ here.

Zoltan



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: completions with users (-u) and NIS+
  1996-07-04 20:27 ` Zoltan Hidvegi
@ 1996-07-04 23:41   ` Vincent Lefevre
  0 siblings, 0 replies; 3+ messages in thread
From: Vincent Lefevre @ 1996-07-04 23:41 UTC (permalink / raw)
  To: Zoltan Hidvegi; +Cc: vlefevre, zsh-users

> Try to add -DHAVE_NIS_PLUS to DEFS in Src/Makefile, remove zle_tricky.o and
> recompile.

I get the following errors:

Ok make
gcc -c -I.. -I. -I.  -DHAVE_CONFIG_H -DHAVE_NIS_PLUS -Wall -Wno-implicit -Wmissing-prototypes -O2 -DDEBUG zle_tricky.c
zle_tricky.c:1567: conflicting types for `match_username'
zle_tricky.c:1552: previous declaration of `match_username'
make: *** [zle_tricky.o] Error 1
zsh: exit 2     make

If I replace line 1549 by:
#if defined(HAVE_NIS) && !defined(HAVE_NIS_PLUS)
there's no error any longer, but it does not change anything.

Vincent Lefevre.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-04 23:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-04 20:16 completions with users (-u) and NIS+ Vincent Lefevre
1996-07-04 20:27 ` Zoltan Hidvegi
1996-07-04 23:41   ` Vincent Lefevre

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).