axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Re: Bug#346552: naive methods of exiting axiom can


From: root
Subject: Re: [Axiom-developer] Re: Bug#346552: naive methods of exiting axiom can blow up catastrophically
Date: Fri, 27 Oct 2006 11:29:11 -0400

> Greetings, and thanks!
> 
> Can anyone see what this might suggest in the sman code?
> 
> Take care,
> 
> Waldek Hebisch <address@hidden> writes:
> 
> > root wrote:
> > > Camm,
> > > 
> > > Architecturally there is a process called sman which starts up
> > > other processes including axiomsys, which is a saved GCL image.
> > > sman handles the terminal. by default a special terminal handler
> > > called 'clef' (command line edit function) which is our own version
> > > of readline-like handling is started.
> > > 
> > > try starting axiom with
> > > 
> > >   axiom -noclef
> > > 
> > > and see if the problem still happens.
> > > 
> > 
> > Reproducible (using build-improvements) both with and without clef.
> > When AXIOMsys is run directly ^D exits it. When AXIOMsys is run via
> > clef ^D\n exits it.  With sman present Axiom crashes.

Apparently the ptys are opened in raw mode and do not interpret the
control characters but pass them down the pipe to AXIOMsys. However
the (read) from axiom simply gets the cntrl-D and tries to parse it.

I'm not really sure how this should be handled. Clearly you don't
want sman to open up a pty that interprets control characters.
Nor do you want lisp's (read) to interpret control characters.

Which raises the question.... why are you trying to pass cntrl-D
and what do you expect to happen? And why do you expect this?

t




reply via email to

[Prev in Thread] Current Thread [Next in Thread]