Search found 2039 matches

by newdep
Mon Mar 01, 2004 9:56 pm
Forum: newLISP in the real world
Topic: Base64 encoder
Replies: 39
Views: 25322

Hello Pjot,

Great invention ;-) nice work... ill plug it in as a module...

Norman.
by newdep
Mon Mar 01, 2004 9:50 pm
Forum: newLISP in the real world
Topic: Enhancement in UDP for newlisp [ broadcast ]
Replies: 7
Views: 5503

followup from "Warning" in lisp general... Im testing here between win2000 and linux and between linux linux but nothing happens I think its between your Windows version where it could be enabled on one of them, on Win98 the setsockopt need the extra NULL at the end i think because win98 is slighty ...
by newdep
Mon Mar 01, 2004 9:49 pm
Forum: Anything else we might add?
Topic: WARNING!
Replies: 4
Views: 4743

--> Ill Continue under newlisp Linux topic
by newdep
Mon Mar 01, 2004 9:48 pm
Forum: newLISP in the real world
Topic: break?
Replies: 8
Views: 5564

Hello Lutz, Im not a great C programmer but the following works overhere on Linux, there must be a return from signal and its in a while loop... I think you need to have a look at ioctl also, because you use the readline library im not sure if ioctl is needed to control console io that way...But tha...
by newdep
Mon Mar 01, 2004 9:11 pm
Forum: newLISP in the real world
Topic: break?
Replies: 8
Views: 5564

break?

Hello Lutz,

Sorry for all the stormy postings ;-)

How can I break inside the console an event without exiting newlisp?
(ctrl-C drops me out 100%, a signal handler could catch it...)

Norman.
by newdep
Mon Mar 01, 2004 9:08 pm
Forum: newLISP in the real world
Topic: background event?
Replies: 1
Views: 2398

background event?

Hello Lutz, Does newlisp have a way to background events in console mode? (i do not meen backgrounding with "&") I would like to have a function running in the background while working on the same console, for global functions that do console IO it would be nice to have a 'MAIN:event where you could...
by newdep
Mon Mar 01, 2004 9:02 pm
Forum: Anything else we might add?
Topic: WARNING!
Replies: 4
Views: 4743

Hello Lutz,

Does not work here, are you sure you did not enable sockopt befor?
Or are you using Win2000 ? I know that some versions of windows
have broadcast on by default...

Norman.
by newdep
Mon Mar 01, 2004 8:16 pm
Forum: Anything else we might add?
Topic: WARNING!
Replies: 4
Views: 4743

WARNING!

FYI

Hello Lutz,

There seems to be a backdoor/flaw in the registration of phpbb during registration, where people can post under other user-names!
The workaround is to manual verify all new subscribers..
I just read this in a different forum.

Norman.
by newdep
Mon Mar 01, 2004 7:16 pm
Forum: So, what can you actually DO with newLISP?
Topic: 5 Cent tip for today [ update? ]
Replies: 2
Views: 3819

5 Cent tip for today [ update? ]

Latest and updated version to grab the latest newlisp development release..

http://www.nodep.nl/downloads/newlisp/update.lsp

Regards, Norman.
by newdep
Mon Mar 01, 2004 6:33 pm
Forum: newLISP in the real world
Topic: 5 Cents tip for today [ help ]
Replies: 2
Views: 3147

One disadvantage of the (help) is that the special functions like <>!@# must
be converted to html, so the (help <)..etc will fail for now...

Norman.
by newdep
Mon Mar 01, 2004 6:11 pm
Forum: newLISP in the real world
Topic: 5 Cents tip for today [ help ]
Replies: 2
Views: 3147

* tuned version, caused by good defined html help page ;-) * i.e. (help map) or (help net-accept) ;; loads the manual for unix ;; usage: (help function) (if (< (last (sys-info)) 5) (begin (define-macro (help _func) (! (string (append "/usr/local/bin/links /usr/share/doc/newlisp/newlisp_manual.html#"...
by newdep
Mon Mar 01, 2004 5:05 pm
Forum: newLISP in the real world
Topic: Enhancement in UDP for newlisp [ broadcast ]
Replies: 7
Views: 5503

Hello Lutz,

A little tip on the (net-listen 1234 "192.168.0.5")

Could you perhpas turn it around like: (net-listen "192.168.168.1" 1234) ?

Ill see My other machine are up and running for newlisp, i could test
the code for you, no problem.

Norman.
by newdep
Mon Mar 01, 2004 5:03 pm
Forum: Anything else we might add?
Topic: Quine
Replies: 15
Views: 10084

Yes your right about "self printing code" still i think the (lambda (x)) beats it all ;-) That an advantage .. Its short but good enough to brighten the thoughts on newlisp ;-)

Norman.
by newdep
Mon Mar 01, 2004 5:00 pm
Forum: newLISP in the real world
Topic: Enhancement in UDP for newlisp [ broadcast ]
Replies: 7
Views: 5503

Hello Lutz, for the setsockopt i use this, setsockopt(mysocket, SOL_SOCKET, SO_BROADCAST, 1) The optlen is optional and will be NULL when not provided using setsockopt automaticly, for getsockopt i though it returns the Buffer lenght from optvalue. The option optval it is indeed Non-Zero (1) to enab...
by newdep
Mon Mar 01, 2004 4:03 pm
Forum: newLISP in the real world
Topic: Enhancement in UDP for newlisp [ broadcast ]
Replies: 7
Views: 5503

Hello Lutz,

Add-on, for the use of broadcast it should be able to be enabled on both
sending and receiving on udp.. Would be great to have it...

Regards, Norman.
by newdep
Mon Mar 01, 2004 2:25 pm
Forum: Anything else we might add?
Topic: Quine
Replies: 15
Views: 10084

:-)
by newdep
Mon Mar 01, 2004 2:23 pm
Forum: newLISP in the real world
Topic: Contexts
Replies: 4
Views: 3777

Thank you for the tips, because i was just looking for way on how to
get ALL the variables displayed in a context and i did not expect (symbols) to work on context too ;-) nice nice...

Norman.
by newdep
Mon Mar 01, 2004 12:13 pm
Forum: newLISP in the real world
Topic: Contexts
Replies: 4
Views: 3777

Hello HPW,

Aaaa Thanks !!! Ill have a look in the code...
Nifty function btw.. ;-)

Norman.
by newdep
Mon Mar 01, 2004 9:19 am
Forum: newLISP in the real world
Topic: Contexts
Replies: 4
Views: 3777

Contexts

Hello Lutz,

How can i display all generated namespaces under newlisp? For the GUI-TK version you have this seperated window which contains all known Contexts, in the console mode a function like (contexts) would be very nice to have..

> (contexts)
( MAIN a PERSONS testing )


Regards, Norman.
by newdep
Sat Feb 28, 2004 11:12 pm
Forum: So, what can you actually DO with newLISP?
Topic: 5 Cent tip for today [ TCP Port Forwarder ]
Replies: 2
Views: 3640

Addon, with some accesslisting on the portscanner with predefined ip addresses the portforwarder will have some basic security for access. Still very easy to port my programs towards newlisp, the portforwarder was done in a few minutes, which indirectly implies that newlisp is quicky to learn and ea...
by newdep
Sat Feb 28, 2004 11:07 pm
Forum: Anything else we might add?
Topic: Quine
Replies: 15
Views: 10084

Quine

Im intrested in a "Quine" in NewLisp ;-) anyone already had his head taken off
constructing one?

Dont peek at http://www.nyx.net/~gthompso/self_lisp.txt :-)

Norman.
by newdep
Sat Feb 28, 2004 3:30 pm
Forum: So, what can you actually DO with newLISP?
Topic: 5 Cents tip for today [ Portscanner ]
Replies: 3
Views: 4364

Correction

** correct version ** ;; Quick and dirty portscanner on tcp ;; because there is no timeout regulation for remote portsscan is could ;; take ages ;; to return nil or true, the timeout depends on the remote tcp socket ;; behaviour. ;; (define (scan host startport endport ) (set 'cnt startport ) (print...
by newdep
Sat Feb 28, 2004 3:11 pm
Forum: So, what can you actually DO with newLISP?
Topic: 5 Cents tip for today [ Portscanner ]
Replies: 3
Views: 4364

Hello Lutz,

A nice, yes please use it as an example or tip,
just put my first name with it ;-) I have too many hits on my last name ;-)

Enjoy the examples...

Norman..
by newdep
Sat Feb 28, 2004 3:09 pm
Forum: So, what can you actually DO with newLISP?
Topic: 5 Cent tip for today [ TCP Port Forwarder ]
Replies: 2
Views: 3640

5 Cent tip for today [ TCP Port Forwarder ]

;; ;; Quick and Dirty Portforwarder TCP exmaple, no real error checking done. ;; connects one tcp port to the other, closed the listener port when client is ;; connected ;; ;; run the portforwarder, then connect with i.e. ssh localhost -p 2200 ;; and you will be forwarded internal towards the 22 ssh...
by newdep
Sat Feb 28, 2004 1:24 pm
Forum: So, what can you actually DO with newLISP?
Topic: 5 Cents tip for today [ Portscanner ]
Replies: 3
Views: 4364

5 Cents tip for today [ Portscanner ]

;; Quick and dirty portscanner on tcp ;; because there is no timeout regulation for remote portsscan ;; it could take ages to return nil or true ;; the timeout depends on the remote tcp socket behaviour. ;; (define (scan host startport endport ) (set 'cnt startport ) (until (> cnt endport) (println ...