Bug 407122

Summary: "kate /dev/stdin" does not work
Product: [Applications] kate Reporter: Victor Porton <porton>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 18.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Victor Porton 2019-05-01 10:32:45 UTC
When I start Kate as "kate /dev/stdin", I get the message:

The file /dev/null could not be loaded, as it was not possible to read from it.
Check if you have read access to this file.

Why /dev/null? I provided /dev/stdin as the argument.
Comment 1 Christoph Cullmann 2019-05-18 18:14:01 UTC
Kate/KWrite can't work with such device files.

Why it doesn't report /dev/stdin?
That depends to which device stdin is connected, in your case dev/null, as perhaps stdin was closed, I get here some pts/X device for my virtual console.