Changeset 4543 for trunk/configs

Show
Ignore:
Timestamp:
10/28/08 15:58:54 (2 months ago)
Author:
pmoura
Message:

Updated the Logtalk built-in debugger to accept the return and enter keys as alternatives to the "c" key ("creep") when tracing.

Location:
trunk/configs
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • trunk/configs/b.config

    r4524 r4543  
    1212%  configuration file for B-Prolog 7.1 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    405405 
    406406'$lgt_read_single_char'(Char) :- 
    407     get_char(Char), 
    408     (   peek_code(10) ->    % hack to workaround the lack of built-in 
     407    get_code(Code), char_code(Char, Code), 
     408    (   Code =:= 10 -> 
     409        true 
     410    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
    409411        get_code(_)         % support for unbuffered character input 
    410412    ;   true 
  • trunk/configs/ciao_aux.config

    r4535 r4543  
    1212%  configuration file for CIAO Prolog 1.8p2 and later versions 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    485485 
    486486'$lgt_read_single_char'(Char) :- 
    487     get_char(Char), 
    488     (   peek_code(10) ->    % hack to workaround the lack of built-in 
     487    get_code(Code), char_code(Char, Code), 
     488    (   Code =:= 10 -> 
     489        true 
     490    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
    489491        get_code(_)         % support for unbuffered character input 
    490492    ;   true 
  • trunk/configs/cx.config

    r4524 r4543  
    1212%  configuration file for CxProlog 0.97.2 or a later version 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    428428 
    429429'$lgt_read_single_char'(Char) :- 
    430     get(Code), 
    431     atom_codes(Char, [Code]), 
    432     (   peek_code(10) ->    % hack to workaround the lack of built-in 
    433         get_code(_)         % support for unbuffered character input 
    434     ;   true 
     430    get_single_char(Code), put_code(Code), char_code(Char, Code), 
     431    (   Code =:= 10 -> 
     432        true 
     433    ;   nl 
    435434    ). 
    436435 
  • trunk/configs/k6.config

    r4524 r4543  
    1212%  configuration file for K-Prolog 6.0.4 and later versions 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    408408 
    409409'$lgt_read_single_char'(Char) :- 
    410     get(Code), char_code(Char, Code). 
     410    get_code(Code), char_code(Char, Code), 
     411    (   Code =:= 10 -> 
     412        true 
     413    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
     414        get_code(_)         % support for unbuffered character input 
     415    ;   true 
     416    ). 
    411417 
    412418 
  • trunk/configs/qu.config

    r4524 r4543  
    1212%  configuration file for Qu-Prolog 8.1 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    409409 
    410410'$lgt_read_single_char'(Char) :- 
    411     flush_output, get_char(Char), skip(10). 
     411    flush_output, get_code(Code), char_code(Char, Code), 
     412    (   Code =:= 10 -> 
     413        true 
     414    ;   skip(10) 
     415    ). 
    412416 
    413417 
  • trunk/configs/sicstus3.config

    r4524 r4543  
    1212%  configuration file for SICStus Prolog 3.8 and later versions 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    417417 
    418418'$lgt_read_single_char'(Char) :- 
    419     get_char(Char), 
    420     (   peek_code(10) ->    % hack to workaround the lack of built-in 
     419    get_code(Code), char_code(Char, Code), 
     420    (   Code =:= 10 -> 
     421        true 
     422    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
    421423        get_code(_)         % support for unbuffered character input 
    422424    ;   true 
  • trunk/configs/sicstus4.config

    r4524 r4543  
    1212%  configuration file for SICStus Prolog 4.0 and later versions 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    407407 
    408408'$lgt_read_single_char'(Char) :- 
    409     get_char(Char), 
    410     (   peek_code(10) ->    % hack to workaround the lack of built-in 
     409    get_code(Code), char_code(Char, Code), 
     410    (   Code =:= 10 -> 
     411        true 
     412    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
    411413        get_code(_)         % support for unbuffered character input 
    412414    ;   true 
  • trunk/configs/xsb.config

    r4524 r4543  
    1212%  configuration file for XSB 3.1 or later version 
    1313% 
    14 %  last updated: October 20, 2008 
     14%  last updated: October 28, 2008 
    1515% 
    1616%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 
     
    423423 
    424424'$lgt_read_single_char'(Char) :- 
    425     get_char(Char), 
    426     (   peek_code(10) ->    % hack to workaround the lack of built-in 
     425    get_code(Code), char_code(Char, Code), 
     426    (   Code =:= 10 -> 
     427        true 
     428    ;   peek_code(10) ->    % hack to workaround the lack of built-in 
    427429        get_code(_)         % support for unbuffered character input 
    428430    ;   true