Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - CaveGuy

#1
This one reared it's ugly head again this time testing 10.7.3 on ubuntu 17.10



newLISP v.10.7.3 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h



> (setq x 0) (while (!= (char "x") (read-key true)) (sleep 1000)(println (inc x))) nil

0

1

2

x3

3

nil



> (setq x 0) (while (!= (char "x") (read-key true)) (sleep 1000)(print (inc x))) nil

0

x1234566

nil
#2
I installed newlisp 10.7.1 using apt-get install on on a raspberry pi 3.



(module "unix.lsp") failed looking for "/usr/local/share/newlisp/modules/unix.lsp"



I located it incorrectly installed at "/usr/share/newlisp/modules/unix.lsp"



Not sure who is responsible for the repository or if it's location is defined somewhere in the make process.



PS:  any clue if / when 10.7.3 will be promoted to the release version ?



I am hoping to see (read-key true) on the other platforms ASAP. The only was to see it widely propagated is for the repositories to upgrade. That will not happen until there is a formal release.
#3
I am back from the future :) no problem there ?


newLISP v.10.7.3 64-bit on Windows IPv4/6 libffi, options: newlisp -h

> (setq str (dup "00" 52))
"00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
> (trim str)
""
>
#4
newLISP in the real world / Re: Is this newLISP's bug?
August 11, 2017, 08:29:07 AM
not sure if this helps but I am working with the same example and get a lockup with an unhandled win32 exception [10892] when I run it in 64bit newlisp but it runs as expected in 32 bit newlisp.





newLISP v.10.7.1 64-bit on Windows IPv4/6 UTF-8 libffi, options: newlisp -h



> (load "w32test2.lsp")

hInstance 4194304

hTextbox nil

hCursor 65539

> window never opens - newlisp aborts with a dialog box





newLISP v.10.7.1 32-bit on Windows IPv4/6 UTF-8 libffi, options: newlisp -h



> (load "w32test2.lsp")

hInstance 4194304

hTextbox nil

hCursor 65539

hwc 50081

hwnd 2294990

> window opens and I can type in it ....

destroyed

the end

exits normally



just tested

newLISP v.10.7.3 64-bit on Windows IPv4/6 libffi, options: newlisp -h

it exits with the same debugger error.

I am on windows 10 and do not have visual studio thus the debugger info is useless to me.



here is a new twist ...



newLISP v.10.7.3 32-bit on Windows IPv4/6, options: newlisp -h



> (load "w32test2.lsp")

hInstance 4194304

hTextbox nil

hCursor 65539



ERR: invalid function : (struct 'RECT "long" "long" "long" "long")

>
#5
thanks, but I need a 32bit one. I will go into more detail why in a different thread.
#6
Thank you! my only question is if 10.7.3 will be released as binaries for windows in the near future ?

Now I am retired the cost of maintaining the mickeysoft development tools has become prohibitive.

Bottom line is I no longer have a windows build environment on my current system and plan on using newlisp exclusively going forward.
#7
WANTED: The able to test for a key-pressed or be able to time out from a (read- like function.



The object is to be able to interrupt a loop with a key stroke. currently all input functions are blocking and wait forever for input. Sometimes when no input is forth coming we need to be able to move on.  



(net-peek and (net-connect with it's timeout are good examples of non-blocking input.



In windows we have the following workaround but nothing I can figure out for the other os's



(if (not _kbhit) (import "msvcrt.DLL" "_kbhit" ))
(if (not _getch) (import "msvcrt.DLL" "_getch" ))

(define (key-pressed)
  (if (= 0 (_kbhit)) nil
      (begin
         (setq keyval (_getch))
         (if (or (= keyval 0)(= keyval 224)) (CONSOLE:_getch))
         (setq keypress (char keyval)))))
#8
linux, freebsd and win 2012r2 are all running  as virtual machines on the same box, each running on one dedicated xeon 3.0g core.



The win 10 box is also on the same network connection, it is a new 7th generation I7 3.4g cpu with 8 cores proving the system speed has little to do with the net-connect timing.



While this is a useful example,

What I am fishing for is suggested additions to the ports scan list.

 

#
# myhost is a FQDN or IP address
# ie. (myscan "test.example.com")
#     (myscan "192.168.1.1")
#
(define (myscan myhost)
   (setq timeout 500)
   (println "Scanning: " myhost)
   (dolist (plist myscan-list)
        (setq myport (plist 0))
(if (set 'socket (net-connect myhost myport timeout))
(begin
       (setq rtt (time (set 'socket2 (net-connect myhost myport (+ timeout 25))))
             timeout (/ (+ rtt timeout 50) 2))
       (println "open port: " myport " : " rtt "ms " (plist 1) )
(net-close socket2)
(net-close socket))
(print myport "  r")))
   (println "       ") )
#

(setq myscan-list '(
    (7 "echo")
    (9 "discard")
    (11 "systat")
    (13 "daytime")
    (17 "qotd")
    (18 "msp")
    (19 "chargen")
    (20 "ftp-data")
    (21 "ftp")
    (22 "ssh")
    (23 "telnet")
    (25 "smtp")
    (37 "time")
    (38 "rap")
    (39 "rlp")
    (42 "nameserver")
    (43 "whois")
    (49 "tacas")
    (53 "domain")
    (63 "whoispp")
    (66 "sqlnet")
    (67 "bootps")
    (68 "bootpc")
    (69 "tftp")
    (70 "gopher")
    (79 "finger")
    (80 "http")
    (81 "hosts2-ns")
    (88 "kerberos")
    (101 "hostname")
    (102 "iso-tsap")
    (107 "rtelnet")
    (109 "pop2")
    (110 "pop3")
    (111 "sunrpc")
    (113 "auth")
    (115 "sftp")
    (117 "uucp-path")
    (118 "sqlserv")
    (119 "nntp")
    (123 "ntp")
    (135 "epmap")
    (137 "netbios-ns")
    (138 "netbios-ds")
    (139 "netbios-ssn")
    (143 "imap")
    (150 "sql-net")
    (156 "sqlsrv")
    (158 "pcmail-srv")
    (161 "snmp")
    (162 "snmptrap")
    (170 "print-srv")
    (179 "bgp")
    (194 "irc")
    (204 "isc")
    (220 "imap3")
    (322 "rtsps")
    (349 "mftp")
    (366 "alt-smtp")
    (389 "ldap")
    (443 "https")
    (445 "microsoft-ds")
    (464 "kpasswd")
    (465 "smtps")
    (507 "crs")
    (512 "exec")
    (513 "login")
    (514 "cmd")
    (515 "printer")
    (519 "unix=time")
    (520 "efs")
    (522 "ulp")
    (526 "tempo")
    (529 "irc-serv")
    (530 "courier")
    (531 "conference")
    (532 "netnews")
    (540 "uucp")
    (543 "klogin")
    (544 "kshell")
    (546 "dhcpv6-client")
    (547 "dhcpv6-server")
    (548 "afpovertcp")
    (554 "rtsp")
    (556 "remotefs")
    (563 "nntps")
    (565 "whoami")
    (568 "ms-shuttle")
    (569 "ms-rome")
    (580 "sntp-heartbeat")
    (587 "submission")
    (593 "http-rpc-epmap")
    (612 "hmmp-ind")
    (613 "hmmp-op")
    (636 "ldaps")
    (666 "doom")
    (691 "msexch-routing")
    (749 "kerberos-adm")
    (800 "mdbs_daemon")
    (989 "ftps-data")
    (990 "ftps")
    (992 "telnets")
    (993 "imaps")
    (994 "ircs")
    (995 "pop3s")
    (1034 "activesync")
    (1025 "trojan")
    (1080 "socks")
    (1109 "kpop")
    (1110 "nfsd-status")
    (1155 "nfa")
    (1270 "opsmgr")
    (1433 "ms-sql-m")
    (1434 "ms-sql-s")
    (1477 "ms-sna-server")
    (1478 "ms-sna-base")
    (1512 "wins")
    (1524 "ingreslock")
    (1607 "stt")
    (1711 "pptconference")
    (1723 "pptp")
    (1731 "msiccp")
    (1745 "remote-winsock")
    (1755 "ms-streaming")
    (1801 "msmq")
    (1863 "msnp")
    (1900 "ssdp")
    (1944 "close-combat")
    (2053 "knetd")
    (2106 "mzap")
    (2177 "qwave")
    (2234 "directplay")
    (2382 "ms-olap3")
    (2383 "ms-olap4")
    (2393 "ms-olap1")
    (2394 "ms-olap2")
    (2460 "ms-theater")
    (2504 "wlbs")
    (2525 "ms-v-worlds")
    (2701 "sms-rcinfo")
    (2702 "sms-xfer")
    (2703 "sms-chat")
    (2704 "sms-remctrl")
    (2725 "msolap-ptp2")
    (2869 "icslap")
    (3020 "cifs")
    (3074 "xbox")
    (3126 "ms-dotnetster")
    (3128 "trojan")
    (3132 "ms-rule-engine")
    (3268 "msft-gc")
    (3269 "msft-gc-ssl")
    (3343 "ms-cluster-net")
    (3389 "ms-wbt-server")
    (3535 "ms-la")
    (3540 "pnrp-port")
    (3544 "teredo")
    (3587 "p2pgroup")
    (3702 "ws-discovery")
    (3776 "dvcprov-port")
    (3847 "msfw-control")
    (3882 "msdts1")
    (3935 "sdp-portmapper")
    (4350 "net-device")
    (4400 "trojan")
    (4500 "ipsec-msft")
    (4899 "radmin")
    (5000 "upnp")
    (5191 "aol")
    (5228 "google")
    (5355 "llmnr")
    (5357 "wsd")
    (5358 "wsd")
    (5678 "rrac")
    (5679 "dccm")
    (5720 "ms-licensing")
    (6000 "trojan")
    (5900 "vnc")
    (6073 "directplay8")
    (6112 "battlenet")
    (8080 "http-alt")
    (8222 "vmware")
    (8333 "vmware")
    (9535 "man")
    (9753 "rasadv")
    (10000 "webmin")
    (11320 "imip-channels")
    (12345 "trojan")
    (15000 "kaspersky")
    (16384 "cisco-rtp")
    (20000 "usermin")))




myscan Linux 64bit vers 16.4.3

newLISP v.10.7.1 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h

scanning:

open port: 21 : 46.731ms. ftp

open port: 22 : 46.259ms. ssh

open port: 80 : 46.281ms. http

open port: 443 : 46.771ms. https





myscan FreeBSD 64bit vers 11.1

newLISP v.10.6.2 64-bit on BSD IPv4/6 UTF-8 libffi, options: newlisp -h

scanning:

open port: 21 : 129.836ms. ftp

open port: 22 : 228.404ms. ssh

open port: 80 : 123.528ms. http

open port: 443 : 116.864ms. https





myscan Win10 64bit

newLISP v.10.7.1 64-bit on Windows IPv4/6 UTF-8 libffi, options: newlisp -h

scanning:

open port: 21 : 46.882ms. ftp

open port: 22 : 46.876ms. ssh

open port: 80 : 46.879ms. http

open port: 443 : 46.882ms. https





myscan Win 2012r2

newLISP v.10.6.2 32-bit on Win32 IPv4/6 libffi, options: newlisp -h

Scanning:

open port: 21 : 46.874ms ftp

open port: 22 : 46.875ms ssh

open port: 80 : 46.874ms http

open port: 443 : 46.875ms https
#9
Thanks that works just fine :)



I will use that trick in some other common code ie. (myprintln ...  and all should be fixed.



Thanks again ...
#10
The following test program runs just fine on both windows and ubuntu Linux but has print buffering problems and fails on FreeBSD 11.1.


;; (load "test.lsp")
#
; pressing key1 returns true, key2 returns nil, all other keys ignored
(define (torf key1 key2)
   (setq keypress2 "")
   (while (and (!= keypress2 key1) (!= keypress2 key2))
          (setq keypress2 (upper-case (char (read-key)))))
   (= keypress2 key1) )
#
; dummy compile/link code for testing
(define (linkme)
    (setq compile true
          exename "test")
    (println "ncompile/link code runs here")
    nil) ; return no errors
#
; mainline program edited for testing
(define (doit)
     (println "do main program here")
     (sleep 5000) ; pause for effect
     (println "then exit")
     (fake-exit) )
#
; entry point for this test
(define (run)
   (if (not compiled)
      (begin
         (print "n "C"ompile or "R"un ? " )
         (if (torf "C" "R")
              (begin
                   (if (not (linkme))
                         (println (string "n Compile of " exename " was successful. "))
                         (println (string "n Compile of " exename " failed! ")))
                   (print " "E"xit or "T"est ? ")
                   (if (torf "T" "E")
                       (doit)
                       (print "nfinished")))
             (doit)))
      (doit))
  true
  )
  true
  ;eof


here is a sample good run on ubuntu.


newLISP v.10.7.1 64-bit on Linux IPv4/6 UTF-8 libffi, options: newlisp -h

> (load "test.lsp")
true
> (run)

 "C"ompile or "R"un ?  [i]; entered "c" for compile[/i]
compile/link code runs here

 Compile of test was successful.
 "E"xit or "T"est ?
finished


and failing example on BSD


root@bsd1:/home/bob # newlisp
newLISP v.10.6.2 64-bit on BSD IPv4/6 UTF-8 libffi, options: newlisp -h

> (load "test.lsp")
true
> (run)
;[i] the program stops at this point waiting on input with no prompt.
; enter an "c" to exit as if the prompt was there and it
; flushes the print buffer and continues.[/i]
 "C"ompile or "R"un ?
compile/link code runs here
[i]; and stops again waiting on input with no prompt.
; enter an "e" to exit as if the prompt was there again
; flushes the print buffer and we continue to the exit.[/i]
Compile of test was successful.
"E"xit or "T"est ?
finished
>


This leaves me clueless, I will test later on cent-os as soon as I can get another VM running.
#11
Quote
;;

;; (pause msg delay) is a debuging tool that lets me

;; pause in a loop and look at things and in some

;; cases (setq  things before continuing.

;;

;; msg is evaled and printed as a string for

;; delay in seconds, if not specified default is 10

;; return key enters and exits eval print loop

;; any other key to bypass delay and continue.

;;

;; this requires windows, I need an ubuntu equivalent

;;

(if (not _kbhit) (import "msvcrt.DLL" "_kbhit" ))

(if (not _getch) (import "msvcrt.DLL" "_getch" ))



(define (key-pressed)      ; this is what is needed !

  (if (= 0 (_kbhit)) nil

      (begin

         (setq keyval (_getch))

         (if (or (= keyval 0)(= keyval 224)) (_getch))

         (setq keypress (char keyval)))))

#

(define (pause msg delay )

    (setq delay (if delay delay 10))

    (print (string "n=>: " msg " "))

    (if (!= "r" (dotimes ( x delay (key-pressed)) (sleep 1000))) nil

         (while (!= (setq tmp (print "n=>? ") estring (read-line)) "")

                (print (string "=>: " (eval-string estring) ))true)nil))

#

# example

#

(pause "Doing it" 5)

;

;eof


#12
Given the reverse dns generated by (setq rdns (net-lookup ip-add))

This example appends the expanded name if there is a 2 char code..

The value/time saver here, is the assoc list of countries.  



;;;
;;; Expand 2 char country codes
;;; by caveguy
;;;
(define (expand-cc rdns , tmp)
   (if (and (= "." (first (slice rdns -3)))
            (setq tmp (upper-case (slice rdns -2)))
            (setq tmp (assoc tmp cntrylst))
            (setq tmp (last tmp)))
       (string rdns " ""  tmp """)
       (string rdns "")))
#
(set 'cntrylst '(
  ("AF" "Afghanistan")
  ("AX" "Åland Isl.")
  ("AL" "Albania")
  ("DZ" "Algeria")
  ("AS" "American Samoa")
  ("AD" "Andorra")
  ("AO" "Angola")
  ("AI" "Anguilla")
  ("AQ" "Antarctica")
  ("AG" "Antigua & Barbuda")
  ("AR" "Argentina")
  ("AM" "Armenia")
  ("AW" "Aruba")
  ("AU" "Australia")
  ("AT" "Austria")
  ("AZ" "Azerbaijan")
  ("BS" "Bahamas")
  ("BH" "Bahrain")
  ("BD" "Bangladesh")
  ("BB" "Barbados")
  ("BY" "Belarus")
  ("BE" "Belgium")
  ("BZ" "Belize")
  ("BJ" "Benin")
  ("BM" "Bermuda")
  ("BT" "Bhutan")
  ("BO" "Bolivia")
  ("BQ" "Bonaire")
  ("BA" "Bosnia & Herzegovina")
  ("BW" "Botswana")
  ("BV" "Bouvet Isl.")
  ("BR" "Brazil")
  ("IO" "British Indian Ocean Terr.")
  ("BN" "Brunei Darussalam")
  ("BG" "Bulgaria")
  ("BF" "Burkina Faso")
  ("BI" "Burundi")
  ("KH" "Cambodia")
  ("CM" "Cameroon")
  ("CA" "Canada")
  ("CV" "Cape Verde")
  ("KY" "Cayman Isl.")
  ("CF" "Central African Rep.")
  ("TD" "Chad")
  ("CL" "Chile")
  ("CN" "China")
  ("CX" "Christmas Isl.")
  ("CC" "Cocos Isl.")
  ("CO" "Colombia")
  ("KM" "Comoros")
  ("CG" "Congo")
  ("CD" "Congo")
  ("CK" "Cook Isl.")
  ("CR" "Costa Rica")
  ("CI" "Côte d'Ivoire")
  ("HR" "Croatia")
  ("CU" "Cuba")
  ("CW" "Curaçao")
  ("CY" "Cyprus")
  ("CZ" "Czech Rep.")
  ("DK" "Denmark")
  ("DJ" "Djibouti")
  ("DM" "Dominica")
  ("DO" "Dominican Rep.")
  ("EC" "Ecuador")
  ("EG" "Egypt")
  ("SV" "El Salvador")
  ("GQ" "Equatorial Guinea")
  ("ER" "Eritrea")
  ("EE" "Estonia")
  ("ET" "Ethiopia")
  ("EU" "European Union")
  ("FK" "Falkland Isl.")
  ("FO" "Faroe Isl.")
  ("FJ" "Fiji")
  ("FI" "Finland")
  ("FR" "France")
  ("GF" "French Guiana")
  ("PF" "French Polynesia")
  ("TF" "French Southern Terr.")
  ("GA" "Gabon")
  ("GM" "Gambia")
  ("GE" "Georgia")
  ("DE" "Germany")
  ("GH" "Ghana")
  ("GI" "Gibraltar")
  ("GR" "Greece")
  ("GL" "Greenland")
  ("GD" "Grenada")
  ("GP" "Guadeloupe")
  ("GU" "Guam")
  ("GT" "Guatemala")
  ("GG" "Guernsey")
  ("GN" "Guinea")
  ("GW" "Guinea-Bissau")
  ("GY" "Guyana")
  ("HT" "Haiti")
  ("HM" "Heard & McDonald Isl.")
  ("VA" "Vatican)")
  ("HN" "Honduras")
  ("HK" "Hong Kong")
  ("HU" "Hungary")
  ("IS" "Iceland")
  ("IN" "India")
  ("ID" "Indonesia")
  ("IR" "Iran")
  ("IQ" "Iraq")
  ("IE" "Ireland")
  ("IM" "Isle of Man")
  ("IL" "Israel")
  ("IT" "Italy")
  ("JM" "Jamaica")
  ("JP" "Japan")
  ("JE" "Jersey")
  ("JO" "Jordan")
  ("KZ" "Kazakhstan")
  ("KE" "Kenya")
  ("KI" "Kiribati")
  ("KP" "Korea, North")
  ("KR" "Korea, South")
  ("KW" "Kuwait")
  ("KG" "Kyrgyzstan")
  ("LA" "Lao")
  ("LV" "Latvia")
  ("LB" "Lebanon")
  ("LS" "Lesotho")
  ("LR" "Liberia")
  ("LY" "Libya")
  ("LI" "Liechtenstein")
  ("LT" "Lithuania")
  ("LU" "Luxembourg")
  ("MO" "Macao")
  ("MK" "Macedonia")
  ("MG" "Madagascar")
  ("MW" "Malawi")
  ("MY" "Malaysia")
  ("MV" "Maldives")
  ("ML" "Mali")
  ("MT" "Malta")
  ("MH" "Marshall Isl.")
  ("MQ" "Martinique")
  ("MR" "Mauritania")
  ("MU" "Mauritius")
  ("YT" "Mayotte")
  ("MX" "Mexico")
  ("FM" "Micronesia")
  ("MD" "Moldova")
  ("MC" "Monaco")
  ("MN" "Mongolia")
  ("ME" "Montenegro")
  ("MS" "Montserrat")
  ("MA" "Morocco")
  ("MZ" "Mozambique")
  ("MM" "Myanmar")
  ("NA" "Namibia")
  ("NR" "Nauru")
  ("NP" "Nepal")
  ("NL" "Netherlands")
  ("NC" "New Caledonia")
  ("NZ" "New Zealand")
  ("NI" "Nicaragua")
  ("NE" "Niger")
  ("NG" "Nigeria")
  ("NU" "Niue")
  ("NF" "Norfolk Isl.")
  ("MP" "Mariana Isl.")
  ("NO" "Norway")
  ("OM" "Oman")
  ("PK" "Pakistan")
  ("PW" "Palau")
  ("PS" "Palestine")
  ("PA" "Panama")
  ("PG" "Papua New Guinea")
  ("PY" "Paraguay")
  ("PE" "Peru")
  ("PH" "Philippines")
  ("PN" "Pitcairn")
  ("PL" "Poland")
  ("PT" "Portugal")
  ("PR" "Puerto Rico")
  ("QA" "Qatar")
  ("RE" "Réunion")
  ("RO" "Romania")
  ("RU" "Russian Federation")
  ("RW" "Rwanda")
  ("BL" "Saint Barthélemy")
  ("SH" "Saint Helena, Ascension")
  ("KN" "Saint Kitts & Nevis")
  ("LC" "Saint Lucia")
  ("MF" "French Saint Martin")
  ("PM" "Saint Pierre & Miquelon")
  ("VC" "Saint Vincent & Grenadines")
  ("WS" "Samoa")
  ("SM" "San Marino")
  ("ST" "Sao Tome & Principe")
  ("SA" "Saudi Arabia")
  ("SN" "Senegal")
  ("RS" "Serbia")
  ("SC" "Seychelles")
  ("SL" "Sierra Leone")
  ("SG" "Singapore")
  ("SX" "Dutch Saint Martin")
  ("SK" "Slovakia")
  ("SI" "Slovenia")
  ("SB" "Solomon Isl.")
  ("SO" "Somalia")
  ("ZA" "South Africa")
  ("GS" "Georgia & Sandwich Isl.")
  ("SS" "South Sudan")
  ("ES" "Spain")
  ("LK" "Sri Lanka")
  ("SD" "Sudan")
  ("SR" "Suriname")
  ("SJ" "Svalbard & Jan Mayen")
  ("SZ" "Swaziland")
  ("SE" "Sweden")
  ("CH" "Switzerland")
  ("SY" "Syrian Arab Rep.")
  ("TW" "Taiwan")
  ("TJ" "Tajikistan")
  ("TZ" "Tanzania")
  ("TH" "Thailand")
  ("TL" "Timor-Leste")
  ("TG" "Togo")
  ("TK" "Tokelau")
  ("TO" "Tonga")
  ("TT" "Trinidad & Tobago")
  ("TN" "Tunisia")
  ("TR" "Turkey")
  ("TM" "Turkmenistan")
  ("TC" "Turks & Caicos Isl.")
  ("TV" "Tuvalu")
  ("UG" "Uganda")
  ("UA" "Ukraine")
  ("AE" "United Arab Emirates")
  ("GB" "United Kingdom")
  ("UK" "United Kingdom")
  ("US" "United States")
  ("UM" "US Outlying Isl.")
  ("UY" "Uruguay")
  ("UZ" "Uzbekistan")
  ("VU" "Vanuatu")
  ("VE" "Venezuela")
  ("VN" "Viet Nam")
  ("VG" "Brit. Virgin Isl.")
  ("VI" "US Virgin Isl.")
  ("WF" "Wallis & Futuna")
  ("EH" "Western Sahara")
  ("YE" "Yemen")
  ("ZM" "Zambia")
  ("ZW" "Zimbabwe")))
#13
Whither newLISP? / Re: (directory) nonsence
June 17, 2017, 10:38:05 PM
Thank that worked...

Went back and RTFM after catching up on some sleep, It makes more sense now then it did after  several nights of manic programming looking for a pattern of twigs in a 7 million line haystack of access logs.

who would have guessed the trail would lead to Quasi Networks LTD in Seychelles a small island east of Africa and north of Madagascar.  When I get a chance to clean up the spaghetti-ware and generalize it a bit. a multi RIR whois tracker client in newlisp will make an unusual real world example.
#14
Whither newLISP? / Re: (directory) nonsence
June 16, 2017, 12:59:00 PM
I it dot'nt make ant difference still got nil. I ended up using (directory) followed with a do-list to remove everything I do not want.

thanks for the reply .



ps I missed the definitive reply before I posted this the first time ... my bad
#15
Whither newLISP? / (directory) nonsence
June 13, 2017, 10:49:56 PM
first problem I put (directory) in the search box an it tells me it is too common ?



I change-dir to the directory with my log files and do a (directory) and get back a list of everything.

In this case I only want the dovecot logs so why does (directory "dovecot*") return nil ?



obviously too common a problem for search to be bothered responding with a hint.  



Its late, I'm tired, what am I overlooking ?