From owner-freebsd-bugs Sun Apr 29 14:50: 7 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3B33237B423 for ; Sun, 29 Apr 2001 14:50:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3TLo4370005; Sun, 29 Apr 2001 14:50:04 -0700 (PDT) (envelope-from gnats) Date: Sun, 29 Apr 2001 14:50:04 -0700 (PDT) Message-Id: <200104292150.f3TLo4370005@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bill Fumerola Subject: Re: bin/26962: [PATCH] add ``next'' and ``previous'' commands to cdcontrol(1). Reply-To: Bill Fumerola Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/26962; it has been noted by GNATS. From: Bill Fumerola To: Maxime Henrion Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/26962: [PATCH] add ``next'' and ``previous'' commands to cdcontrol(1). Date: Sun, 29 Apr 2001 16:43:14 -0500 On Sun, Apr 29, 2001 at 10:11:21PM +0200, Maxime Henrion wrote: > *************** > *** 69,74 **** > --- 69,76 ---- > #define CMD_SET 13 > #define CMD_STATUS 14 > #define CMD_CDID 15 > + #define CMD_NEXT 16 > + #define CMD_PREVIOUS 17 > #define STATUS_AUDIO 0x1 > #define STATUS_MEDIA 0x2 > #define STATUS_VOLUME 0x4 whitespace. > *************** > *** 85,95 **** > --- 87,99 ---- > { CMD_HELP, "?", 1, 0 }, > { CMD_HELP, "help", 1, "" }, > { CMD_INFO, "info", 1, "" }, > + { CMD_NEXT, "next", 1, "" }, > { CMD_PAUSE, "pause", 2, "" }, > { CMD_PLAY, "play", 1, "min1:sec1[.fram1] [min2:sec2[.fram2]]" }, > { CMD_PLAY, "play", 1, "track1[.index1] [track2[.index2]]" }, > { CMD_PLAY, "play", 1, "tr1 m1:s1[.f1] [[tr2] [m2:s2[.f2]]]" }, > { CMD_PLAY, "play", 1, "[#block [len]]" }, > + { CMD_PREVIOUS, "previous", 2, "" }, > { CMD_QUIT, "quit", 1, "" }, > { CMD_RESET, "reset", 4, "" }, > { CMD_RESUME, "resume", 1, "" }, whitespace. > *************** > *** 115,120 **** > --- 119,126 ---- > int get_vol __P((int *, int *)); > int status __P((int *, int *, int *, int *)); > int open_cd __P((void)); > + int next __P((void)); > + int previous __P((void)); > int play __P((char *arg)); > int info __P((char *arg)); > int cdid __P((void)); whitespace. -- Bill Fumerola - security yahoo / Yahoo! inc. - fumerola@yahoo-inc.com / billf@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message