#ParentDir from CLI
06-Jan-87 00:26:08
Sb: #47033-#ParentDir from CLI
Fm: Charlie Heath 74216,2117
To: Larry Phillips/ICUG 74025,636
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
The currentdir stuff is in the process structure – You do a
FindTask(0) to get the process address base; then do er make that get the
"pr_CLIStruct" pointer from the process base. Shift twice; stir well. Then
the current directory is in cli_SetName indexed from the BCPL pointer
pr_CLIStruct. It is a BSTR, which means shift twice before using; then the
length of the string is in the first byte, with the data following.
…cheath ( That's in the ADOS Tech Ref manual on page 3-2 )