Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: NO_CLOBBER



> On Apr 23,  4:22pm, Peter Stephenson wrote:
> } Subject: Re: PATCH: NO_CLOBBER
> }
> } Andrew Main wrote:
> } > Looks like someone got too clever, and decided that NO_CLOBBER shouldn't
> } > stop you opening a FIFO.
> } 
> } hmm, it wasn't me, but now:
> }   /etc/zshrc: file exists: /dev/null [243]
> } am I just going to have to live with this?  Seems quite a lot to live with.
> 
> Device special files are not FIFOs, so even if the ksh incompatibility needs
> to be rectified (which doesn't seem essential to me), the code needs to work
> right for devices.  The old code with errno saved/restored would be better.
> 
> On Apr 23,  4:26pm, Mr M P Searle wrote:
> } Subject: Re: PATCH: NO_CLOBBER
> }
> } IMO a list that can be changed would be better than just checking for
> } /dev/null. An example on my system is the sound devices /dev/audio,
> 
> No, a list is not acceptable either.  New devices can appear, even on a
> running system; having to recompile or reconfigure zsh every time one
> does, is just plain wrong.

I meant a list of all such devices possible on a system - including those
not installed. Of course this list could be overridden or added to from
config files, but without any reconfiguration all devices could be
checked for. There wouldn't usually be other devices except when the OS
was upgraded, where the zsh port also would be. 

> 
> -- 
> Bart Schaefer                                 Brass Lantern Enterprises
> http://www.well.com/user/barts              http://www.brasslantern.com
> 



Messages sorted by: Reverse Date, Date, Thread, Author