apart from backspace. Is there some way of gaining this functionality (cursor movement, history, editing..) without using emacs?
the problem is that (in our modest opinion) it does not really make sense to put all this within the Ciao shell, when it is already done by the graphical environment (which, in our case, is the Ciao emacs mode). Also, the environment provides so many other things (coloring, menus, on-line help, etc.) that we just have to strongly recommend that you usue it: it really makes a huge difference in the usability. In return for you trying it we offer to answer all your emacs questions... :-) --Man
..grumble grumble grumble vi user grumble mutter ... Yes, it does sound like it is the better way to go. I'm going to try Manuel Carro's suggestion of using the shell inside emacs (M-x shell) as a prolog shell to get editing and history, but it does seem like a slippery slope ;^) I think that I'll stick to writing code in vi at the moment as I find it easier, and just use emacs as a wrapper for the shell. One question that does spring to mind straight away is how to use the debugger. I tried switching it on with trace / debug, but it just ran the code normally. I'm guessing that I need to set a spypoint with the spy predicate but I couldn't find out how to do this. Could you show me for a simple example, say:
append( Xs, [], Xs). append( Xs, [Y|Ys], [Y|Zs]) :- append( Xs, Ys, Zs ).
What do I need to type to get the debugger to show me the evaluations of append?
Cheers, Amoss ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------