Re: scm_shell in C-Thread - Quit vs. Terminal Corruption

2009-10-18 Thread kai . selgrad
Hej Neil. On 16:05 Sun 18 Oct , Neil Jerram wrote: > Calling scm_shell() with no args means just that that thread will run > `(top-repl)' - whose definition you can see in boot-9.scm. In other > words you could say that the default args are like `-c (top-repl)'. > > `(quit)' means (throw 'qu

Re: scm_shell in C-Thread - Quit vs. Terminal Corruption

2009-10-17 Thread kai . selgrad
Hej linas, thanks for your reply. > > application and guile). When I enter > >        (quit) > > in the terminal scm_shell calls exit(), which does not care much for my > > application cleanup. > wouldn't atexit() solve this problem? Yes, you're right. atexit() would solve this problem. Didn't re