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 [EMAIL PROTECTED]
