TakefiveInteractive / TedkOS

Operating System - ECE 391 Takefive Interactive Team
GNU General Public License v2.0
96 stars 17 forks source link

Modify Term: FD opened before main(). #3

Closed markzyu closed 8 years ago

markzyu commented 8 years ago

Currently the FD for stdin and stdout has to be opened at user side. But after deep consideration this is not good enough.

We should not assign a invalid value to stdin just because it's not in the foreground of the terminal. That way, stdin is not a constant and has to be fetched using functions.

We should assign stdout to FD#0 and stdin to FD#1

markzyu commented 8 years ago

Fixed c240964c657eb020c66887895efa08c97c50d171