🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #1004

gethostent call in readline.c

#1004
From: Michael I. Bushnell
Date: Sat, 10 Jun 1989 17:05
22 lines
1308 bytes

Hostname completions are a good idea, but there is a problem.  With
the resolv library (which BSD uses by DEFAULT, thank god), there is no
gethostent function.  Even if it were implemented (perhaps doing a
depth-first search on the entire DNS), it would be far too slow when
hooked up to the internet with named.  Just too many hosts to page
through.

Has anyone else thought of this?

If not, I'll pound out an approprite set of #ifdef's...it doesn't seem
to be too complex.

Sigh.

(But I get to post the first bug to the newsgroup!)

  Michael I. Bushnell       \     This above all; to thine own self be true
         GIG!                \    And it must follow, as the night the day,
mike@turing.cs..unm.edu      /\   Thou canst not be false to any man.
Snail mail: 87196-4292      /  \  Farewell:  my blessing season this in thee!
Technical Details
Message-ID: <126@unmvax.unm.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!unmvax.cs.unm.edu!mike

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!unmvax!unmvax.cs.unm.edu!mike
From: mike@unmvax.cs.unm.edu (Michael I. Bushnell)
Newsgroups: gnu.bash.bug
Subject: gethostent call in readline.c
Message-ID: <126@unmvax.unm.edu>
Date: 10 Jun 89 17:05:22 GMT
Sender: news@unmvax.unm.edu
Reply-To: mike@unmvax.cs.unm.edu (Michael I. Bushnell)
Organization: University of No Money, Albuquerque, New Mexico
Lines: 22