Dmitrij D. Czarkoff wrote:
> Eckehard Berns said:
> > You only write a parser once. But you write some magnitude more markup
> > that is going to be parsed by it. So optimizing the markup specification
> > for authoring has a better net gain than to optimize the protocol just
th proper markup
> and doesn't have to "fire up" it's forgiving but sloppy SGML-parser.
As said before, browsers could reject non-validating HTML as well.
So in the end we disagree because of personal preference. That's fine
with me.
--
Eckehard Berns
.
That's why HTML uses only a subset of SGML.
That said, I don't want to defend HTML and the web as such, but it would
be much worse with XML IMO. At least from my perspective.
--
Eckehard Berns
On Mon, Feb 10, 2014 at 03:51:40PM +, sin wrote:
> On Mon, Feb 10, 2014 at 02:44:11PM +0100, Eckehard Berns wrote:
> > On Mon, Feb 10, 2014 at 12:31:59PM +, sin wrote:
> > > I just pushed a simple implementation of getty[1] to ubase. Would
> > > be nice to see
ems that getty should ask for the username first even
if login could do it as well.
--
Eckehard Berns
On Fri, Feb 07, 2014 at 09:36:01PM +, sin wrote:
> On Fri, Feb 07, 2014 at 09:56:17PM +0100, Eckehard Berns wrote:
> > I tested v0.3 and besides some glitches due to my system everything
> > worked fine. I'm using fgetty (yeah, freeing a couple more kb might
> > no
On Fri, Feb 07, 2014 at 09:00:34PM +, sin wrote:
> On Fri, Feb 07, 2014 at 09:56:17PM +0100, Eckehard Berns wrote:
> > And since sinit uses Linux specific code anyway you might consider
> > calling reboot(0) to tell the kernel to send SIGINT to pid 1 on
> > ctrl-alt-de
pid 1 on
ctrl-alt-del.
--
Eckehard Berns
wouldn't be able to unlink
fifopath or create it, but since it's already there the call to open()
should succeed. You'd have to ignore errors for unlink() and mkfifo()
and only check open() for errors. I can't test this at the moment, but I
think this might work.
--
Eckehard Berns
Hmm, I actually forgot. Do the BSDs handle ctrl-alt-del
in any way on x86?
--
Eckehard Berns
e you need to remount it read-only during system initialisation
anyway before checking it.
--
Eckehard Berns
(which means
you might want to chane your rc.svc to background the agetty loop).
Also, would it be worth it to deal with x86 Linux's ctrl-alt-del? It would
pull in OS specific code, and maybe people don't care for ctrl-alt-del
on the console, since everybody lives in X anyway.
--
Eckehard Berns
e those included? sinit does nothing but reaping zombies. Using
it to spawn shutdown scripts seems kinda wrong to me. Why not call the
shutdown scripts directly to poweroff or reboot the system?
--
Eckehard Berns
hat the system wide configuration includes some
no-bitmaped-fonts non-sens. You might want to look into /etc/fonts/conf.d
(or similar directory). There might be a file called 70-no-bitmaps.conf
or something, depending on your distribution.
--
Eckehard Berns
w = 1;
last = now;
--
Eckehard Berns
the relevant section you're refering to. Long quoted sections
should be shortened (without loosing meaning). For an example of
quoting you might want to look at the section "Proper Quoting Example"
at http://email.about.com/cs/netiquettetips/qt/et090402.htm
--
Eckehard Berns
t disable adblocking depending on the site visited
--
Eckehard Berns
On Thu, Nov 15, 2012 at 04:21:01PM +0100, Christoph Lohmann wrote:
> On Thu, 15 Nov 2012 16:21:01 +0100 Eckehard Berns
> wrote:
> > On Thu, Nov 15, 2012 at 03:42:40PM +0100, Christoph Lohmann wrote:
> > > What are you using this insert mode for?
> >
> > I ac
On Thu, Nov 15, 2012 at 03:42:40PM +0100, Christoph Lohmann wrote:
> On Thu, 15 Nov 2012 15:42:40 +0100 Eckehard Berns
> wrote:
> > I added some code to make insert mode work in st. I don't know if I
> > missed something, but It's Working For Me(tm). Patch attached.
I added some code to make insert mode work in st. I don't know if I
missed something, but It's Working For Me(tm). Patch attached.
--
Eckehard Berns
diff -r 19ef42df8e7d st.c
--- a/st.c Wed Nov 14 06:37:24 2012 +0100
+++ b/st.c Thu Nov 15 15:19:52 2012 +0100
@@ -2100,
> Please, if you find some new errors (I am pretty sure something can happen)
> notice me.
For me Shift+Insert inserts \E[2;2~ just before the selection.
--
Eckehard Berns
On Mon, Aug 20, 2012 at 11:06:35AM +0200, Eckehard Berns wrote:
> I looked into this again today and could see that GDK just doesn't send
> any focus related events any more after the toplevel GTK window has a
> flag called has_pointer_focus set. GTK on the other hand doesn't
On Fri, Aug 17, 2012 at 03:53:22PM +0200, Eckehard Berns wrote:
> I'll try things at home and maybe I find another workaround.
It was just to hot here over the weekend to do anything productive.
I looked into this again today and could see that GDK just doesn't send
any focus relat
On Fri, Aug 17, 2012 at 09:16:55AM -0400, Josh Rickmar wrote:
> Eckehard Berns wrote:
> > On my system the following patch to dwm seems to work around the GTK3
> > focus problem:
> > [...]
>
> Sorry, but that doesn't seem to work for me. (Were you testing using
+865,7 @@
else {
XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
XDeleteProperty(dpy, root, netatom[NetActiveWindow]);
+ XFlush(dpy);
}
selmon->sel = c;
drawbars();
--
Eckehard Berns
de some pointers (and some boring as hell explanation).
--
Eckehard Berns
hat might work for you
either. When I set SDL.Fullscreen to 1 in ~/.fceux/fceux.cfg everything
seems to work. Maybe it helps.
--
Eckehard Berns
u're running 6.0 could you try
hg tip and see if the problem persists?
--
Eckehard Berns
al command like so:
static const char *volinccmd[] = {"/home/olek/.bin/pavolume", "increase", NULL};
Otherwise it would try to exec a script named "pavolume increase" in the
folder "/home/olek/.bin" without any arguments.
--
Eckehard Berns
ogglemutecmd } },
>
> But it doesn't work.
> And nothing else is running.
I'm pretty sure the commands are executed. Maybe the error is in the
commands. Have you checked your ~/.xsession-errors (or similar log)?
--
Eckehard Berns
0 0 0 0 0 0 0 0 0 0
>0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
The NotifyGrab seems to suggest that there already is an X client that
grabs that key. Do you have some sort of audio mixer running that might
grab those keys already?
--
Eckehard Berns
On Thu, Apr 12, 2012 at 05:09:09PM -0500, Stephen Paul Weber wrote:
> Somebody claiming to be Eckehard Berns wrote:
> >I tried to find information regarding a bug in XmbDrawImageString using
> >Google and found a comment in Vim's gui_x11.c that suggests that that
> >funct
le and found a comment in Vim's gui_x11.c that suggests that that
function isn't quite sound. Vim actually converts the string to wide
chars and uses XDrawImageString16 instead in gui_x11.c.
The dwm bar exposes the same bug, btw.
As a workaround you could try the xft version of st.
--
Eckehard Berns
I implemented a color patch for slock similar to Joseph Iacobucci's
patch but for slock 1.0.
You can configure the two colors in config.mk in the CPPFLAGS.
--
Eckehard Berns
diff -r e0d42e127656 config.mk
--- a/config.mk Sat Feb 11 10:51:31 2012 +0100
+++ b/config.mk Fri Mar 09 17:42:15
ws.
> Floating windows used to sit above any other Tiled/Monocled windows: has
> this behavior changed or am I misconfigured somehow?
This behavior should be fixed in tip (1595:a80071f71445 and newer).
--
Eckehard Berns
ds on top of Wayland.
Again, I am nowhere near well enough informed, so my statements might be
FUD.
--
Eckehard Berns
time (you won't get colors though--which is something I
don't mind).
An alternative to constantly setting TERM is using a terminal
multiplexer (dvtm, screen, tmux, etc) within st locally. Most systems
out there should be ok with TERM=screen or TERM=rxvt-256color.
--
Eckehard Be
es. I tried it several times. Couldn't see any problems.
--
Eckehard Berns
On Thu, Feb 09, 2012 at 08:19:35PM +0100, Anselm R Garbe wrote:
> On 9 February 2012 19:50, Eckehard Berns wrote:
> > $ ./slock & ( sleep 1 ; st )
> >
> > will show a terminal window on top of the black slock window. Not that I
> > could use the terminal, but it
ock & ( sleep 1 ; st )
will show a terminal window on top of the black slock window. Not that I
could use the terminal, but it's shown.
Also the reply to -v lacks a \n.
--
Eckehard Berns
igh value for DRAW_TIMEOUT. The trade off is a slow refresh rate in
case of a burst. In case someone wants to try this I attached a patch to
revision 228.
--
Eckehard Berns
diff -r 9550074991e1 st.c
--- a/st.c Tue Feb 07 23:53:45 2012 +0100
+++ b/st.c Thu Feb 09 17:09:59 2012 +0100
@@ -50,
hem e.g. to a tag named "trash" ;) This
> doesn't happen with the current stable version.
Anselm still hasn't applyed my patch to rectify this problem (or just
readded the two offending lines). The patch confnotify-tip.patch should
still apply to tip.
http://lists.suckless.org/dev/1201/10607.html
--
Eckehard Berns
On Mon, Feb 06, 2012 at 02:25:38PM +0100, Eckehard Berns wrote:
> On Mon, Feb 06, 2012 at 01:39:07PM +0100, Uli Armbruster wrote:
> > Ok, since you guys obviously understand this a lot better than I do, would
> > one of you like to report this on the mupdf bugtracker?
>
> O
eports.)
--
Eckehard Berns
> > + if (width != reqh || height != reqw) {
>
> why is 'width' compared to 'reqh' which I guess is "required height" ?
> and vice verse for height
Wow, my brain's still asleep I think. Not that it's early here...
--
Eckehard Berns
want to fix mupdf's behavior in dwm we would have to break
other apps that require a resize before being mapped (and a comment in
the dwm code states that there are apps that require this).
Attached is a patch to mupdf's git checkout 657a66bf1c5 which also
applies (with offsets) to 0.
nt encodings.
If you don't know the font patterns for your font you can use xfontsel
to construct them.
--
Eckehard Berns
o I heard.
Seems we need to think bigger. Anyone know some mercenaries to get a
preemptive strike on those damn hardware manufacturers? Hmm, preferably
cheap?
--
Eckehard Berns
gt; you could take away the whole keyboard. It's very easy on my thinkpad.
> > Only 7 screws away from perfect security.
>
> usb keyboard will bypass your security protections against this.
That's a bug in your machine. You can fix with duct tape or so I heard.
--
Eckehard Berns
want to fight X insecurities[1].
[1] http://www.jwz.org/xscreensaver/faq.html#no-ctl-alt-bs
--
Eckehard Berns
That's why I attacked the SDL problem from another angle. The patch from
my privious mail[1] should fix this and the SDL problem.
[1] http://lists.suckless.org/dev/1201/10607.html
--
Eckehard Berns
find the font you
specify. This might be why you don't experience problems there.
--
Eckehard Berns
eature" of
> clicking a floating window raises it to the top; I use this a lot as
> I unfortunately find myself using The GIMP regularly at work.
The confnotify-tip.patch from my previous mail[1] should fix this
hopefully.
[1] http://lists.suckless.org/dev/1201/10607.html
--
Eckehard Berns
ems show up I think this is a better way of dealing with the
SDL problem.
--
Eckehard Berns
diff -r 070112b7435f dwm.c
--- a/dwm.c Thu Jan 12 07:36:05 2012 +0100
+++ b/dwm.c Sat Jan 14 12:34:59 2012 +0100
@@ -397,9 +397,10 @@
showhide(m->stack);
else for(m = mons
Sorry for spamming the list, but I didn't catch monocle mode with the
last patch. Here is a corrected patch...
--
Eckehard Berns
diff -r 070112b7435f dwm.c
--- a/dwm.c Thu Jan 12 07:36:05 2012 +0100
+++ b/dwm.c Thu Jan 12 23:56:15 2012 +0100
@@ -907,6 +907,8 @@
}
On Thu, Jan 12, 2012 at 10:23:14PM +0100, Eckehard Berns wrote:
> I attached a somewhat ugly patch to correct the behavior, ...
Oops, we need raising in focusstack() not only for floating windows, but
also if we're in a floating layout. Corrected patch is attached.
--
Eckehard Berns
) simple where a glorified XRaiseWindow() anyway, but I'm not
too familiar with the dwm code, so I might be wrong.
--
Eckehard Berns
diff -r 070112b7435f dwm.c
--- a/dwm.c Thu Jan 12 07:36:05 2012 +0100
+++ b/dwm.c Thu Jan 12 22:07:34 2012 +0100
@@ -907,7 +907,8 @@
On Wed, Jan 11, 2012 at 10:20:43PM +0100, Anselm R Garbe wrote:
> On 11 January 2012 18:30, Eckehard Berns wrote:
> > Thinking about this, another way to fix this problem would be to
> > change all XRaiseWindow calls in dwm to restacking them just below the
> > bar and never
r is the problem here, but it seems my
solution isn't the best.
At work I'm on a 32-bit system, here I'm on 64-bit. I don't know if this
makes any difference or if there is another problem. It might be a race
condition between the XRaiseWindow in SDL and the receiving of the
scree
r
override redirect windows as well. I don't know if that would be worth
it.
--
Eckehard Berns
--- SDL-1.2.14/src/video/x11/SDL_x11modes.c~2012-01-11 17:38:21.138611142
+0100
+++ SDL-1.2.14/src/video/x11/SDL_x11modes.c 2012-01-11 17:30:52.906622687
+0100
@@ -968,6 +968,7 @@
ich ioquake3` -- :1").
--
Eckehard Berns
ssh-add
fi
fi
Hmm, just glanced over OpenBSD's manual for ksh and it seems all
constructs used are supported by OpenBSD's ksh - so the original code
should work there too... strange... or is TMPDIR set to something other
then /tmp? Does ssh-agent place its socket into /tmp/ssh-*/agent.*? (The
manual only states the socket lives in $TMPDIR/ssh-*/agent._ppid_.)
--
Eckehard Berns
ues with st besides performance at the moment (mainly xterm
compatibility - I ssh into a few machines and installing a new terminfo
everywhere is no option for me).
--
Eckehard Berns
works regardless of the TERM settings
(Vim inserts parts of the control sequences etc.). Haven't tried
anything else. I don't use arrow keys if I can avoid them and thus am
not very familiar which software supports modifier keys with arrows.
--
Eckehard Berns
On Sat, Aug 13, 2011 at 10:08:08PM +0100, Connor Lane Smith wrote:
> On 13 August 2011 21:41, Eckehard Berns wrote:
> > I do like your patch, something paranoid in me just wanted to point out
> > that your patch relies on the implementation of XGetClassHint not
> > t
not
tempering with ch when returning failure. I don't believe this really
matters though.
--
Eckehard Berns
ass)
+ XFree(ch.res_class);
+ if(ch.res_name)
+ XFree(ch.res_name);
c->tags = c->tags & TAGMASK ? c->tags & TAGMASK :
c->mon->tagset[c->mon->seltags];
}
8<---8<---
--
Eckehard Berns
;mon = selmon;
}
else {
c->mon = selmon;
could help you with oocalc (and might break other applications'
behaviours).
--
Eckehard Berns
iced that I didn't
encounter those freezes when using compositing. Thus I simply added a
"xcompmgr &" to my .xinitrc. I don't know if it helps with other setups.
I thought this problem was kinda unique to my setup.
--
Eckehard Berns
ine LENGTH(X) (sizeof X / sizeof X[0])
I couldn't find a #define in the X header files that would represent
the 8192 mask.
Using a list of expected masks breaks the numlockmask behavior somewhat,
but I'm not sure what numlockmask tries to fix anyway. If it is
important, one could use
(mask & (ShiftMask|...|Mod5Mask) & ~numlockmask)
--
Eckehard Berns
> The Tamsyn guy says it's an "aliased font". What does it mean?
He means it's not anti-aliased. See also
http://en.wikipedia.org/wiki/Aliasing
--
Eckehard Berns
sons).
Cool, forgot about dd for this.
--
Eckehard Berns
t. Chunked transfer encoding might make coding
wget with netcat and the shell impossible though.
--
Eckehard Berns
nxed. This is the only way I
> got it all working, do you have any ideas why)?
You could try to call "xset fp rehash" after you installed the new font.
X caches font information, so a rehash might show up new font glyphs.
--
Eckehard Berns
XCloseDisplay(dpy);
+ if (do_restart)
+ execlp(argv[0], argv[0], NULL);
return 0;
}
--
Eckehard Berns
mina = 0.0;
c->isfixed = (c->maxw && c->minw && c->maxh && c->minh
&& c->maxw == c->minw && c->maxh == c->minh);
+ c->hasusergeom = (size.flags & USPosition) || (size.flags & USSize);
}
void
--
Eckehard Berns
CWOverrideRedirect|CWBackPixmap|CWEventMask, &wa);
+ XDefineCursor(dpy, m->barwin, cursor[CurNormal]);
+ XMapRaised(dpy, m->barwin);
+ } else
+ XMoveResizeWindow(dpy, m->barwin, m->wx, m->by, m->ww,
bh);
}
}
--
Eckehard Berns
77 matches
Mail list logo