Thread View: mod.computers.apollo
1 messages
1 total messages
Started by Nathaniel Mishkin
Mon, 03 Mar 1986 14:45
Re: DM commands CV and RO
Author: Nathaniel Mishkin
Date: Mon, 03 Mar 1986 14:45
Date: Mon, 03 Mar 1986 14:45
27 lines
1731 bytes
1731 bytes
We just switched to 4.2BSD. The "inlib" command, when executed from
within csh, doesn't seem to load the mentioned library (the las doesn't
contain the library name). Is there a fix for this?
"inlib" is a built-in shell (/bin/csh, /bin/sh, /com/sh) command that
causes a library to be dynamically loaded into the address space of the
shell that executes the command. The reason you're having a problem
is because the csh invokes commands (e.g. las, and any other non-builtin)
by vforking a new process and then exec'ing the command. The exec
operation causes the contents of the "copied" address space -- including
the thing you inlib'd -- to be wiped out.
You can:
set inprocess
if you want the csh to do its command invocations in the same process
and then the inlib'd library will be available to commands you invoke.
However, then job control (which, of course, depends on the command you
run being in a separate process) won't work.
-- Nat Mishkin
Apollo Computer
apollo!mishkin
-------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads