Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!ucbvax!hplabs!hp-pcd!hplsla!andyc From: andyc@hplsla.HP.COM (Andy Cassino) Newsgroups: comp.sys.atari.st Subject: Re: GNU-Emacs 18.51 for Atari ST (TOS), suspending Emacs Message-ID: <5440044@hplsla.HP.COM> Date: 3 Aug 89 19:29:41 GMT References: <819@sbsvax.UUCP> Organization: HP Lake Stevens, WA Lines: 45 roeder@sbsvax.UUCP (Edgar Roeder) writes, with regard to suspending gnuemacs: | |I have tried this feature with my shell (it is Master 5.6) and everything |worked fine. I am calling the shell via _shell_p (at $4F6) with an empty string |as parameter for gulam if it's magic number can be found. Before this the string |"Program stopped!!!" is written to stderr (handle 2). The call is done in user |mode of the 68000 and the available stack at this point is about 8 kB. If |meta-flag is non-nil the conterm variable is configured to return the Shift-key |status when doing tos-i/o. Emacs does no unusual things beside that. | |!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |!!! I would like to hear about experiences of users that have other shells !!! |!!! which use the _shell_p vector as entry to the commandline-interpreter. !!! |!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |Those shells are called with "-i" as single argument to the routine pointed |to by _shell_p. | |Have you tried '(call-process "ls" nil t nil)' from the scratch-buffer |(or after ESC-ESC) ??? | Well, the details of the implementation are above my head, I haven't been programming the ST very long! Is there something specific I need to set in the shell environment to get this to play? I do get the "Program stopped!!!" message, BTW. I tried C-z from Mark Williams MSH and got a different result. I got "Program stopped!!!" in the mini-buffer, but emacs did not stop. No bombs in MSH, though! Hmm, I need to try call-process. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Andy Cassino % % uucp: hplabs!hplsla!andyc domain: andyc%hplsla@hplabs.hp.com % % Hewlett-Packard Lake Stevens Instrument Division % % 8600 Soper Hill Road Everett, WA 98205-1298 % % (206) 335-2211 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%