[OpenAFS] backup EOF annoyance

Charles Karney ckarney@sarnoff.com
Tue, 17 Jul 2001 14:08:13 -0400 (EDT)


The AFS backup command (in interactive mode) responds to an EOF (control-D)
by repeating the last command.  Thus

    # backup -local
    backup> help
    Commands are:
    adddump         add dump schedule
    ...
    backup> CONTROL-D
    Commands are:
    adddump         add dump schedule
    ...

Or for a more robust example, try

    # echo help | backup -local

Mostly this is annoying.  But, in a few cases it could be dangerous.

Needless to day, EOF should act like 'quit'.  (The other interactive
command in the AFS suite, kas, works OK.)

-- 
Charles Karney			Email:	ckarney@sarnoff.com
Sarnoff Corporation		Phone:	+1 609 734 2312
Princeton, NJ 08543-5300	Fax:	+1 609 734 2586