Bug 77081 - non newline terminated output ignored
non newline terminated output ignored
Product: Red Hat Linux
Classification: Retired
Component: vte (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2002-10-31 17:06 EST by Bowe Strickland
Modified: 2007-04-18 12:48 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-01-29 14:41:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bowe Strickland 2002-10-31 17:06:27 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
while running, for example, cat /proc/self/cmdline, no output is generated. 
strace demonstrates output is written to stdout.

for example:

[root@server1 root]# cat /proc/self/cmdline
[root@server1 root]#

[root@server1 root]# strace cat /proc/self/cmdline
open("/proc/self/cmdline", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
read(3, "cat\0/proc/self/cmdline\0", 4096) = 23
write(1, "cat\0/proc/self/cmdline\0", 23cat/proc/self/cmdline) = 23
read(3, "", 4096)                       = 0

strings of the same, however, is correct (strings adds newline termination):

[root@server1 root]# strings /proc/self/cmdline
[root@server1 root]#

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.cat /proc/self/cmdline

Additional info:
Comment 1 Miloslav Trmac 2002-11-01 07:29:49 EST
Duplicate of 74383, although I'm not sure whether the bug is in bash, terminal
emulators or terminfo/termcap descriptions.
Comment 2 Miloslav Trmac 2003-12-13 09:12:37 EST
This is fixed at least in FC 1

Note You need to log in before you can comment on or make changes to this bug.