Opened 16 years ago

Closed 15 years ago

#2409 closed bug (fixed)

[Terminal] "cat /dev/random" exits after first screen of random data

Reported by: diver Owned by: jackburton
Priority: normal Milestone: R1
Component: Applications/Terminal Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking: #4065
Platform: All

Description

"cat /dev/random" exits after first screen of random data.

Change History (6)

comment:1 by sdeken, 16 years ago

This appears to be a problem with control codes which are being sent to the terminal. If you filter the characters before they're sent, it doesn't quit:

cat /dev/random | sed 's/[^a-z]//g'

So the question is, what sequence of control codes triggers this, and why?

comment:2 by bonefish, 16 years ago

Component: System/KernelApplications/Terminal
Owner: changed from axeld to jackburton
Summary: [kernel] "cat /dev/random" exits after first screen of random data"cat /dev/random" exits after first screen of random data

comment:3 by jackburton, 16 years ago

Trying "cat /dev/random > log.txt" and then "less log.txt" triggers a SIGSTP, it seems:

~> cat /dev/random > log.txt

~> less log.txt

[1]+ Stopped(SIGSTP) less log.txt ~>

comment:4 by diver, 16 years ago

Summary: "cat /dev/random" exits after first screen of random data[Terminal] "cat /dev/random" exits after first screen of random data

comment:5 by bonefish, 15 years ago

Blocking: 4065 added

(In #4065) Dup of #2409.

comment:6 by bonefish, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev31417.

Note: See TracTickets for help on using tickets.