In 19.0 on non-Windows platforms we currently look in the following directories for startup files (eg Run.aplf)
/opt/mdyalog/19.0/64/unicode
/home/andys/dyalog.files
/home/andys/dyalog.190U64.files
However, we are actually putting Tatin and Cider in /home/andys/.dyalog/dyalog.190U64.files.
While we think about all of this for 20.0, the immediate problem is to allow Cider to work in 19.0 on non-Windows platforms. My suggestion is to simply add /home/andys/.dyalog/dyalog.190U64.files to the list of directories to be searched. The following seems to work:
:If 0∊≢¨envVars
defaults←{
verSpec←{
⍵:NoSlash 2⊃4070⌶⍬ ⍝ win only: version specific folder in user docs folder
num←∊2↑'.'Cut ver
uc←'UC'/⍨80 82=⎕DR'' ⍝ unicode/classic
bits←¯2↑'32',{⍵↓⍨⍵⍳'-'}os
home,'/dyalog.',num,uc,bits,'.files'
}⍵
user←⊃⎕NPARTS verSpec ⍝ /../
verAgno←user,'dyalog.files' 'Dyalog APL Files'⊃⍨1+⍵
∊¨1 ⎕NPARTS dyalog verAgno verSpec ⍝ normalise
}win
:EndIf
:If 0∊≢¨envVars
defaults←{
verSpec←{
⍵:NoSlash 2⊃4070⌶⍬ ⍝ win only: version specific folder in user docs folder
num←∊2↑'.'Cut ver
uc←'UC'/⍨80 82=⎕DR'' ⍝ unicode/classic
bits←¯2↑'32',{⍵↓⍨⍵⍳'-'}os
∊¨(,\home '/.dyalog'),¨⊂'/dyalog.',num,uc,bits,'.files'
}⍵
user←⊃⊃⎕NPARTS verSpec ⍝ /../
verAgno←∊¨(,\user '.dyalog/'),¨⊂'dyalog.files' 'Dyalog APL Files'⊃⍨1+⍵
∊¨1 ⎕NPARTS (⊂dyalog),verAgno,verSpec ⍝ normalise
}win
:EndIf