| From | Sent On | Attachments |
|---|---|---|
| Chris Byrnes | Apr 29, 2001 9:24 pm | |
| Juha Saarinen | Apr 29, 2001 9:29 pm | |
| David W.Chapman Jr. | Apr 29, 2001 9:31 pm | |
| Christopher Schulte | Apr 29, 2001 9:32 pm | |
| Mike Tancsa | Apr 29, 2001 9:33 pm | |
| Dan Langille | Apr 29, 2001 9:34 pm | |
| Juha Saarinen | Apr 29, 2001 10:04 pm | |
| Chris Byrnes | Apr 29, 2001 10:07 pm | |
| Juha Saarinen | Apr 29, 2001 10:08 pm | |
| Kris Kennaway | Apr 29, 2001 10:12 pm | |
| David W.Chapman Jr. | Apr 29, 2001 10:15 pm | |
| Mike Meyer | Apr 29, 2001 10:15 pm | |
| Ted Faber | Apr 29, 2001 10:21 pm | |
| Juha Saarinen | Apr 29, 2001 10:55 pm | |
| Juha Saarinen | Apr 29, 2001 10:55 pm | |
| Juha Saarinen | Apr 29, 2001 10:58 pm | |
| David W. Chapman Jr. | Apr 29, 2001 11:04 pm | |
| Steve O'Hara-Smith | Apr 29, 2001 11:20 pm | |
| Mike Meyer | Apr 29, 2001 11:30 pm | |
| Juha Saarinen | Apr 29, 2001 11:53 pm | |
| Juha Saarinen | Apr 29, 2001 11:53 pm | |
| Mike Meyer | Apr 29, 2001 11:58 pm | |
| Jordan Hubbard | Apr 30, 2001 12:00 am | |
| Juha Saarinen | Apr 30, 2001 12:11 am | |
| Jordan Hubbard | Apr 30, 2001 12:18 am | |
| Mike Meyer | Apr 30, 2001 12:23 am | |
| Andre Goeree | Apr 30, 2001 12:33 am | |
| Valentin Nechayev | Apr 30, 2001 1:03 am | |
| Valentin Nechayev | Apr 30, 2001 1:18 am | |
| Raymond Wiker | Apr 30, 2001 1:54 am | |
| David Malone | Apr 30, 2001 2:13 am | |
| Kal Torak | Apr 30, 2001 2:24 am | |
| Panagiotis Astithas | Apr 30, 2001 2:33 am | |
| Oliver Fromme | Apr 30, 2001 5:03 am | |
| Donn Miller | Apr 30, 2001 6:23 am | |
| Rodney W. Grimes | Apr 30, 2001 8:43 am | |
| Ted Faber | Apr 30, 2001 9:00 am | |
| Chris Byrnes | Apr 30, 2001 9:08 am | |
| Arthur W. Neilson III | Apr 30, 2001 11:41 am | |
| Donn Miller | Apr 30, 2001 11:53 am | |
| Sue Blake | Apr 30, 2001 12:35 pm | |
| Juha Saarinen | Apr 30, 2001 12:43 pm | |
| Lyndon Nerenberg | Apr 30, 2001 12:48 pm | |
| Lyndon Nerenberg | Apr 30, 2001 12:53 pm | |
| Dan Langille | Apr 30, 2001 1:01 pm | |
| Fred Gilham | Apr 30, 2001 1:39 pm | |
| Juha Saarinen | Apr 30, 2001 2:02 pm | |
| Chad R. Larson | Apr 30, 2001 6:27 pm | |
| Steve O'Hara-Smith | Apr 30, 2001 10:29 pm | |
| Jano Lukac | Apr 30, 2001 10:37 pm | |
| Jordan Hubbard | May 1, 2001 12:16 am | |
| Doug Russell | May 1, 2001 2:22 am | |
| Doug Russell | May 1, 2001 4:28 am | |
| Matthew Hunt | May 1, 2001 9:36 am | |
| Christian Chen | May 2, 2001 12:33 am | |
| Oliver Fromme | May 2, 2001 2:55 am |
| Subject: | Re: tail | |
|---|---|---|
| From: | Raymond Wiker (Raym...@fast.no) | |
| Date: | Apr 30, 2001 1:54:34 am | |
| List: | org.freebsd.freebsd-stable | |
Valentin Nechayev writes:
Sun, Apr 29, 2001 at 22:22:05, faber (Ted Faber) wrote about "Re: tail":
juha@cyrus:~$ tail / tail: /: Is a directory
More desirable behaviour, IMO.
FYI, and maybe surprisingly, you're about to start a flame war. BSD tail and related tools have been treating directories as files for *many* years.
Can you please prove nesessarity of such behavior, as really useful examples of cat/tail of directory, or an example of needed compatibility? If no (and I am sure that you has no such examples), you should consider badness of writing arbitrary binary data to terminal. E.g., xterm & screen terminals can be dropped to unrepairable state in such way.
In that case, you also need to "fix" tail, cat etc so that you cannot use them on binary files, or even text files that contain character codes that *might* upset the current terminal.
BTW: xterm can be repaired by selecting "Do Full Reset", possibly in combination with typing the command "reset", followed by a line-feed character (Ctrl-J). I cannot remember a case where this didn't work.
In the earliest UNIX systems, there were no network, VM, and even chdir was an external command which modifies parent's current directory. Do you really want to keep such legacy now? Your idea for unrestricted directory reading is from the same series.
chdir has never been, and couldn't possibly be, an external command in Un*x. (It *is* an external command in MS-DOS, though.)
There are too many programs in unix tool set which requires such fixing, and it's better to fix them directly instead of total wrapping, isn't it? If you require compatibility with bugs of ancient crap, you'll work on crap.
The problem is that being able to do tail on a directory is *potentially useful*. Disallowing the use of tail on a directory is *not* going to make the system noticeably more robust or user-friendly.
//Raymond.
-- Raymond Wiker Raym...@fast.no
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message





