Re: How to escape from debugger loop if *STANDARD-INPUT* is redirected?
Christopher Wicklein <[email protected]> Fri, 14 Feb 2025 08:36:30 -0600
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CA+dNuZnnqjJ7rh=7aXyHtdXMzoDib78YncgsFnsCtTmG6G7t0A@mail.gmail.com> |
On Fri, Feb 14, 2025 at 04:29 Josef Wolf <[email protected]> wrote: > Hello folks, > > I ave written a clean/smudge filter for git. This works by redirecting > *STANDARD-INPUT* to a pipe into which git feeds the contents of the blob. > > When I interrup such a (long-running) git operation, SCBL throws me into > the > debugger. But there is no way to interact with the debugger from th > terminal > since *STANDARD-INPUT* is redirected to a pipe (which is now dead, since > git > died). Josef, It’s not clear to me whether you’re asking how to avoid SBCL ending up in the debugger or how to interact with the debugger if it does. Another response addressed the former. If you’re asking about the latter and already long a UNIX-like environment, you might have your Lisp program read from a file where that file happens to be a named pipe being fed the output of Git. For an example involving a named pipe and clean up, see perhaps https://www.linuxjournal.com/content/using-named-pipes-fifos-bash . Christopher Wicklein <[email protected]> _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help