define type PROTOCOL_OPTIONS
    keyword     DECNET
    keyword     TCP
    keyword     TCPWARE
    keyword     CMUTCP
    keyword     WINTCP
    keyword     MULTINETTCP
    keyword     UCXTCP
    keyword     IPCUCX
    keyword     EXOS

define type ON_ERROR_OPTIONS
    keyword     ABORT		! Report signal and abort program execution.
				! Useful during batch processing.
    keyword     HANDLE_OR_ABORT	! Try to handle error (e.g. write a log entry
				! or ignore error) on expected errors,
				! otherwise the signal is send and handled
				! as if ABORT was selected.  Useful during
				! batch processing (ADD FILE, SKIM).
    keyword     NEXT_COMMAND	! Unwind to main command loop, continue with
				! the next command (useful in interactive mode)
    keyword     CONTINUE	! Try to handle error (e.g. write a log entry
				! or ignore error) on expected errors,
				! otherwise the signal is send and after
				! reporting error the condition handler
				! resumes the execution as if nothing happened.
				! May be useful during batch processing
				! (like ADD FILE, SKIM).
! default is NEXT_COMMAND in interactive mode and CONTINUE otherwise

define verb NEWS
    image news_manager:news
    qualifier   SCREEN      default
    qualifier   ALLSCAN	    value(list)
    qualifier   SCAN        value(list)
    qualifier   UNSEEN
    qualifier   READONLY
    qualifier   CLASS       value
    qualifier   NETSERVER   negatable,value
    qualifier   NETPROTOCOL nonnegatable,value(required,type=PROTOCOL_OPTIONS)
    qualifier   ON_ERROR    value(required,type=ON_ERROR_OPTIONS)
    parameter   P1          label=COMMAND,value(type=$rest_of_line)
    disallow(SCAN and ALLSCAN)
