lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev DIRED_MENU://REMOVE_SINGLE


From: Thomas Dickey
Subject: Re: lynx-dev DIRED_MENU://REMOVE_SINGLE
Date: Sat, 27 Sep 2003 15:04:19 -0400
User-agent: Mutt/1.3.27i

On Sat, Sep 27, 2003 at 12:50:56PM -0600, Pat Walsh wrote:
> DIRED_MENU:FILE::Remove File:(current selection):LYNXDIRED://REMOVE_SINGLE%p
> DIRED_MENU:DIR::Remove Directory:(current 
> selection):LYNXDIRED://REMOVE_SINGLE%p
> 
> The same REMOVE_SINGLE delete action is used for both files and
> directories.  For a directory it behaves as rm(1) -rf, which is
> severe, even with the confirmation prompt.  It's much too easy to do a
> series of "r,y"s reflexively when cleaning up a directory without
> scrutinizing the prompt text.  There should be a REMOVE_DIR, or
> REMOVE_SINGLE's action on a directory changed, to behave as rmdir(1),
> refusing to remove the directory if there are still files within.
> Much safer.  It's easy enough to first remove all files in the
> directory to be removed with t)ag.
> 
> I'm passing this on from someone with recent and extensive experience
> using debugfs.

thanks (I don't recall noticing this - it's "always" been that way, but is
simple to change).

-- 
Thomas E. Dickey
http://dickey.his.com
ftp://dickey.his.com

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]