bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Workspace and wslib? search path


From: Leslie S Satenstein
Subject: Re: [Bug-apl] Workspace and wslib? search path
Date: Tue, 27 Jun 2017 02:30:38 +0000 (UTC)

If you are interested in how I organized my APL environment, see below. For my needs I have one organization that is quite portable. All my own libraries are within the ${HOME}/.gnu-apl

My desire was to have a single directory for my apl workspaces, preferences, keyboard layouts, etc.

I chose to create lib-0 as a directory within the .gnu-apl directory and similarly for the other libraries.
My own gnu-apl tarfile is attached. It can be "un-tared" (suggest you backup your own .gnu-apl directory first.

One tar file  gnu-apl.tar backs up all my own workspaces, parameter settings and with some trivial edit of the preferences file, can be moved to any computer. (I actually move it from desktop to laptop) and never worry about a forgotten workspace.

I attached a tar file with a renamed copy of my .gnu-apl directory.  There are no proprietary contents.
I include an explanation of it's organization below my signature.

Happy with the way you structured your APL environment, just delete this email and the attachment.
 
Regards

 Leslie
Leslie Satenstein
Montréal Québec, Canada


My home directory contents for apl   ls -l .gnu-apl
-rw-rw-r--. 1 leslie leslie    46 Jun 19 04:52 gnu-apl.d.tar                # backup to the  gnu-apl.d
-rw-r--r--. 1 leslie leslie  2216 Jun 19 04:52 keyboard1.txt               #pc104 American keyboard
-rw-rw-r--. 1 leslie leslie  2270 Jun 19 04:52 keyboard2.txt             #pc105 International (American/British) keyboard layout
drwxrwxr-x. 2 leslie leslie  4096 Jun 19 04:52 lib0                            #the home directory within the .gnu-apl
drwxrwxr-x. 2 leslie leslie  4096 Jun 19 04:52 lib1                            #the lib1 directory within the .gnu-apl  
drwxrwxr-x. 2 leslie leslie  4096 Jun 19 04:52 lib2                            #the lib2  directory within the .gnu-apl
lrwxrwxrwx. 1 leslie leslie    25 Jun 19 04:52 lib3 -> /usr/local/lib/apl/wslib3           #distributed lib3 note the symbolic link ->
lrwxrwxrwx. 1 leslie leslie    25 Jun 19 04:52 lib4 -> /usr/local/lib/apl/wslib4           # ditto
lrwxrwxrwx. 1 leslie leslie    25 Jun 19 04:52 lib5 -> /usr/local/lib/apl/wslib5           # ditto
lrwxrwxrwx. 1 leslie leslie    25 Jun 19 04:52 lib6 -> /usr/local/lib/apl/wslib6           #ditto
lrwxrwxrwx. 1 leslie leslie    25 Jun 19 04:52 lib7 -> /usr/local/lib/apl/wslib7           ditto
lrwxrwxrwx. 1 leslie leslie    25 Jun 19 04:52 lib8 -> /usr/local/lib/apl/wslib8            ditto
lrwxrwxrwx. 1 leslie leslie    25 Jun 19 04:52 lib9 -> /usr/local/lib/apl/wslib9            ditto 
-rw-r--r--. 1 leslie leslie  2414 Jun 19 04:52 parallel_thresholds                                 #.gnu-apl values
-rw-rw-r--. 1 leslie leslie  5344 Jun 19 04:52 preferences                                            
-rw-rw-r--. 1 leslie leslie 24195 Jun 19 04:52 README-9-Post_Installation
-rw-rw-r--. 1 leslie leslie    19 Jun 19 04:52 zzLastBkup

Within my own "preference file/ located within the .gnu-apl, it contains in part...
#
  LIBREF-0 /home/leslie/.gnu-apl/lib0
  LIBREF-1 /home/leslie/.gnu-apl/lib1
# LIBREF-2 /group/abc/other-libs
########### system created ############
  LIBREF-3 lib3
  LIBREF-4 lib4
  LIBREF-5 lib5
######### end system created #########
# LIBREF-6 lib6
# LIBREF-7 lib7
# LIBREF-8 lib8
# LIBREF-9 lib9
#

READLINE_HISTORY_LEN  500
#READLINE_HISTORY_PATH .apl.history.txt
READLINE_HISTORY_PATH /home/leslie/.gnu-apl/lib0/apl.history.txt
#would have liked to have been able to do
#READLINE_HISTORY_PATH ${HOME}/.gnu-apl/lib0/apl.history.txt

############### end of appendix.




Attachment: gnu-apl.2017Jun19.0452.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]