Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
96 user(s) are online (84 user(s) are browsing Forums)

Members: 2
Guests: 94

MickJT, clint, more...

Support us!

Headlines

 
  Register To Post  

Which And Path Confusion (SOLVED)
Quite a regular
Quite a regular


See User information
How is this possible?
11.RAM Disk:> which python2.7 all
Other
:Dev/python/python-2.7/bin/python2.7
Other
:Dev/python/python-2.7/bin/python2.7
11.RAM Disk
:> dir APPDIR:
11.RAM Disk:> path
Current_directory
RAM Disk
:
Workbench:C
Workbench
:S/Shell
Workbench
:S/ARexx
Workbench
:System/Python/Scripts
Workbench
:Utilities
Workbench
:Utilities/Commodities
Workbench
:System
Workbench
:Prefs
Programs
:SDK/C
Programs
:SDK/gcc/bin
Programs
:SDK/local/C
Other
:C
Other
:S
Programs
:AmiCygnix/CygnixPPC/local/bin
Programs
:AmiCygnix/CygnixPPC/X11R6.3/bin
Programs
:AmiCygnix/CygnixPPC/gtk2.24/bin
Programs
:AmiCygnix/CygnixPPC/bin
C
:
11.RAM Disk:>


How does the system know where Python2.7 is if it is not even on the PATH.

I deleted everything form that awful APPDIR: feature as you can see.


Edited by rjd324 on 2023/6/11 22:38:55
Edited by rjd324 on 2023/6/15 9:47:11
If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Which And Path Confusion
Just popping in
Just popping in


See User information
@rjd324

Perhaps C: is multi-assigned, with the path to Python being one of the assignments? Try "Assign" by itself to see what the assignments are.

Go to top
Re: Which And Path Confusion
Quite a regular
Quite a regular


See User information
Volumes (4) :
Other [Mounted]
Programs [Mounted]
RAM Disk [Mounted]
Workbench [Mounted]

Directories (39) :
aiostreams         Programs:aiostreams
AMISSL             
<DEVS:AmiSSL>
bin                Programs:SDK/local/C
                 
Programs:SDK/C
CLASSES            Workbench
:Classes
CLIPS              RAM Disk
:Clipboards
Cygnix             Programs
:AmiCygnix
DEVS               Workbench
:Devs
ENVARC             Workbench
:Prefs/Env-Archive
etc                Programs
:SDK/POSIX/etc
FONTS              Workbench
:Fonts
GCC                Programs
:SDK/gcc
GHOSTSCRIPT        
<SYS:Utilities/GhostScript>
HELP               Workbench:Locale/Help
                 
Workbench:MUI/Docs
HOME               Programs
:AmiCygnix/Home/root
KEYMAPS            Workbench
:Devs/KeyMaps
L                  Workbench
:L
LIB                Programs
:SDK/gcc/lib
LIBS               Workbench
:Libs
                 
Workbench:MUI/Libs
LOCALE             Workbench
:Locale
                 
Workbench:MUI/Locale
MUI                Workbench
:MUI
MultiEdit          Workbench
:Utilities/MultiEdit
MultiViewer        Workbench
:Utilities/MultiViewer
PRINTERS           Workbench
:Devs/Printers
PYTHON             Workbench
:System/Python
REXX               Workbench
:S/ARexx
S                  Workbench
:S
SAMBA              Programs
:Samba
SDK                Programs
:SDK
SOBJS              
[sys:SObjs]
subversion         Other:S/subversion
SYS                Workbench
:
T                  RAM Disk:T
tbimages           Workbench
:Prefs/Presets/tbimages
TMP                RAM Disk
:T
usr                Programs
:SDK/POSIX/usr
var                Programs:SDK/POSIX/var
vbcc               Programs:SDK/vbcc
vincludeos4        Programs
:SDK/vbcc/targets/ppc-amigaos/include
                 + 
Programs:SDK/Include/include_h
vlibos4            Programs
:SDK/vbcc/targets/ppc-amigaos/lib

Devices 
(24) :
APPDIR AUDIO AUX AUX1 CON 
DH0 DH1 DH2 ENV ICD0 
ICD1 IDF0 IDF1 PAR PIPE 
PRT RAM RANDOM RAW SER 
SER1 TCP TEXTCLIP URL


Nothing points to it.

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Which And Path Confusion
Quite a regular
Quite a regular


See User information
I also see: https://wiki.amigaos.net/wiki/AmigaOS_ ... _Command_Reference#ASSIGN

1. Question wrt. multiple assign
Here is some test:
cd RAM:
makedir FOLDER1
makedir FOLDER2
echo "" FOLDER1/FILE1
echo "" FOLDER2/FILE2
ASSIGN TESTER
RAM:FOLDER1 RAM:FOLDER2
DIR TESTER
:

Then:
dir TESTER:

This only shows FILE1.
The WIKI says:
is a multiple-directory assignment that creates a search path containing two Libs directories

I guess DIR / LIST only take the "primary" assigned directory and do not honour the "search path"?
FILE TESTER:FILE1
FILE TESTER
:FILE2

Both execute fine.

2. Question wrt. output of ASSIGN with <> (Found Anwser: actually, it is demonstrated in the WIKI. Late Versus Non-Binding. Ignore until question 3)
GHOSTSCRIPT        <SYS:Utilities/GhostScript>

I cannot see an explanation in the WIKI of what <> means. [] is explained, but not <>.

3. Question (Found Answer: I had a link to it in C:)
If someone can help also answer my confusion in the previous comment as to why "Python2.7" is still successfully being sought, that would be nice since this is kind of a hindrance to me.

Regards.


Edited by rjd324 on 2023/6/14 1:23:45
Edited by rjd324 on 2023/6/14 1:25:13
If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top
Re: Which And Path Confusion
Just popping in
Just popping in


See User information
@rjd324

Looks like you've found the reason, which was indeed a multi-assign to C:. Curiously, 'C:' isn't present in the Assign list you posted, which makes it hard to see the problem.

Go to top
Re: Which And Path Confusion
Just popping in
Just popping in


See User information
Speaking of confusion: Does anyone else get a blank page after clicking the 'Reply' button below post #4 in this topic? (If you do, the browser's 'Back' button will get you back to the topic page.)

I notice that post #4 has a matched '<' and '>' in it, just like the post I was trying to compose over in the "current situation with printing" topic that caused blank pages when previewed. Something weird seems to be going on with the forum software when those two characters are present in a post.

Go to top
Re: Which And Path Confusion (SOLVED)
Just popping in
Just popping in


See User information
@rjd324Quote:
rjd324 wrote:How is this possible?
How does the system know where Python2.7 is if it is not even on the PATH.
I deleted everything form that awful APPDIR: feature as you can see.


The question I have is why do you even have APPDIR mounted if it's so awful ?

Just move the icon from DEVS/Dosdrivers to STORAGE/DosDrivers and
the awfull thing goes away, and I don't have to listen to your pointless whining anymore.

Go to top
Re: Which And Path Confusion (SOLVED)
Quite a regular
Quite a regular


See User information
@colinw

Thanks for the suggestion

If liberty means anything at all, it means the right to tell people what they do not want to hear.
George Orwell.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project