home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0030.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  2.0 KB  |  65 lines

  1.  
  2. New features:
  3.  1) tilde-expansion:  franz will now expand filenames which begin with ~
  4.     just like csh does.  It will only do the expansion if
  5.     the symbol tilde-expansion has a non-nil value.  The default
  6.     value for tilde-expansion is t.
  7.     These functions do tilde expansion: If I've left any out, let
  8.     me know:
  9.      load, fasl, infile, outfile, fileopen, probef, cfasl, ffasl, chdir
  10.      sys:access, sys:unlink [these are new functions, see below]
  11.  
  12.  2) liszt will remove its temporary file if given a SIGTERM signal
  13.     (SIGTERM is sent by default when you give the kill command from the shell)
  14.  
  15.  3) load will now print a helpful message if an read error occurs when it
  16.     is reading a file.
  17.     
  18.  4) new functions:
  19.  
  20.      (lexpr-funcall 'function 'arg1 ... 'argn)
  21.         This is a cross between funcall and apply.
  22.     The last argument, argn, must be a list (possibly empty).
  23.     The element of list argn are stacked and then the function is
  24.     funcalled.
  25.     For example:
  26.     (lexpr-funcall 'list 'a 'b 'c '(d e f))
  27.     is the same as
  28.     (funcall 'list 'a 'b 'c 'd 'e 'f)
  29.     
  30.     Also
  31.     (lexpr-funcall 'list 'a 'b 'c nil)
  32.     is the same as
  33.     (funcall 'list 'a 'b 'c)
  34.      
  35.      (tilde-expand 'st_filename)
  36.      returns: symbol whose pname is the filename, with a leading tilde
  37.               expanded.  if st_filename doesn't begin with a tilde, it
  38.          just returns st_filename
  39.  
  40.      (username-to-dir 'st_name)
  41.      returns: the home directory of the given user, if that user exists.
  42.                Saves old information so doesn't have to keep searching
  43.           the passwd file.
  44.  
  45.      Some low level system functions.  These are listed here for completeness.
  46.      The perform a function from the unix library (see the unix manual
  47.       for details).
  48.      (sys:getpwnam 'st_username)
  49.        return passwd file info.
  50.      (sys:access 'st_file 'x_mode)
  51.      (sys:unlink 'st_file)
  52.  
  53.  
  54. Bug fixes:
  55.   1) patom will handle prinlevel and prinlength correctly.
  56.   2) it is now safe for an interpreted function to redefine itself.
  57.   3) the information return by 'evalframe' about a funcall'ed function
  58.      is now correct.
  59.  
  60.   
  61.   
  62.  
  63.  
  64.  
  65.