Summary: | cat *directory* -> prompt switches to binary | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Manuzhai <manuzhai> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | minor | CC: | avenj |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Manuzhai
2003-03-06 09:47:53 UTC
This is typical behavior. When this happens, use the "reset" command to eliminate corruption. I recommend marking this bug INVALID or CANTFIX. Actually, I'm going to reopen this: 'cat' shouldn't work on a directory. It should return 'cat: <directoryname>: Is a directory' instead of producing binary output. [avenj@cerberus zoneinfo]$ cat Europe cat: Europe: Is a directory [avenj@cerberus zoneinfo]$ Can you reproduce this? Closed again - if you're actually able to cat directories, file a separate bug under a more relevant subject. Catting a binary file will always corrupt your terminal, "reset" fixes that. Cat won't open directories by default, though. |