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

nslookup (function) problem



With the latest Zsh (and no special settings apart PAGER=less):

bor@itsrm2% command nslookup
Default Server:  mowd017a.mow.siemens.ru
Address:  139.24.18.1

> ?
# @(#)nslookup.help     Revision: 3.1   92/09/23 13:57:57
#
# @(#)nslookup.help     Revision: 2.2   91/06/06 17:41:55
#
Commands:       (identifiers are shown in uppercase, [] means optional)
NAME            - print info about the host/domain NAME using default
server
NAME1 NAME2     - as above, but use NAME2 as server
help or ?       - print info on common commands; see nslookup(1) for
details
set OPTION      - set an option
    all         - print options, current server and host
    [no]debug   - print debugging information
    [no]d2      - print exhaustive debugging information
    [no]defname - append domain name to each query
    [no]recurse - ask for recursive answer to query
    [no]vc      - always use a virtual circuit
    domain=NAME - set default domain name to NAME
    srchlist=N1[/N2/.../N6] - set domain to N1 and search list to N1,N2,
etc.
    root=NAME   - set root server to NAME
    retry=X     - set number of retries to X
    timeout=X   - set initial time-out interval to X seconds
    querytype=X - set query type, e.g.,
A,ANY,CNAME,HINFO,MX,NS,PTR,SOA,WKS
    type=X      - synonym for querytype
    class=X     - set query class to one of IN (Internet), CHAOS, HESIOD
or ANY
/usr/lib/named/nslookup.help 62%
....

that is , it runs help output through pager (`less' in my case).

Unfortunately, function nslookup hangs completely in this case:

bor@itsrm2% autoload -U nslookup
bor@itsrm2% nslookup
Default Server:  mowd017a.mow.siemens.ru
Address:  139.24.18.1

> ?
nothing comes here; it habgs; it is no more possible to kill it with ^C,
^\ or ^Z.

-andrej



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