Return to BSD News archive
Newsgroups: comp.unix.bsd.netbsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!munnari.OZ.AU!uunet!in2.uu.net!207.172.3.52!feed1.news.erols.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!howland.erols.net!newsfeed.internetmci.com!ncar!uchinews!not-for-mail From: eric@fudge.uchicago.edu (Eric Fischer) Subject: Re: Yellow pages problem... X-Nntp-Posting-Host: fudge.uchicago.edu Message-ID: <EAA7Gn.CA4@midway.uchicago.edu> Sender: news@midway.uchicago.edu (News Administrator) X-Newsposter: Pnews 4.0-test51 (15 Jan 97) Organization: The University of Chicago References: <337B6362.41C6@ssibm4.ssp.ameslab.gov> Date: Fri, 16 May 1997 16:07:34 GMT Lines: 36 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5960 Stephen Tow <stow@ssibm4.ssp.ameslab.gov> wrote: > I am trying to get yellow pages (NIS) to work on a NetBSD/i386 machine > but I don't seem to be making a connection. Actually I do seem to be > making a connection in that when I do a 'ypwhich', it's pointing to the > right yp server, but when I try and login, it doesn't recognize me. Did you remember to add the "+" line to the end of your passwd file? > PS Oh, while I'm at it...is it normal for tab completion/history lists > via arrow keys not to work? Unfortunately these are functions traditionally provided by particular shells rather than by the terminal driver*. If you use csh, "set filec" to turn on filename completion (with Esc, not Tab); if you use sh, there's no built-in mechanism but you can download my kludgy, not-ready-for-prime- time patch from http://ars-www.uchicago.edu/~eric/sh.patch As for the arrow keys, sh has built-in support for this (set -o emacs or set -o vi). Csh doesn't, but you can build tcsh from source code and get it that way. * I'm not sure it's practical to do filename completion in the kernel tty driver -- not only does the key processing have to take place at interrupt time, which limits file system access, but the kernel would also have to know a lot about shell lexical structure and so on that it really shouldn't have to. Arrow keys (and other editing features) do turn out to be reasonable to do at the tty driver level, though -- if you (or anyone else) would like a not-ready-for-release-but-still- useful kernel patch that adds support for arrow keys and various vi and emacs commands to the tty driver, send me mail and I'll send you a copy. eric