Return-Path: From: Florian Echtler To: Brad Midgley Cc: bluez-devel@lists.sourceforge.net Subject: Re: [Bluez-devel] Re: some btsco hacks In-Reply-To: <427EF21A.7040908@xmission.com> Message-ID: References: <427A8B7F.1010105@xmission.com> <427EF21A.7040908@xmission.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1576235455-1115676878=:9768" Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 10 May 2005 00:14:38 +0200 (CEST) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1576235455-1115676878=:9768 Content-Type: TEXT/PLAIN; charset=US-ASCII -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > > Back references to what/where? > backrefs are parts of the regexp surrounded by (). the matching expression is > remembered and can be placed in the command string, by \0 \1 etc it turns out. > I figured them out & noted in the docs. Ah, I see - I had overlooked that part of the code. > In keeping with \0 \1 for backrefs in the regexp and \p for pid, the headset > state should be \s instead of %d. Would you be willing to make that change (or > I could)? No problem, see attached patch. Another question: has anyone experienced the same problem as I have (the microphone input sometimes generates only noise) or is that strictly a bug of my headset? Yours, Florian - -- Preserve wildlife - pickle a squirrel today! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCf+DS7CzyshGvatgRAmBVAKDfFJndw9pvwYxeENUCDj7gVyTLhwCfXBBS LXVG5Iht3y0zFJp7REc3VeE= =r6pM -----END PGP SIGNATURE----- --0-1576235455-1115676878=:9768 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=diff ZGlmZiAtdSAtcjEuMjUgYnRzY28uYw0KLS0tIGJ0c2NvLmMJOSBNYXkgMjAw NSAwNDo1NzoyOSAtM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CQkJCQkJaWYoc3Vic3QgIT0gTlVMTCkgew0KIAkJCQkJCQkJCXN5 c2J1ZiA9IHJlYWxsb2Moc3lzYnVmLCBzdHJsZW4oc3lzYnVmKSArIHN1YnN0 bCAtIDEpOw0KIAkJCQkJCQkJCW1lbW1vdmUoc3lzYnVmICsgaSArIHN1YnN0 bCwgc3lzYnVmICsgaSArIDIsIHN0cmxlbihzeXNidWYpIC0gaSAtIDEpOw0K --0-1576235455-1115676878=:9768-- ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel