Search found 14 matches

by Darth.Severus
Sun Aug 23, 2015 1:51 pm
Forum: So, what can you actually DO with newLISP?
Topic: NEWT C interface module
Replies: 3
Views: 9681

Re: NEWT C interface module

First, many thanks for your work an sharing your code. I changed the code of your module to be more flexible. It finds the right name of the installed version of libnewt.so and uses this one. I think, this is somehow like the use of libraries should be implemented in such modules. (context 'Newt) (d...
by Darth.Severus
Sun Aug 23, 2015 12:34 pm
Forum: newLISP in the real world
Topic: Strange problem with dolist
Replies: 13
Views: 9677

Strange problem with dolist

In a script I run: (read-file <path>) and (parse str "/n") to get a list with the content of a file parsed in lines into the symbol input-list. Then I run following code: (dolist (temp input-list) (when (not (or (starts-with temp "#") (starts-with temp "\t"))) (setq temp (replace " " temp " "))...
by Darth.Severus
Sun Apr 14, 2013 11:17 pm
Forum: newLISP in the real world
Topic: Geany editor newLISP definition file
Replies: 4
Views: 3230

Re: Geany editor newLISP definition file

Thanks for all these infos, but here is one more thing: I took the keywords from (symbols), but the ^ sign should not be in the keyword list, or everything will be highlighted. Other thing: I have run_cmd=newlisp "%f" in my file, but when I click to execute a window appears only for a moment. Removi...
by Darth.Severus
Wed Apr 10, 2013 2:29 pm
Forum: newLISP in the real world
Topic: man pages for newLisp
Replies: 0
Views: 2603

man pages for newLisp

I while ago I wondered, why there are no manpages for newLisp functions like for programms in Linux. Cause I thought this would really be helpful, I created them on my own. Ripped the descriptions from the manual and created a context with the name 'man'. I added a line to newlisp console, so that i...
by Darth.Severus
Fri Mar 29, 2013 2:31 am
Forum: newLISP in the real world
Topic: get-url -> ERR: HTTP document empty
Replies: 2
Views: 1921

Re: get-url -> ERR: HTTP document empty

Ahhh, my usual error, thinking complex instead of doing the nearest thing. I always tried it with the same website... -> facepalm. However, it works now. I'm using the dump option of w3m browser to save the sites to my disc before I process them. (eval-string (string {(exec "w3m } url { -dump_source...
by Darth.Severus
Tue Mar 26, 2013 10:52 pm
Forum: newLISP in the real world
Topic: get-url -> ERR: HTTP document empty
Replies: 2
Views: 1921

get-url -> ERR: HTTP document empty

I'm using some code in a program, to get the links of a website incl. subpages. But it's not working, I often get "ERR: HTTP document empty". I puted a until loop into the code, so that it tries it several times, always after some minutes. My fist thougth was, I'm blocked by the server, but this see...
by Darth.Severus
Tue Oct 30, 2012 9:29 am
Forum: newLISP in the real world
Topic: newLISP on Rockets
Replies: 20
Views: 12137

Re: newLISP on Rockets

Isn't http://www.rundragonfly.com a good starting point to learn Dragonfly? Greg and I wrote a lot documentation to get used to the simple development cycle when using Dragonfly. What's missing? Sorry for my late answer, I was distracted by other problems. I'm realy happy and thankfull that rundrag...
by Darth.Severus
Sat Oct 27, 2012 1:55 am
Forum: newLISP in the real world
Topic: newLISP on Rockets
Replies: 20
Views: 12137

Re: newLISP on Rockets

Oh, I just started to learn how dragonfly works, as a complete beginner in webdesign. I started this wiki dragonfly-newlisp.wikidot.com , and planned to announce it soon. This newLisp on Rockets project seems to be interesting to me, cause there may be more interessting discussions about how all tha...
by Darth.Severus
Fri Oct 19, 2012 5:22 am
Forum: newLISP in the real world
Topic: (append-file symbol symbol) not working?
Replies: 2
Views: 1582

Re: (append-file symbol symbol) not working?

I tried something with eval-string cause: ;; cause (append-file aktuell content) isn't working. It was ment this way: (eval-string (string {(append-file aktuell content)} )) aktuell is the path and content is the symbol with the content from (setq content (read-file contentname)) I thought append-fi...
by Darth.Severus
Thu Oct 18, 2012 6:34 am
Forum: newLISP in the real world
Topic: (append-file symbol symbol) not working?
Replies: 2
Views: 1582

(append-file symbol symbol) not working?

I'm writing a script which takes additional code for the content container from txt files and creates html sites with different content. Now I have a problem. Stuff like this works: (append-file aktuell {<div id="center" style="background-color:#EEEEEE;height:800px;width:420px;font-size:0.875em;floa...
by Darth.Severus
Mon Oct 08, 2012 6:13 am
Forum: newLISP in the real world
Topic: Make .lsp files executable by click
Replies: 3
Views: 1953

Re: Make .lsp files executable by click

Sorry, I was just confused cause I thought the line
newLISP v.10.3.4 on Linux IPv4/6 UTF-8, execute 'newlisp -h' for more info.
has to appear first, cause a was working with the shell the last days, but this line appears at the end of the program. It works fine, let's forget this fast :D ...
by Darth.Severus
Sun Oct 07, 2012 1:44 am
Forum: newLISP in the real world
Topic: Make .lsp files executable by click
Replies: 3
Views: 1953

Re: Make .lsp files executable by click

It opens and closes it right away.
by Darth.Severus
Sat Oct 06, 2012 3:19 am
Forum: newLISP in the real world
Topic: Make .lsp files executable by click
Replies: 3
Views: 1953

Make .lsp files executable by click

Hi, I want to have .lsp files to be executable by click, like in windows. Without making a real executable out of it by using link.lsp. I'm using roxterm and Antix-Linux (Debian/Mepis) and I am realativly new to linux. I'm using roxterm -e newlisp "$@ as "set run action". My problem now is that it p...
by Darth.Severus
Fri Sep 28, 2012 4:00 am
Forum: newLISP newS
Topic: Forums registration not working?
Replies: 3
Views: 4899

Re: Forums registration not working?

I got my mail now. Thanks.