Opened 11 years ago

Closed 10 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
Has a Patch: no Platform: All

Description

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

Change History (6)

comment:1 Changed 11 years ago by sdeken

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 Changed 11 years ago by bonefish

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 Changed 11 years ago by jackburton

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 Changed 11 years ago by diver

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

comment:5 Changed 10 years ago by bonefish

Blocking: 4065 added

(In #4065) Dup of #2409.

comment:6 Changed 10 years ago by bonefish

Resolution: fixed
Status: newclosed

Fixed in hrev31417.

Note: See TracTickets for help on using tickets.