Look like it's cd-command in top-level.lisp. It modifies *default-pathname-defaults*. Ditto asdf::chdir.
For java you can do
(#"setProperty" 'system "user.dir" new-directory)
and to retrieve it
(#"getCanonicalPath" (jss::new 'java.io.File "."))

Alan

On Fri, Jun 7, 2019 at 5:06 AM Marco Antoniotti <marco.antoniotti@unimib.it> wrote:
Thanks Elliott, but no.

These are REPL conveniences.  How is the “cd” command implemented?

I know I should dig in the ABCL code, but I am one of the laziest lispers around :) :) :)

All the best

Marco







> On Jun 6, 2019, at 04:28 , Elliott, Clark <elliott@depaul.edu> wrote:
>
> Hi Marco,

> I’m not sure if this is what you are looking for, but it took me a long time to find these interactive commands:

> CL-USER(6): :help

>   COMMAND     ABBR DESCRIPTION
>   apropos     ap   apropos
>   bt               backtrace n stack frames (default 8)
>   cd               change default directory
>   cf               compile file(s)
>   cload       cl   compile and load file(s)
>   continue    cont invoke restart n
>   describe    de   describe an object
>   error       err  print the current error message
>   exit        ex   exit lisp
>   frame       fr   set the value of cl:* to be frame n (default 0)
>   help        he   print this help
>   inspect     in   inspect an object
>   istep       i    navigate within inspection of an object
>   ld               load a file
>   ls               list directory
>   macroexpand ma   macroexpand an expression
>   package     pa   change *PACKAGE*
>   pwd         pw   print current directory
>   reset       res  return to top level
>   rq               require a module
>   trace       tr   trace function(s)
>   untrace     untr untrace function(s)

> Commands must be prefixed by the command character, which is ':' by default.

> Best,

> Clark Elliott

--
Marco Antoniotti, Associate Professor           tel.            +39 - 02 64 48 79 01
DISCo, Università Milano Bicocca U14 2043                       http://bimib.disco.unimib.it
Viale Sarca 336
I-20126 Milan (MI) ITALY

Please check: http://cdac2019.lakecomoschool.org
Please check: http://troncopackage.org
Please check: https://www.frontiersin.org/research-topics/7394/network-bioscience

Please note that I am not checking my Spam-box anymore.
Please do not forward this email without asking me first (cum grano salis).