cwmrc(5) color options

2009-08-07 Thread Simon Nicolussi
NO}, + { "selectedentry", SELECTEDENTRY}, { "sticky", STICKY}, { "ungroupborder", UNGROUPBORDER}, + { "unselectedentry",UNSELECTEDENTRY}, { "yes",YES} }; const struct keywords *p; -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

Re: cwmrc(5) color options

2009-08-07 Thread Simon Nicolussi
aliasing does help, but that cure is actually worse then the disease. -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

Re: cwmrc(5) color options

2009-08-07 Thread Simon Nicolussi
anks to everyone who provided feedback so far. -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

tmux(1) bugfix

2009-09-04 Thread Simon Nicolussi
if (t > password_backoff) { + if (server_locked && t > password_backoff) { for (i = 0; i < ARRAY_LENGTH(&clients); i++) { if ((c = ARRAY_ITEM(&clients, i)) != NULL) server_redraw_client(c); -- Simon Nicoluss

cwmrc(5) color options (take 2)

2009-09-11 Thread Simon Nicolussi
conf->color[CWM_COLOR_BG_FONT].name = $2; + conf->color[CWM_COLOR_BG_MENU].name = $3; + } + | SECONDARY STRING STRING { + free(conf->color[CWM_COLOR_FG_FONT].name); + free(conf->color[CWM_COLOR_FG_MENU].name); + conf->color[CWM_COLOR_FG_FONT].name = $2; + conf->color[CWM_COLOR_FG_MENU].name = $3; + } ; %% @@ -241,6 +254,8 @@ { "mousebind", MOUSEBIND}, { "moveamount", MOVEAMOUNT}, { "no", NO}, + { "primary",PRIMARY}, + { "secondary", SECONDARY}, { "sticky", STICKY}, { "ungroupborder", UNGROUPBORDER}, { "yes",YES} -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

cwm(1) change on 9/25

2009-10-01 Thread Simon Nicolussi
IZE; cc->flags |= CLIENT_HMAXIMIZED; - } else { - cc->bwidth = Conf.bwidth; } - - client_draw_border(cc); XMoveResizeWindow(X_Dpy, cc->win, cc->geom.x, cc->geom.y, cc->geom.width, cc->geom.height); -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

Re: cwm(1) change on 9/25

2009-10-07 Thread Simon Nicolussi
Okan Demirmen wrote: > i haven't experienced this (yet) - does this still occur if you simply > backout the change? No, no problem at all with revision 1.64 of client.c. -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

Re: cwm(1) change on 9/25

2009-10-07 Thread Simon Nicolussi
can now reproduce this with at least Firefox, VLC and ePDFView. -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

Sort APs by signal strength

2015-01-02 Thread Simon Nicolussi
("\t\tnone\n"); + else + qsort(nr, na.na_nodes, sizeof(*nr), rssicmp); for (i = 0; i < na.na_nodes; i++) { printf("\t\t"); -- Simon Nicolussi http{s,}://{www.,}sinic.name/

Only replace /obsd if /bsd changed

2015-01-12 Thread Simon Nicolussi
CHINE_NAME} .if !target(install-kernel-${MACHINE_NAME}}) install-kernel-${MACHINE_NAME}: - rm -f /obsd - ln /bsd /obsd + cmp -s bsd /bsd || ln -f /bsd /obsd cp bsd /nbsd mv /nbsd /bsd .endif -- Simon Nicolussi http{s,}://{www.,}sinic.name/

Re: Only replace /obsd if /bsd changed

2015-01-12 Thread Simon Nicolussi
/GENERIC # make clean && make [...lots of output...] -# make install +# cp bsd /nbsd && mv /nbsd /bsd Replace "i386" in the first line with your platform name. -- Simon Nicolussi http{s,}://{www.,}sinic.name/

Re: state the 80 column knf rule in style(9)

2015-01-23 Thread Simon Nicolussi
is an 8 character tab. Second level indents are four spaces. +All code should fit in 80 columns, trailing newline included. .Bd -literal -offset indent while (cnt < 20) z = a + really + long + statement + that + needs + -- Simon Nicolussi http{s,}://{www.,}sinic.name/

Re: ksh diff, escape !

2015-03-08 Thread Simon Nicolussi
Stuart Henderson suggested: > - if (strchr("\"#$&'()*:;<=>?[\\]`{|}", s[add]) || > + if (strchr("\"#$&'()*:;<=>?[\\]`{|}!", s[add]) || Adding the bang in front of the string would retain the ASCII ordering. -- Simon Nicolussi http{s,}://{www.,}sinic.name/

C-j in tmux

2014-02-07 Thread Simon Nicolussi
, 0, MODEKEYCHOICE_PAGEDOWN }, { '\033' /* Escape */, 0, MODEKEYCHOICE_CANCEL }, + { '\n', 0, MODEKEYCHOICE_CHOOSE }, { '\r', 0, MODEKEYCHOICE_CHOOSE }, { 'q', 0, MODEKEYCHOICE_CANCEL }, { 'v' | KEYC_ESCAPE,0, MODEKEYCHOICE_PAGEUP }, -- Simon Nicolussi, http://www.sinic.name/

hack(6) fails to display help files

2011-03-07 Thread Simon Nicolussi
33,7 @@ */ #define_PATH_MAIL "/usr/bin/mail" +#define_PATH_PAGER "/usr/bin/more" #define_PATH_QUEST "/var/games/questdir" #define_PATH_HACK "/var/games/hackdir" -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/

Re: hack(6) fails to display help files

2011-03-08 Thread Simon Nicolussi
RCS file: /cvs/src/games/hack/pathnames.h,v retrieving revision 1.3 diff -u -r1.3 pathnames.h --- pathnames.h 3 Jun 2003 03:01:40 - 1.3 +++ pathnames.h 8 Mar 2011 13:28:55 - @@ -33,6 +33,7 @@ */ #define_PATH_MAIL "/usr/bin/mail" +#define

Re: hack(6) fails to display help files

2011-03-16 Thread Simon Nicolussi
No one wanting to commit this? It is a bug fix, after all. -- Simon Nicolussi, http://homepage.uibk.ac.at/~csag9583/