Changeset 5048


Ignore:
Timestamp:
Aug 28, 2006, 3:55:55 AM (18 years ago)
Author:
Gary Byers
Message:

Initial FD-STREAMs are BASIC-STREAMs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-boot-2.lisp

    r4895 r5048  
    8383(def-ccl-pointers fd-streams ()
    8484  (setq *stdin* (make-fd-stream 0
     85                                :basic t
    8586                                :sharing :lock
    8687                                :direction :input
    8788                                :interactive (not *batch-flag*)))
    88   (setq *stdout* (make-fd-stream 1 :direction :output :sharing :lock))
    89 
    90   (setq *stderr* (make-fd-stream 2 :direction :output :sharing :lock))
     89  (setq *stdout* (make-fd-stream 1 :basic t :direction :output :sharing :lock))
     90
     91  (setq *stderr* (make-fd-stream 2 :basic t :direction :output :sharing :lock))
    9192  (if *batch-flag*
    9293    (let* ((tty-fd (let* ((fd (fd-open "/dev/tty" #$O_RDWR)))
     
    9697        (setq
    9798         *terminal-input* (make-fd-stream tty-fd
     99                                          :basic t
    98100                                          :direction :input
    99101                                          :interactive t
    100102                                          :sharing :lock)
    101          *terminal-output* (make-fd-stream tty-fd :direction :output :sharing :lock)
     103         *terminal-output* (make-fd-stream tty-fd :basic t :direction :output :sharing :lock)
    102104         *terminal-io* (make-echoing-two-way-stream
    103105                        *terminal-input* *terminal-output*))
Note: See TracChangeset for help on using the changeset viewer.