I got a problem report from Mark Willson:
"I recently installed mg (via the Debian package) under WSL on Windows
10.
I found that the 'backup-to-home-directory' option didn't work.
The cause of this appears to be that getlogin under WSL returns NULL,
probably due to my use of wslt
Yes this also works for me.
On Thu, Apr 12, 2018 at 4:52 PM, Florian Obser wrote:
> On Tue, Apr 10, 2018 at 06:49:10PM +0200, Han Boetes wrote:
> > I got a problem report from Mark Willson:
> >
> > "I recently installed mg (via the Debian package) under WSL on
&
For anyone interested in contributing to this specific branch,
Please have a look on github:
https://github.com/hboetes/mg/tree/display-wide-characters
On Wed, May 30, 2018 at 12:55 PM Leonid Bobrov wrote:
> Hi Stefan!
>
> I'm sorry, fileio.c was out of sync that day, that's my bad, I forgot
> t
From: http://www.opengroup.org/onlinepubs/009695399/utilities/dd.html
For the bs=, cbs=, ibs=, and obs= operands, the application shall
supply an expression specifying a size in bytes. The expression,
expr, can be:
1. A positive decimal number
2. A positive decimal number followed by k, spe
Simon Nicolussi wrote:
> one of the recent changes to tmux has the unintented side-effect
> that all clients are being redrawn every second. This is visible
> for people with slow terminals and furthermore makes copying
> text with the mouse quite tricky. Here's a trivial fix:
You will also notice
Hi,
In the rest of the document "maxsize" is used so I this one has to
be changed to "maxsize" as well.
Index: strftime.3
===
RCS file: /cvs/src/lib/libc/time/strftime.3,v
retrieving revision 1.22
diff -u -p -r1.22 strftime.3
--- str
Hi,
I just ran tried to install the kernel and ran:
make depend
make install
Since I forgot running "make" and since there is no dependency for
"bsd" the target removed my old kernel without installing the new
one.
How about this patch for the i386 target?
cvs server: Diffing .
Index: Make
Anathae E. Townsend wrote:
> > Han Boetes wrote on Sunday, October 18, 2009 1:51 PM
> I'm not a developer, and I don't speak for them, but I suspect
> that install does not depend on bsd for specific reasons.
>
> First guess, as make takes a while to run, and make insta
Good finds. To make them even better make sure your mta doesn't
wrap the lines. ;-)
Brad Tilley wrote:
> # cvs diff -Nup ping.c
> Index: ping.c
> ===
> RCS file: /cvs/src/sbin/ping/ping.c,v
> retrieving revision 1.85
> diff -N -u -p p
Giuseppe Magnotta wrote:
> I would like to submit a patch that will "enhance" the mbr of i386
> machines.
Could you be so kind as to provide us with a unified patch? You
can make one with: cvs diff -u
Thanks!
# Han
Nicholas Marriott wrote:
> On Sat, Apr 03, 2010 at 03:37:46PM +1030, Matthew Haub wrote:
> > We no longer track upstream less(1). The last sync was 7
> > years ago.
>
> Yes, but is that for a reason or just because nobody has
> updated it?
Because everybody uses w3m to replace less and lynx nowada
Yes, I have something to say about it:
A Dutch master Tim Krabe has published quite a bit about the shortest game:
http://www.xs4all.nl/~timkr/records/recordstxt.htm#Shortest%20game
So now the question is: do you still want to publish this
"shortest game"? And if you do I would publish it with m
Jason McIntyre wrote:
> I would say maybe not to stick the url in. otherwise fine by me.
I second that.
# Han
Hi there,
Here is a patch I received from Harald Dunkel; it ensured the backup
file has the same timestamp as the original file. This behaviour
comforms with emacs' behaviour. I think this patch is also useful for
upstream mg so I post it here.
Index: fileio.c
===
I just added a new domain in my nameserver and then ran acme-client
% sudo acme-client -D niets.boetes.org
acme-client: domain niets.boetes.org not found
So I assumed the dns was not yet in DNS. I waited a bit, checked the
propagation of my new entry in DNS, double checked
everything. Debugged, e
I recently used cppcheck on mg and I got this message:
[macro.c:41]: (error) Memory pointed to by 'lp1' is freed twice.
Looking at the code:
/* free lines allocated for string arguments */
if (maclhead != NULL) {
for (lp1 = maclhead->l_fp; lp1 != maclhead; lp1 = lp2) {
lp
Hello Miod,
Will certainly do, thanks for your input!
Miod Vallat wrote:
> > I recently used cppcheck on mg and I got this message:
> >
> > [macro.c:41]: (error) Memory pointed to by 'lp1' is freed twice.
> >
> > Looking at the code:
> >
> > /* free lines allocated for string arguments */
> >
Jason McIntyre wrote:
> fixed, and an identical link in uath(4) removed too.
Might I suggest pulling all sourcefiles through a linkchecker?
# Han
You can use them but it is pointless.
Brynet wrote:
> I think this was a feature, right? :-)
>
> Index: netcat.c
> ===
> RCS file: /cvs/src/usr.bin/nc/netcat.c,v
> retrieving revision 1.101
> diff -u -p -u -r1.101 netcat.c
> --- netca
Hi,
I noticed emacs failed to build after switching to 5.3. I
discussed the matter with the emacs devs and they added some debug
code which is triggered by CFLAGS='-g3 -DUNEXELF_DEBUG' So when
it's building the main binary at "Dumping under the name emacs" I
get this output:
old_bss_index 25
old_
Han Boetes wrote:
> I noticed emacs failed to build after switching to 5.3. I
> discussed the matter with the emacs devs and they added some
> debug code which is triggered by CFLAGS='-g3 -DUNEXELF_DEBUG' So
> when it's building the main binary at "Dumping under the
Jérémie Courrèges-Anglas wrote:
> Does that mean that *only* building with -DUNEXELF_DEBUG fails? If so,
> the problem is perhaps not that important...
In that case I would not have reported a problem.
> I don't have a 64 bits host to repeat it. Please make it clear that the
> very last version
Mark Kettenis wrote:
> > Date: Sat, 11 May 2013 04:41:03 +0200
> > From: Han Boetes
> >
> > Han Boetes wrote:
> > > I noticed emacs failed to build after switching to 5.3. I
> > > discussed the matter with the emacs devs and they added some
> >
Hi,
I took a leap of faith and discovered some options not mentioned
in pf.conf(5). What do you think of this patch?
Index: share/man/man5/pf.conf.5
===
RCS file: /cvs/src/share/man/man5/pf.conf.5,v
retrieving revision 1.476
diff -u
If it was easy I bet you would already have fixed it. And you're
much more of a coder than me.
Henning Brauer wrote:
> if memory serves set logingterface for anything but a single
> interface doesn't lead to the intended results, so this is on purpose.
> unless you fix the code so that pfctl -si
Henning Brauer wrote:
> * Han Boetes [2010-12-16 16:41]:
> > If it was easy I bet you would already have fixed it. And you're
> > much more of a coder than me.
>
> it should be rather easy actually. i just never got around to do it.
Well half of the job has already been done. ;-)
# Han
Mark Kettenis wrote:
> > From: Marco Peereboom
> >
> > I kind of disagree with you mark and I think that the diff
> > makes sense.
>
> FWIW, I feel too strongly about this.
If you want to check it check it properly. For example use stat to
see if LD_PRELOAD contains an existing file or use file t
Kjell Wooding wrote:
> I might add an undo boundary around the whole thing (I note
> emacs doesn't do this properly, at least on the version I have
> here)...
Undoing join-line works fine with the emacs version I am using
here. Built 2 days ago, from git.
~% emacs --version
GNU Emacs 24.0.50.1
At the moment all spamd greylisting cares about is, "does it retry
connecting?" Unfortunately a lot of spammers do a spamrun and
simply try sending a spam message or 10 and then move on to the
next smtp server on their list and that get's them white listed in
a matter of seconds.
Not really a prob
Kevin Chadwick wrote:
> Have you looked at greyscanner in ports.
I didn't realize there is an updated version. The original I used
for some time missed almost every spammer. Then I started
scripting something simple myself.
I'll have a look at it.
# Han
Boudewijn Dijkstra wrote:
> Op Tue, 29 Nov 2011 21:54:37 +0100 schreef Han Boetes
> :
> > At the moment all spamd greylisting cares about is, "does it retry
> > connecting?" Unfortunately a lot of spammers do a spamrun and
> > simply try sending a spam mes
Kevin Chadwick wrote:
> On Wed, 30 Nov 2011 20:00:27 +0100
> Han Boetes wrote:
>
> > So for some reason passtime is ignored on my machine. I've tested
> > this with telnet quite extensively. And after 3,4,5 attempts in a
> > minute or so the address is whitelisted.
Not to jhijack the thread but to show another -- more generic way
-- of dealing with apps that fail silently:
This changes the prompt $ to red incase the $? return value of the
previous process returned non-zero.
red=$(printf '\e[31m')
export PS1='\[\e[0;36m\]\w\[\e[01m\]\[\e[30m\]$([ $?
The current libpcap distribution contains the pcap-filter manpage
which in my opinion is a very useful manpage for the use of tcpdump.
http://www.manpagez.com/man/7/pcap-filter/
http://www.tcpdump.org/release/libpcap-1.2.1.tar.gz
Please consider adding it to the distribution.
# Han
Lawrence Teo wrote:
> On Mon, Mar 05, 2012 at 12:43:07AM +0100, Ingo Schwarze wrote:
> > > http://www.manpagez.com/man/7/pcap-filter/
> > > http://www.tcpdump.org/release/libpcap-1.2.1.tar.gz
> > >
> > > Please consider adding it to the distribution.
> >
> > From cursory inspection, it looks like O
4:46 +1100
From: "Trent W. Buck"
To: Han Boetes
Subject: Re: mg: The Delete key should delete the character to the right of the
cursor
Han,
How do you feel about applying this change upstream (of me/Debian)?
Ref. http://bugs.debian.org/661732
Date: Wed, 29 Feb 2012 20:28:27 +0100
Fr
If I'm not entirely mistaken this patch results in simpler and
more readable and straight forward code. The current code checks
for directories that can not exist since they were removed a few
lines before and then creates them.
Index: rc
===
I still think this is a good patch so I bump it. Here is the original post:
http://marc.info/?l=openbsd-tech&m=133288428820832&w=2
# Han
Hi,
I just ran a script converting a bunch of files to mp3 and since I have
a 8 core machine now I'd like to make my little script multi-threaded.
So each resulting lame process will go to another core.
When I ran the script I noticed that all processes ended up being run on
the same processor. T
I found this mistake in the stat manpage:
Index: sys/stat.2
===
RCS file: /cvs/src/lib/libc/sys/stat.2,v
retrieving revision 1.31
diff -u -p -r1.31 stat.2
--- sys/stat.2 17 Nov 2011 14:26:14 - 1.31
+++ sys/stat.2 10 Jul 201
I found these typos in the stat(2) manpage:
Index: sys/stat.2
===
RCS file: /cvs/src/lib/libc/sys/stat.2,v
retrieving revision 1.31
diff -u -p -r1.31 stat.2
--- sys/stat.2 17 Nov 2011 14:26:14 - 1.31
+++ sys/stat.2 10 Jul
Hi,
This is my idea of how to implement this functionality. Rather
simple and transparent. If you like the idea but think you can
make a better implementation feel free to make it..
Yes there are other implementations that can do about the same,
but I wanted to write something the OpenBSD way.
I
Gilles Chehade poolp.org> writes:
> Also, restarting a daemon that has crashed because of an exploit means
> you expose it again with maybe less luck next time (kindly reminded by
> mail
Right, that's a valid point. In that case you'd only want an email to be sent.
Either way, my script is from
So I am running unbound with the dnssec extensions:
% stripcom /var/unbound/etc/unbound.conf
server:
verbosity: 1
module-config: "validator iterator"
auto-trust-anchor-file: "/var/unbound/etc/root.key"
val-log-level: 2
% nslookup www.dnssec-failed.org
;; Got SERVFAIL reply from 127.0.0.1, tryin
44 matches
Mail list logo