/[meta-cvs]/meta-cvs/F-0C9187C87304A15BD59A42657A3BE5A3
ViewVC logotype

Diff of /meta-cvs/F-0C9187C87304A15BD59A42657A3BE5A3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.263 by kaz, Tue Apr 22 06:28:16 2003 UTC revision 1.264 by kaz, Wed Apr 23 05:39:27 2003 UTC
# Line 1  Line 1 
1    2003-04-22  Kaz Kylheku  <kaz@ashi.footprints.net>
2    
3            Improved error handling.  Use of tty for user interaction, plus
4            new global option for selecting non-interactive bail behavior.
5    
6            * code/mcvs-main.lisp (*global-options*): add --error-bail option.
7            (*usage*): Describe new option.
8            (mcvs-execute): Dynamically bind *interactive-error-io* variable
9            to a stream formed by opening the controlling tty.
10            Send error message to *error-output* rather than *standard-output*.
11    
12            * code/unix-bindings/unix.lisp (unix-funcs:ctermid): New function,
13            FFI interface to mcvs_ctermid.
14    
15            * code/unix-bindings/wrap.c (mcvs_ctermid): New function.
16    
17            * code/chatter.lisp (chatter): Chatter now goes to *error-output*
18            rather than *standard-output*.
19    
20            * code/error.lisp (*interactive-error-io*): New special variable,
21            holds stream open to controlling tty.
22            (mcvs-terminate): New function.
23            (mcvs-error-handler): Use *interactive-error-io* to print menu
24            and obtain user input. Support the :bail value of
25            *mcvs-error-treatment* Plus some cosmetic changes.
26    
27            * code/options.lisp (filter-mcvs-options): Support --error-bail option.
28    
29            * code/filt.lisp (mcvs-filt-loop): Bugfix, (read-line t ...)
30            should be (read-line *standard-input* ...) because t stands
31            for *terminal-io* rather than *standard-io*, unlike in the
32            format function!
33    
34            * code/rcs-utils.lisp (rcs-read-token): Read from *standard-input*
35            rather than *terminal-io*.
36    
37    
38  2003-04-21  Kaz Kylheku  <kaz@ashi.footprints.net>  2003-04-21  Kaz Kylheku  <kaz@ashi.footprints.net>
39    
40          Slightly redesigned error handling protocol.          Slightly redesigned error handling protocol.

Legend:
Removed from v.1.263  
changed lines
  Added in v.1.264

  ViewVC Help
Powered by ViewVC 1.1.5