Unix Technical Forum

PATCH: cwm normalize

This is a discussion on PATCH: cwm normalize within the mailing.openbsd.tech forums, part of the OpenBSD category; --> I wanted to open this discussion a long time ago but never had the time to actually do it. ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 09:33 AM
Paul Irofti
 
Posts: n/a
Default PATCH: cwm normalize

I wanted to open this discussion a long time ago but never had the time
to actually do it.

Anyway, why is the normalize option needed? I can see no use for it
(but I haven't really looked into groups so there might be something).

The thing is if I want to run something with parameters and the command
does not consist of lower-case letters only I can't do it through exec,
I have to run it from an xterm or the like.

Example: `Xnest :1'

This patch fixes this at the search_start level, this fix should
probably be moved in input_keycodetrans() if the normalize option is
found useless.
Index: search.c
================================================== =================
RCS file: /cvs/xenocara/app/cwm/search.c,v
retrieving revision 1.4
diff -u -r1.4 search.c
--- search.c 2 Oct 2007 18:01:45 -0000 1.4
+++ search.c 20 Nov 2007 19:26:07 -0000
@@ -104,7 +104,7 @@
*/

if (input_keycodetrans(e.xkey.keycode, e.xkey.state,
- &ctl, &chr, 1) < 0)
+ &ctl, &chr, 0) < 0)
continue;

switch (ctl) {

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com