Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#929 closed bug (fixed)

When the console input displayed at the terminal screen doesn't provide a new line (as in r5).

Reported by: kaoutsis Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description

When the console input displayed at the screen doesn't provide a new line (as in hrev5). In other words, when the input datas of a program are displayed in the terminal screen, and the program had to display some info with cout, they are covered by cout.

Attachments (4)

mySmallInput.cpp (477 bytes ) - added by kaoutsis 17 years ago.
my little silly input program
r5-console-result.png (81.5 KB ) - added by kaoutsis 17 years ago.
the expected behavior in hrev5
haiku-before-pressing-enter.png (42.8 KB ) - added by kaoutsis 17 years ago.
haiku-after-pressing-enter.png (32.4 KB ) - added by kaoutsis 17 years ago.

Download all attachments as: .zip

Change History (9)

by kaoutsis, 17 years ago

Attachment: mySmallInput.cpp added

my little silly input program

by kaoutsis, 17 years ago

Attachment: r5-console-result.png added

the expected behavior in hrev5

by kaoutsis, 17 years ago

by kaoutsis, 17 years ago

comment:1 by kaoutsis, 17 years ago

and a small note: Haiku's terminal compiled for hrev5, doesn't have this problem.

comment:2 by kaoutsis, 17 years ago

Some new tests:

  • the same problem occurred instead of cin cout, a program uses scanf.
  • consoled doesn't seems to have this problem!

comment:3 by kaoutsis, 17 years ago

Testing with be's original Terminal running on haiku: the same problem. So i guess the problem is not in our terminal. The strange thing is that consoled doesn't have this problem!

comment:4 by kaoutsis, 17 years ago

Resolution: fixed
Status: newclosed

Possibly related to #1483. Tested again with hrev22359: In any case it's fixed!

comment:5 by bonefish, 17 years ago

Yes, this has been fixed quite a while ago actually. The tty driver wasn't echoing or processing the entered CRs correctly.

Note: See TracTickets for help on using tickets.