cl-cookbook-contrib Mailing List for The Common Lisp Cookbook (Page 11)
Brought to you by:
jthing
You can subscribe to this list here.
2002 |
Jan
|
Feb
(1) |
Mar
(17) |
Apr
(27) |
May
(12) |
Jun
(14) |
Jul
(5) |
Aug
(14) |
Sep
(16) |
Oct
(14) |
Nov
(1) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
(1) |
Mar
(11) |
Apr
(3) |
May
(6) |
Jun
(3) |
Jul
(2) |
Aug
(3) |
Sep
(24) |
Oct
(27) |
Nov
(29) |
Dec
(14) |
2004 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(5) |
Aug
(2) |
Sep
(1) |
Oct
(8) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
(4) |
Apr
(2) |
May
|
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(2) |
Oct
|
Nov
(1) |
Dec
(2) |
2006 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(7) |
Nov
(1) |
Dec
|
2007 |
Jan
(6) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2008 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
From: <no...@so...> - 2002-06-07 06:31:04
|
Bugs item #546193, was opened at 2002-04-19 11:30 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=546193&group_id=46815 Category: None Group: None >Status: Open Resolution: Fixed Priority: 5 Submitted By: John Wiseman (jjwiseman) Assigned to: Alberto Riva (albertoriva) Summary: sockets example newline error Initial Comment: The sockets http example makes a common mistake by using read-line for reading lines and ~% to output newlines. HTTP lines are terminated by CR LF. ~% may output LF on a unix system, CR on a Mac, and CR LF in Windows. Similarly, read-line will consider a line to be terminated by diffrent characters or sequences of characters on different systems. ---------------------------------------------------------------------- >Comment By: John Wiseman (jjwiseman) Date: 2002-06-07 01:31 Message: Logged In: YES user_id=374464 The code still uses read-line to read HTTP requests, and uses #\Newline when sending HTTP requests. I think the most portable replacement for #\Return and #\Newline (which is actually a carriage return on Mac OS before 10, e.g.) is to use (code-char 13) and (code-char 10). I've attached code I've used to read telnet-style CRLF-terminated lines in several lisps, you might want to use something like this. (defun read-telnet-line (stream eof-error-p eof) "Read a CRLF-terminated line" (if (stream-eof-p stream) eof (let ((line (make-array 10 :element-type 'character :adjustable t :fill-pointer 0)) (char nil)) (do () ((or (eq eof (setq char (read-char stream eof-error-p eof))) (and (eql char *cr*) (eql (peek-char nil stream) *lf*))) (when (not (eq char eof)) (read-char stream)) (values line (null char))) (vector-push-extend char line))))) ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=546193&group_id=46815 |
From: Dr. E. W. <nh...@us...> - 2002-05-23 20:57:34
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Thu May 23 13:57:32 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv32182 Modified Files: CHANGELOG Log Message: added changes to sockets.html by Alberto |
From: Alberto R. <alb...@us...> - 2002-05-23 19:18:45
|
uid=81661(albertoriva) gid=100(users) groups=100(users),47815(cl-cookbook) Thu May 23 12:18:41 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv3208 Modified Files: sockets.html Log Message: several changes following john foderaro's comments. |
From: Alberto R. <alb...@us...> - 2002-05-23 18:08:05
|
uid=81661(albertoriva) gid=100(users) groups=100(users),47815(cl-cookbook) Thu May 23 11:02:29 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv11678 Modified Files: sockets.html Log Message: Changed HTTP example to use CR+LF as line terminators. |
From: Dr. E. W. <nh...@us...> - 2002-05-21 23:25:41
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 16:25:41 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv25812 Modified Files: CHANGELOG Log Message: footer changes |
From: Dr. E. W. <nh...@us...> - 2002-05-21 23:24:52
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 16:24:52 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv25535 Modified Files: dates_and_times.html ffi.html files.html functions.html hashes.html index.html io.html license.html os.html packages.html pattern_matching.html process.html sockets.html strings.html windows.html Log Message: replaced hhtm stuff with CVS header (footer) |
From: Dr. E. W. <nh...@us...> - 2002-05-21 23:19:12
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 16:19:11 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv23941 Modified Files: index.html Log Message: added link to files chapter |
From: Dr. E. W. <nh...@us...> - 2002-05-21 23:17:43
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 16:17:42 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv23598 Modified Files: CHANGELOG Log Message: files chapter and PRE tag |
From: Dr. E. W. <nh...@us...> - 2002-05-21 23:16:50
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 16:16:50 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv23259 Modified Files: dates_and_times.html ffi.html files.html functions.html hashes.html io.html license.html os.html packages.html process.html sockets.html strings.html Log Message: cosmetic changes to PRE tag |
From: Dr. E. W. <nh...@us...> - 2002-05-21 23:14:02
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 16:14:02 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv22526 Added Files: files.html Log Message: first version, more to come... |
From: Dr. E. W. <nh...@us...> - 2002-05-21 22:45:04
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 15:45:03 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv13871 Modified Files: CHANGELOG Log Message: string.html changes |
From: Dr. E. W. <nh...@us...> - 2002-05-21 22:43:47
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Tue May 21 15:43:46 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv13540 Modified Files: strings.html Log Message: added (string "Groucho Marx") etc. to get rid of the literal constants |
From: <no...@so...> - 2002-05-21 09:41:09
|
Bugs item #558600, was opened at 2002-05-21 11:41 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=558600&group_id=46815 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Reini Urban (rurban) Assigned to: Nobody/Anonymous (nobody) Summary: ilisp support for corman lisp Initial Comment: Corman Lisp support for ilisp 5.11 (release) works fine now. I didn't check it with ntemacs, only XEmacs (msvc and cygwin) Hint: Best is to load cl-ilisp.lisp, ilisp-pkg.lisp and cormanlisp.lisp into cormanlisp at first and save the image. (see make- ilisp-img.lisp) Copy makeilisp.bat and compile-ilisp.lisp to the corman directory, fix the ilisp path in compile-ilisp.lisp and run makeilisp.bat. I had to add some cygwin hacks for filename translation (similar to ange-ftp prefixes) for non-cygwin lisps and cygwin XEmacs or bash. ilisp-snd.el: (file-name-hack "/user@server:~/xx.lisp) => "~/xx.lisp" (file-name-hack "/cygdrive/r/xx.lisp") => "r:/xx.lisp" cl-ilisp.lisp: new ilisp-w32-fix-filenames ilisp-cl-easy-menu.el added a Debugger menu section for xemacs (easy-menu) ILISP Patches: http://xarch.tu- graz.ac.at/autocad/lisp/cormanlisp/ilisp-ccl-5.11.zip Required Cormanlisp patches: http://xarch.tu- graz.ac.at/autocad/lisp/cormanlisp/ccl-1.5-patches.zip -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=558600&group_id=46815 |
From: <no...@so...> - 2002-04-30 21:16:26
|
Bugs item #550786, was opened at 2002-04-30 14:16 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=550786&group_id=46815 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Unable to activate CLISP Initial Comment: I followed the instructions in the chapter titled "Setting up an IDE with Emacs on Windows." Everything seemed to go fine until I reached step 8 and attempted to "Start CLISP by pressing F5." This produces the following error: Starting clisp -ansi -I -q ... ILISP V5.11.1 Use M-x ilisp-bug for problems and suggestions. Bad command or file name^M I have no idea what this means. But I attempted to execute the next instruction anyway. It sates "use M-x ilisp-compile-inits." This results in the following error: Wrong type argument: processp, nil Can anyone help me out here? Thanks. Regards, Jeff Stephens ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=550786&group_id=46815 |
From: Dr. E. W. <nh...@us...> - 2002-04-25 21:26:05
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Thu Apr 25 14:26:03 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv21400 Modified Files: CHANGELOG Log Message: io.html change (hint by Marc Battyani) |
From: Dr. E. W. <nh...@us...> - 2002-04-25 21:24:39
|
uid=76419(nhabedi) gid=100(users) groups=100(users),47815(cl-cookbook) Thu Apr 25 14:24:37 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv20998 Modified Files: io.html Log Message: changed LW example |
From: Nick L. <nic...@us...> - 2002-04-25 09:51:24
|
uid=80851(nicklevine) gid=100(users) groups=100(users),47815(cl-cookbook) Thu Apr 25 02:51:22 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv6456/cl-cookbook Modified Files: CHANGELOG Log Message: Another null change, testing out my CVS |
From: Edi W. <ed...@ag...> - 2002-04-24 17:46:42
|
Nick Levine <nd...@ra...> writes: > Apologies for blank log message. I might try again (with some null > change) and see if I can get things working properly, before I > attempt anything for real. No problem. I'm glad that you're at it 'cause the cookbook has been a bit quiet in the last weeks. I, too, have some stuff that I want to add but I currently have to much other things to do to get it into a usable state. Cheers, Edi. |
From: Nick L. <nd...@ra...> - 2002-04-24 17:13:21
|
Apologies for blank log message. I might try again (with some null change) and see if I can get things working properly, before I attempt anything for real. - nick |
From: Nick L. <nic...@us...> - 2002-04-24 17:09:45
|
uid=80851(nicklevine) gid=100(users) groups=100(users),47815(cl-cookbook) Wed Apr 24 10:09:42 PDT 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv10010/cl-cookbook Modified Files: CHANGELOG index.html Log Message: |
From: Alberto R. <Alb...@TC...> - 2002-04-20 16:40:34
|
Lieven Marchand wrote: > > I usually work around this problem by using a MAKE-STREAM-CRLF-ENDED > function that is implemented by using MOP and Gray streams. This could > make an example for this kind of technique. In general, the cost of > network latency makes this efficient enough for clients Lieven, you're welcome to add an example of your technique to the page, or send it to me. My example was oversimplified since the page was already long enough. In real life, I've found that browsers have no problems accepting LF-terminated lines. In the other direction, I just strip the extra CR from the line returned by READ-LINE. I also have code (mostly provided by Franz for ACL 6) to support different line terminators using their own simple-streams. Maybe we could put the two solutions together in a new page about haw to deal with different encodings. Alberto -- Alberto Riva Children's Hospital Informatics Program |
From: Lieven M. <ma...@wy...> - 2002-04-20 12:31:00
|
no...@so... writes: > Bugs item #546193, was opened at 2002-04-19 11:30 > You can respond by visiting: > http://sourceforge.net/tracker/?func=detail&atid=447472&aid=546193&group_id=46815 > > Category: None > Group: None > Status: Open > Resolution: None > Priority: 5 > Submitted By: John Wiseman (jjwiseman) > Assigned to: Nobody/Anonymous (nobody) > Summary: sockets example newline error > > Initial Comment: > The sockets http example makes a common mistake by > using read-line for reading lines and ~% to output > newlines. > > HTTP lines are terminated by CR LF. ~% may output LF > on a unix system, CR on a Mac, and CR LF in Windows. > Similarly, read-line will consider a line to be > terminated by diffrent characters or sequences of > characters on different systems. I usually work around this problem by using a MAKE-STREAM-CRLF-ENDED function that is implemented by using MOP and Gray streams. This could make an example for this kind of technique. In general, the cost of network latency makes this efficient enough for clients -- Lieven Marchand <ma...@wy...> She says, "Honey, you're a Bastard of great proportion." He says, "Darling, I plead guilty to that sin." Cowboy Junkies -- A few simple words |
From: <no...@so...> - 2002-04-19 16:30:26
|
Bugs item #546193, was opened at 2002-04-19 11:30 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=546193&group_id=46815 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: John Wiseman (jjwiseman) Assigned to: Nobody/Anonymous (nobody) Summary: sockets example newline error Initial Comment: The sockets http example makes a common mistake by using read-line for reading lines and ~% to output newlines. HTTP lines are terminated by CR LF. ~% may output LF on a unix system, CR on a Mac, and CR LF in Windows. Similarly, read-line will consider a line to be terminated by diffrent characters or sequences of characters on different systems. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=447472&aid=546193&group_id=46815 |
From: Matthieu V. <mvi...@us...> - 2002-04-05 21:18:10
|
uid=80930(mvilleneuve) gid=100(users) groups=100(users),47815(cl-cookbook) Fri Apr 5 13:18:07 PST 2002 Update of /cvsroot/cl-cookbook/cl-cookbook In directory usw-pr-cvs1:/tmp/cvs-serv12945 Modified Files: dates_and_times.html ffi.html functions.html hashes.html io.html license.html os.html packages.html pattern_matching.html process.html sockets.html strings.html windows.html Log Message: Remove HTML tables, format function and variable names with CODE tags |
From: <ed...@ag...> - 2002-04-05 16:34:33
|
Frederic Brunel <br...@ma...> writes: > Ok, I think I could try! :) OK, done. You now have full access to the Sourceforge project. > > Yep, maybe that would be a good start. IIRC there are also some > > examples in the UFFI distribution. Maybe you can use these and > > explain what they're doing (after checking with Kevin Rosenberg if > > that's OK for him). > > I'll send a mail to him to take some advices! Good - looking forward to see something from you. Thanks in advance and have a nice weekend, Edi. -- Dr. Edmund Weitz Hamburg Germany The Common Lisp Cookbook <http://cl-cookbook.sourceforge.net/> |