Re: [dev] [ANNOUNCE] vis-0.1: first release of a vim-like editor

2016-01-18 Thread Markus Teich
Heyho Jan,

Jan Christoph Ebersbach wrote:
> - Setting defaults requires patching some c file instead of config.def.h

have you tried the visrc.lua file in the repository root? You can do any `set`
command in there for your defaults. See my other mails in this thread.

> - It took me ages to start vis with the proper VIS_PATH and VIS_THEME
>   settings.  My installation directory for vis is ~/.local which is not
>   part of the default locations.  Furthermore, the manpage still refers
>   to ~/.vis as the location where to put my personal configuration but
>   it is actually ~/.config/vis.  I had to create a little shell script
>   that sets VIS_PATH and VIS_THEME before starting vis.  In my opinion
>   these obstacles make it very hard to start playing around with it.

I have vis checked out in ~/code/vis and just set an
`alias v="VIS_PATH=~/code/vis ~/code/vis/vis"` for my shell. Works fine so far.

--Markus



Re: [dev] surf

2016-01-18 Thread Kamil Cholewiński
> How do I save webpages?

wget? :)



Re: [dev] [slock] won't lock if unclutter grabbed mouse pointer

2016-01-18 Thread Markus Teich
Andreas Doll wrote:
> On 2016-01-15 at 23:21, Markus Teich wrote:
> > I don't like the man-page approach. Documentation always looses
> > synchronization to the codebase, so my proposal would be to output a similar
> > error message in slock. The link from "slock: could not grab pointer" to
> > `unclutter -grab` should be easy enough to discover then.
> 
> I also think this would be sufficient.

Heyho Andreas,

I just pushed a patch introducing the error messages. slock still tries for a
second to get the grab with the cover window already visible, but when failing
you can see the error message in your terminal.

--Markus



[dev] Pseudo-3D shooter written completely in awk using raycasting technique

2016-01-18 Thread Marc Collin
A friend told me about something you don't see every-day and I'm sure
people here are going to enjoy. [0]
It's a game inspired by the classic Wolfenstein 3D and Doom. The
novelty? It's a single awk file with ~650 lines of code. Wall
rendering is done using ray casting. Monsters and projectiles are
added after that as sprites. Ray casting is a simple rendering
algorithm that doesn't require any 3d modeling or complex computation.
Let me know what you think.

Best wishes.

[0] https://github.com/TheMozg/awk-raycaster



Re: [dev] Pseudo-3D shooter written completely in awk using raycasting technique

2016-01-18 Thread Jonathen Russell
Saw it on HN the other day, tried it out for a bit. Kind of hard to
use but I was surprised nonetheless.

On Tue, Jan 19, 2016 at 2:08 PM, Marc Collin  wrote:
> A friend told me about something you don't see every-day and I'm sure
> people here are going to enjoy. [0]
> It's a game inspired by the classic Wolfenstein 3D and Doom. The
> novelty? It's a single awk file with ~650 lines of code. Wall
> rendering is done using ray casting. Monsters and projectiles are
> added after that as sprites. Ray casting is a simple rendering
> algorithm that doesn't require any 3d modeling or complex computation.
> Let me know what you think.
>
> Best wishes.
>
> [0] https://github.com/TheMozg/awk-raycaster
>



Re: [dev] surf

2016-01-18 Thread Tom Butz
Hi there,

I installed/set up ssl: less error messages.
Then it couldn´t find st: I made sure it was there.
Still no success.

Then I tried UBUNTU: same thing, couldn´t save. But
printing to a PDF-file worked and the text was readable.

FreeBSD must be a bit special; I can live with that
and will probably run UBUNTU32 under OpenBSD in compatibility
mode.

Tom.
=
On Mon, 18 Jan 2016 22:42:36 +0100
Christoph Lohmann <2...@r-36.net> wrote:

> Greetings.
> 
> On Mon, 18 Jan 2016 22:42:36 +0100 Tom Butz  wrote:
> > Hi there,
> > 
> > surf is THE browser for FreeBSD! I love it, it does sound and movies just 
> > like that.
> > (Most webpages I visit do not use Flash).
> > 
> > How do I save webpages? Right-click ´Download..' comes up with error 
> > messgea on
> > the console (Blocked...). When I print to a file (PDF/PS/SVG) the text is 
> > unreadable
> > but the rest is ok. Do I need a special font?
> 
> For  download just see your config.h, where the command for the download
> is defined. You can change it to show some more debug info.
> 
> The print thing is a font problem, just install more.
> 
> 
> Sincerely,
> 
> Christoph Lohmann
> 
>  http://r-36.net
>  gopher://r-36.net
> ☺ http://r-36.net/about
>  1C3B 7E6F 9805 E5C8 C0BD  1F7F EA21 7AAC 09A9 CB55
>  http://r-36.net/about/20h.asc
>  2...@r-36.net
> 
> 


-- 
Tom Butz 



Re: [dev] Pseudo-3D shooter written completely in awk using raycasting technique

2016-01-18 Thread Silvan Jegen
On Tue, Jan 19, 2016 at 02:08:16AM -0200, Marc Collin wrote:
> A friend told me about something you don't see every-day and I'm sure
> people here are going to enjoy. [0]
> It's a game inspired by the classic Wolfenstein 3D and Doom. The
> novelty? It's a single awk file with ~650 lines of code. Wall
> rendering is done using ray casting. Monsters and projectiles are
> added after that as sprites. Ray casting is a simple rendering
> algorithm that doesn't require any 3d modeling or complex computation.
> Let me know what you think.

The thing this project tought me is that awk code can actually be clean.
In my mind it looked like perl (because that's what it looks like when I
have to use it...) but I have to review that notion.


Cheers,

Silvan




Re: [dev] surf

2016-01-18 Thread Christoph Lohmann
Greetings.

On Mon, 18 Jan 2016 22:42:36 +0100 Tom Butz  wrote:
> Hi there,
> 
> surf is THE browser for FreeBSD! I love it, it does sound and movies just 
> like that.
> (Most webpages I visit do not use Flash).
> 
> How do I save webpages? Right-click ´Download..' comes up with error messgea 
> on
> the console (Blocked...). When I print to a file (PDF/PS/SVG) the text is 
> unreadable
> but the rest is ok. Do I need a special font?

For  download just see your config.h, where the command for the download
is defined. You can change it to show some more debug info.

The print thing is a font problem, just install more.


Sincerely,

Christoph Lohmann

 http://r-36.net
 gopher://r-36.net
☺ http://r-36.net/about
 1C3B 7E6F 9805 E5C8 C0BD  1F7F EA21 7AAC 09A9 CB55
 http://r-36.net/about/20h.asc
 2...@r-36.net




Re: [dev] [bugs] st clears up upon resize and other little things

2016-01-18 Thread Brad Luther
Markus - Setting it to 0 worked very well.
Will try to get my head around getting the Delete key to work on st now.
Thanks.



On Sun, Jan 17, 2016 at 7:32 PM, Markus Teich
 wrote:
> Brad Luther wrote:
>> On the geometry being a multiple of the font, you say that "In the
>> past there was some work to avoid this situation adding pagging pixel
>> lines, and it generated a lot of problems". But ACE said there's still
>> a way touse it like that, by setting resizehints = False in config.h.
>> Would this bring problems?
>
> Heyho Brad,
>
> Just set it to 0 in dwm's config.h. It just enforces the client to use more
> space than requested and st handles it fine. I've used it for years now.
>
> --Markus
>