Re: [dev] Update outdated suckless website

2021-06-11 Thread Carlos Torres
Hi Martin,

On Fri, Jun 11, 2021 at 2:16 AM Martin Tournoij  wrote:
>
> This email has been written with TDD.

I'm offended by your lackadaisical use of the term TDD

>
> Martin Tournoij
> Innovator.
> Visionary.
> Industry Thought Leader.
> Cloud-Native Web Citizen.
> Webscale Blockchain Engagement Expert.
> Official Certified Oracle™® Cunt™® (2020)
> Decoupled Microservice Turd Flinger
>

you forgot to mention you're also an "influencer"



Re: [dev] Programs that rock

2021-01-25 Thread Carlos Torres
You Guys can, checkout the suckless sites repo
git://git.suckless.org/sites and submit your own preferred changes for
review.

--Carlos

On Mon, Jan 25, 2021 at 2:00 AM Kyryl Melekhin  wrote:
>
> Mart Zirnask  wrote:
>
> > I will definitely try out neatvi, but shouldn't you mention somewhere
> > in your readme that it is a fork of Ali Gohlami Rudi's neatvi? [1] His
> > other framebuffer applications [2] would probably also deserve a place
> > in the 'rocks' listing.
>
> True, it does not mention that it's from Ali,
> I thought it was common knowledge, but he is credited in the
> source code comment. I'll credit him in the readme also if it
> bothers you so much. Although the amount of effort I put into the fork
> is probably equal to what Ali made, so there is a reason why I posted
> my version. So try the stock version, see what features are missing for
> your needs, then try mine, do a diff and patch if I have the features
> you may need, and have your own custom fork. Keep in mind though that
> I made my neatvi a general purpose editor that I use for everything now,
> I comletely got rid of VIM from my system, which is considered harmful.
> So ideally my wish is to make people do the same. Many people use dwm and
> st and it grew to have many good patches and infinite user control. So
> why can't we have the same good things for a text editor? I tried all
> text editors listed on the rocks page and all of them were not suitable
> for hacking in some way, just like how easy it is to hack on st or dwm
> for example. But neatvi came in as a saving hero.
>
> I wouldn't mind also adding other Ali's apps on the rocks page.
>
> Regards,
>



Re: [dev] [TinyGL]Request to add project to suckless.org repositories

2020-10-13 Thread Carlos Torres
Hello Gek,

On Mon, Oct 12, 2020 at 5:16 PM geklmintendont  wrote:
>
> Dear Suckless Community,
>
> I am the maintainer of the most up-to-date
> TinyGL fork.

bold words, you just took over the project on Oct 8th 2020,  from
someone that took it over August 23rd 2020, Since the last commit in
2015
it seems you don't yet appear to be committed to maintaining it.

>
> I was wondering if
> you would either...
> 1) Like to fork my project onto your site
> 2)
> Contribute
> 3) Give me a repository to push to on suckless.org for the
> project.
>

just add a link to the stuff that rocks http://suckless.org/rocks/ and
go from there,  stamina counts.

--Carlos



Re: [dev] Some suckless hackathon 2017 preparation

2017-09-01 Thread Carlos Torres
Hello,

> On Aug 30, 2017, at 2:07 PM, Silvan Jegen  wrote:
> 
> * Wayland dwm prototype?
> * Suckless Wayland client library prototype?

I think Michael Forney has already addressed these issues. 

And many others.

—Carlos




Re: [dev] oasis: small linux system inspired by stali

2017-02-12 Thread Carlos Torres
Hi Michael,

On Sun, Feb 12, 2017 at 4:55 PM, Michael Forney  wrote:
> For a while now, I've been working on putting together a linux system
> based on suckless core tools, as well as various other projects. There
> are still a number of things left to do, but I'm now at a point where
> it is quite usable for me, and maybe for others as well.
>
> https://github.com/michaelforney/oasis/wiki
> https://github.com/michaelforney/oasis/releases
>

This looks very interesting

Thanks



Re: [dev] surf: connection progress

2017-01-06 Thread Carlos Torres
The Window Title already shows the url you're mousing over.

On Fri, Jan 6, 2017 at 12:42 PM, Joshua Haase  wrote:
> Greg Minshall  writes:
>
>> it would also be nice to show the URL as a pop-up (whatever) when the
>> mouse hovers over an active link.  (i like this in general, but it can
>> be useful for avoiding clicking on phishing links.)
>
> If you hover your mouse on a link, it sets the window title to the link
> target. If you use dwm it shows right on the top of your screen.
>
>> i looked, inexpertly, but some sort of add-on to allow this (these)
>> didn't pop out at me.  did i miss something?  if not, how hard would it
>> be to add?
>
> You can look for patches adding functionality on
> 
>



Re: [dev] how to view the output of st -o some_file? particularly with less

2016-05-28 Thread Carlos Torres
Hi Britton,

On Sat, May 28, 2016 at 3:29 PM, Britton Kerin  wrote:
>
> What I'm really looking to do is replace scrollback in gnome-terminal

there might be a scrollback patch on the suckless st site,

but you might want to try dvtm within st.

--Carlos



Re: [dev] suckless shared tools

2016-02-28 Thread Carlos Torres
Hello kowal256,

On Sat, Feb 27, 2016 at 8:03 PM, Daniel Kowalski  wrote:
> Synchronization of common code between projects is built into git:
> https://git-scm.com/docs/git-submodule

That had been proposed and discused earlier, and it was considered full of suck.

--Carlos



Re: [dev] [ANNOUNCE] slock-1.3

2016-02-13 Thread Carlos Torres
you can already use xssstate to monitor the state of the screen and
the screensaver, why not use that to do both slock, and eventually
sleep?

--Carlos

On Sat, Feb 13, 2016 at 3:57 PM, hiro <23h...@gmail.com> wrote:
> Oh god no.
>
> You guys must have some strange use cases.
>
> When I run slock there's no way for me to miss whether it ran or not
> (It is pretty visible all over my screen). So I have like 1 second to
> notice this before my display shuts off for standby. In the unlikely
> event of catastrophic X-Bullshit I can just wake up my computer or
> throw it out the window and by this clear the RAM before the police
> arrives.
>
> Anyway, it would be more useful to concentrate on the password
> checking part, it segfaults commonly (which is fucking ridiculous!!)
> because ldap, linux, etc. suck.
>
> As I'm lazy I've developed a habit of using this to my advantage. When
> I get into my office I just press enter, every second time the network
> is broken (because of networkmanager) and slock segfaults while trying
> to check the password via ldap, thus i save a lot of time I'd
> otherwise waste typing my super-secure password.
>
> I would even do without *any* password, but it's company policy to screenlock.
>
> I suggest this very platform-independent alternative interface (you
> can remove special-casing for linux,bsd and such bullshit):
>
> slock < password-file
>



Re: [dev] [dwm] 6.1 release

2015-12-07 Thread Carlos Torres
Hello,
  For xft Terminus, I simply use "Terminus:bold:size=9", that
seems to work best, you should check "fc-list | grep Terminus"
to see if Terminus is in fontconfig fontpath (or whatever its called)
or else add it, like so "xset +fp ~/.fonts/terminus" or where ever
you have yours, with .xinitrc or something. there used to be a
way to mention xlfd fonts for xft, (i forgot how though, surely
the Arch wikis cover this somewhere?) eitherway read up on
fc-pattern fc-list fc-cache fc-match etc... and xset :) or like Frign
said, don't upgrade.  its not necessary

--Carlos



Re: [dev] paste@

2015-11-23 Thread Carlos Torres
JWZ’s Law of Software Envelopment: “Every program attempts to expand
until it can read mail. Those programs which cannot so expand are
replaced by ones which can.”



Re: [dev] MIT/BSD licensed ELF linker?

2015-11-23 Thread Carlos Torres
Hello,

On Tue, Aug 4, 2015 at 8:42 PM, Anselm R Garbe  wrote:
> Hi there,
>
> I'm working on a new stali distro (current state will be published
> during the next days) and am looking for a ELF capable linker that
> doesn't suffers from GPL/copyleft licensing issues.
>
> Background: I need to solve the problem of not offering pre-linked
> binaries that combine GPLed portions with other licensed portions...
> but to come up with a neat solution, I'd like to rely on a free ELF
> linker.
>
> Suggestions?

I haven't tested any of the suggested below.  but they look
interesting and are BSD Licensed

* cc:   git://repo.or.cz/neatcc.git
* ld:   git://repo.or.cz/ld.git
* as:   git://repo.or.cz/neatas.git
* libc: git://repo.or.cz/neatlibc.git

http://litcave.rudi.ir/

>
> Best regards,
> Anselm
>



Re: [dev] [st] can't use Xterm font

2015-02-24 Thread Carlos Torres
the reason xfontsel and xlsfonts aren't that usefull anymore is
because of Xft, and fontconfig,  of which you should read all the
manuals for.  there are ways to use xlfd definitions with Xft though.
and you can change which mono font you pick up with fontconfig too.

--Carlos

On Tue, Feb 24, 2015 at 4:01 PM, Greg Reagle greg.rea...@umbc.edu wrote:
 On Tue, Feb 24, 2015, at 03:50 PM, Samuel Holland wrote:
 fc-match mono

 That works.  Thank you so much.  I am familiar with the old commands
 xlsfonts and xfontsel, which, apparently, aren't relevant anymore.  I
 guess X does fonts differently, not like when I learned the old commands
 years ago.

 In case anyone is curious, the answer I got was:
 ~ fc-match mono
 DejaVuSansMono.ttf: DejaVu Sans Mono Book

 --
 http://www.fastmail.com - Faster than the air-speed velocity of an
   unladen european swallow





Re: [dev] surf trivial bugs patch

2015-01-17 Thread Carlos Torres
Hello,

On Sat, Jan 17, 2015 at 1:23 AM, Christoph Lohmann 2...@r-36.net wrote:
 Thanks, the patch has been applied.


cmd[] still appears to be 1 short

--Carlos



Re: [dev] security issue running surf from home folder

2015-01-15 Thread Carlos Torres
Hello,

On Wed, Jan 7, 2015 at 3:29 PM, Christoph Lohmann 2...@r-36.net wrote:
 Theses patches have been discussed on IRC. The optimal solution has been
 to make the default DOWNLOAD macro to ask for a string. If the string is
 empty,  pass  ‐O  to  curl,  if  it’s non‐empty add ‐‐create‐dirs and ‐o
 $string to curl.

 Any comments on this?


For a while now, i've been maintaining a patch in my queue that cd's to
a downloads destination dir in the DOWNLOAD macro.  it would be nice to
have what you mentioned above. -D/-d hasn't been taken maybe that could
enabledownloadprompt?

--Carlos



Re: [dev] patch for bell in st

2014-10-03 Thread Carlos Torres
Hello,

On Fri, Oct 3, 2014 at 3:25 PM, CustaiCo custa...@openmailbox.org wrote:
 The XBell() call currently used when a bell is recieved sends a message
 to the X server, but if the X server doesn't know how to sound it,
 it just gets ignored and I have not been able to find anywhere in x.org's
 code a way to configure the action that the server does.

I think the trick here is xset(1)

--Carlos



Re: [dev] [st] Colors

2014-07-25 Thread Carlos Torres
Yo,

On Fri, Jul 25, 2014 at 3:04 AM, Martti Kühne mysat...@gmail.com wrote:
 This might be a bit over the top, I'll still reuse it, as it's
 somewhat relevant to the topic.
 So, why would you only want to customize the colors? Why not go full
 pikachu [0]!?

 cheers!
 mar77i

 [0] http://jeanguyomarch.github.io/pikalogy/


This is awesome!!  there should be a Mortal Kombat terminal too with Subzero!!

--Carlos



Re: [dev] [st] Colors

2014-07-25 Thread Carlos Torres
On Fri, Jul 25, 2014 at 12:30 PM, Henrique Lengler
henriquel...@openmailbox.org wrote:

 This is awesome!!  there should be a Mortal Kombat terminal too with 
 Subzero!!

 --Carlos

 I would say that this is a kind of strange

 --
 Henrique Lengler


Or it could be a terminal thats like wolfenstein, and thats how you
navigate through the fs,  and you can shoot files to remove them, or
throw files to create them
and there are monsters trying to get you!   but you have a BFG or something

--Carlos



Re: [dev] [st] Colors

2014-07-24 Thread Carlos Torres
Yup,

On Thu, Jul 24, 2014 at 7:30 PM, Henrique Lengler
henriquel...@openmailbox.org wrote:
 Hi,

 I'm not familiar with st code, so i wanna know if have how i change st
 colors? Not just selecting one in the config.h file but change
 how this color looks. E.g Point black color to some RGB hexcode like
 people do with urxvt, to make it look more beautiful.

 --
 Henrique Lengler


So attached is my version of a solarized st.  with the coolest FONT EVER!
and it probably doesn't apply to the head of st.  but its an example :)

--Carlos


st_solarized.patch
Description: Binary data


Re: [dev] [st][PATCH] Add info about Backspace and Delete to the FAQ

2014-07-24 Thread Carlos Torres
Yes, there are some grammatical errors but they can be fixed with
patches later :)

--Carlos



Re: [dev] [st] Colors

2014-07-24 Thread Carlos Torres
Hey Henrique,

On Thu, Jul 24, 2014 at 8:57 PM, Henrique Lengler
henriquel...@openmailbox.org wrote:

 No i mean point a color to another. Like the black in my terminal is
 pointed to a hexcode of a red color, so when st display black
 requested by an application it will show red.
 People do this like change a normal green to a darker.


changing the colorname array does that.   the 8 normal colors in that
array are used for each of the different escape codes which would
normally be black, red, green, yellow, blue, magenta, cyan and gray
respectively.  you can actually change all 256 colors if you so
please,  but the first eight are for the ones above.  Hope that helps.

--Carlos



Re: [dev] Looking for simple, alpha supporting image format

2014-07-18 Thread Carlos Torres
On Fri, Jul 18, 2014 at 1:56 PM, Charlie Murphy cmsmur...@gmail.com wrote:
 FRIGN wrote:
 But it would be cool if the user wouldn't have to manage this and
 instead was able to rely on any converter to take care of this.

 Perhaps it can have an option, like tar does?

 tar -cjf archive.tar.bz2 archive

 imagergba -j ponies.png ponies.image.bz2

 Charlie Murphy



maybe the future sbase version of bzip and bunzip should have an
option to skip a certain length in bytes at the start before
un/compressing?


--Carlos



Re: [dev] [sandy] Undo, redo and repeat

2014-07-15 Thread Carlos Torres
Hey,

On Tue, Jul 15, 2014 at 4:20 AM, Rafa Garcia Gallego
rafael.garcia.gall...@gmail.com wrote:
 TODO: need to extend the repeat framework (i.e. the '.' command) to
 store operations, multiplication and their parameters.

 This reminds me of the record option in vim with
qkeytypeStuffsAndEditq
@key   to replay...


i never got the . command to do much other than repeat the latest
insert or delete...(probably me).

Am i way off?

--Carlos



Re: [dev] [sandy] Implement copy/paste/replace?

2014-07-14 Thread Carlos Torres
if by copy paste you mean getting and putting text from the X
selection stuff, like primary, secondary and clipboardi think
shell stuff is enough,  and allows for tools specifically made to
handle that kind of stuff like xsel, xclipboard etc...

if you mean yanking and putting,  and visual blocks etc... that should
be handled internally in sandy. like vim handles buffers. etc..

my opinion

--Carlos

On Mon, Jul 14, 2014 at 11:47 AM, Dimitris Zervas dzer...@dzervas.gr wrote:
 Hello guys,

 I just wanted your opinion in implementing a feature inside the code
 or calling it via sh.
 Which are the advantages for calling a script?
 Isn't it performance killer?




Re: [dev] suckless arg.h

2014-07-14 Thread Carlos Torres
Hello,

On Mon, Jul 14, 2014 at 12:20 PM, Weldon Goree wel...@langurwallah.org wrote:
 How much of util/ needs to be pulled in if one copies arg.h and its
 fairly awesome ARGBEGIN, etc.?

 Weldon


The arg.h header has everything it needs to exist on its own. without
needing to pull anything else in.
All the macros work together to produce valid code after the pre-processor

Enjoy!
--Carlos



Re: [dev] suckless arg.h

2014-07-14 Thread Carlos Torres
Hello,

On Mon, Jul 14, 2014 at 1:16 PM, Weldon Goree wel...@langurwallah.org wrote:
 On 07/14/2014 09:54 PM, Carlos Torres wrote:
 Enjoy!

 I do! Huge thanks to all of those who made this.


I think full credit goes to 20h :)

--Carlos



Re: [dev] suckless arg.h

2014-07-14 Thread Carlos Torres
On Mon, Jul 14, 2014 at 1:28 PM, Dimitris Papastamos d...@spl9.org wrote:
 On Mon, Jul 14, 2014 at 01:19:22PM -0400, Carlos Torres wrote:
 Hello,

 On Mon, Jul 14, 2014 at 1:16 PM, Weldon Goree wel...@langurwallah.org 
 wrote:
  On 07/14/2014 09:54 PM, Carlos Torres wrote:
  Enjoy!
 
  I do! Huge thanks to all of those who made this.
 

 I think full credit goes to 20h :)

 as well as the plan9 authors for coming up with the interface :)

 the original implementation is here (at the very bottom):
 http://plan9.bell-labs.com/sources/plan9/sys/include/libc.h


look at that!,  i didn't know this!
Thanks

--Carlos



Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-11 Thread Carlos Torres
On Thu, Jul 10, 2014 at 6:32 PM, Dimitris Papastamos s...@2f30.org wrote:
 There are many ways to do this, I'd go for the simplest approach in terms of 
 code
 readability and stop worrying about performance.

 If it is slow or memory hungry, it can be fixed later incrementally.


I agree with this approach, its how st has evolved and it makes sense.

--Carlos



Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-09 Thread Carlos Torres
Dimitris,
http://git.dzervas.gr/sandy/commit/?id=60777b454326ce3790fcaf530fe3fd73469b5605
config.h is generated by Makefile from config.def.h

you should put your changed in config.def.h instead, no?

then maybe Rafa can pull your changes into his mainline easier.
if he wants them :p

--Carlos



Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-09 Thread Carlos Torres
Hey Marc,

On Wed, Jul 9, 2014 at 4:42 PM, Marc André Tanner m...@brain-dump.org wrote:
 On Wed, Jul 09, 2014 at 09:14:16PM +0200, Rafa Garcia Gallego wrote:
 ...this includes
 a design based on piece tables rather than the double linked list approach
 taken by sandy.

What are the performance benefits of having the piece table instead?

--Carlos



Re: [dev] [sandy] [PATCH] VIM key bindings.

2014-07-09 Thread Carlos Torres
Yo

On Wed, Jul 9, 2014 at 5:00 PM, Carlos Torres vlaadbr...@gmail.com wrote:
 Hey Marc,

 On Wed, Jul 9, 2014 at 4:42 PM, Marc André Tanner m...@brain-dump.org wrote:
 On Wed, Jul 09, 2014 at 09:14:16PM +0200, Rafa Garcia Gallego wrote:
 ...this includes
 a design based on piece tables rather than the double linked list approach
 taken by sandy.

 What are the performance benefits of having the piece table instead?

http://www.cs.unm.edu/~crowley/papers/sds.pdf

Nevermind, i answered my own questions about the two methods.

--Carlos



Re: [dev] Graphics library that sucks the least?...

2014-07-07 Thread Carlos Torres
On Mon, Jul 7, 2014 at 5:02 PM, Nick suckless-...@njw.me.uk wrote:
 Quoth Calvin Morrison:
 There was at one time a suckless widget system in the works, I don't
 know what happened to that.

 swt was the name;

https://github.com/vlaadbrain/swt.git
I started swt.  but its been idle for a while. not sure i see a purpose in it.
though it does highlight the need for better text drawing in libsl.
so go for it Lee.


 http://git.suckless.org/swk
 If someone wanted to pick it up, that'd be nice.

swk is pancakes.  uses https://bitbucket.org/radare/libdc

--Carlos



Re: [dev][libsl] Naming scheme

2014-07-07 Thread Carlos Torres
Yo,

On Mon, Jul 7, 2014 at 6:29 PM, Lee Fallat ircsurfe...@gmail.com wrote:
 AFAIK no graphical official suckless programs
 use libsl yet...)

the way you use libsl is a bit un-orthodox.  you basically check it
out into your project and just use it that way.

dwm uses libsl (somewhat), in that way... see it has drw.{c|h}

--Carlos



Re: [dev] [PATCH] Add tab-completion file-name expansion.

2014-07-07 Thread Carlos Torres
Hello,

On Mon, Jul 7, 2014 at 7:20 PM, Maxime Coste frrr...@gmail.com wrote:
 On Mon, Jul 07, 2014 at 09:39:36PM +0200, Anselm R Garbe wrote:
 On 7 July 2014 21:24, Maxime Coste frrr...@gmail.com wrote:
 Otherwise the tomatos that you harvest
 in the summer in your garden might also become property of your
 employer ;)

 It does not really apply to tomatoes, as you do not create intellectual
 property by growing them. I expect any intellectual property based work
 contract to contain similar clauses.


hmm.  in a similar vein, Monsanto holds patents for various corns and other
vegetables and are rumored to go around testing other peoples crops to sue
them and gain control of the crops that match genetically, whether its through
cross pollination or straight up usage of unregistered Monsanto seeds.

but i digress.

--Carlos



Re: [dev] suckless distro

2014-06-25 Thread Carlos Torres
FWIW the subject of the thread is straying away from suckless distro

On Wed, Jun 25, 2014 at 9:34 AM, Dimitris Papastamos s...@2f30.org wrote:
 On Wed, Jun 25, 2014 at 02:57:30PM +0200, Sylvain BERTRAND wrote:
 I stole parts of the ffmpeg configure script for my
 needs.

 Nothing to see here.




Re: [dev] suckless distro

2014-06-25 Thread Carlos Torres
On Wed, Jun 25, 2014 at 11:22 AM, Martti Kühne mysat...@gmail.com wrote:
 Thread subjects are overrated. As is bottom posting.


touché sir, touché!



Re: [dev] suckless distro

2014-06-25 Thread Carlos Torres
i think Slackware is a fairly simple distro.  like sin mentioned you
can have a fairly small install with tag files.  It also hasn't
changed much in 10 years.  they just have new packages :)

there are some live distros like slax that are based on slackware :)
or corelinux are good.

i think the effort for morpheus or sta.li are both necessary since
most distros have strayed away from simplicity.

--Carlos



Re: [dev] suckless distro

2014-06-25 Thread Carlos Torres
On Wed, Jun 25, 2014 at 2:17 PM, Sylvain BERTRAND sylw...@legeek.net wrote:
 giberish...
 Sylvain


why don't you start another thread about makefiles vs shell scripts



Re: [dev] [PATCH] Remove dead code.

2014-06-23 Thread Carlos Torres
Hey Markus,

On 6/21/14, Markus Teich markus.te...@stusta.mhn.de wrote:
  tabbed.c | 3 ---
  1 file changed, 3 deletions(-)

...

 diff --git a/tabbed.c b/tabbed.c
 index ba22f9a..cbdaa1f 100644
 --- a/tabbed.c
 +++ b/tabbed.c

good thing your text mentioned tabbed,  though i think subjects and
file patches are nicer.

--Carlos



Re: [dev] Microblogging?

2014-05-23 Thread Carlos Torres
On 5/23/14, Dimitris Papastamos s...@2f30.org wrote:
 On Fri, May 23, 2014 at 11:51:19AM +0200, Manolo Martínez wrote:
 Do you guys hang out at any microblogging platform? I used to use
 identi.ca, but the move to pump.io put me off somewhat -- the client I
 was used to use didn't work anymore, etc. Also, as far as I can tell,
 there's not much going on there these days.

 Anyway, is everyone (who is somewhere) at Twitter and Google+? Hopefully
 not?

 hiro is microblogging on this ml.


microcomment yay



Re: [dev][sic][PATCH] reset channel buffer after leaving saved channel

2014-02-24 Thread Carlos Torres
Hello,

On 2/24/14, Krol, Willem van de 008...@jfc.nl wrote:
 Hi,

 sic saves the first channel you join, but doesn't reset this after you
 leave that channel. This patch fixes this, so the channel buffer will
 contain the right channel if you joined only one channel.

 Willem van de Krol


first one was received...



Re: [dev][sic][PATCH] reset channel buffer after leaving saved channel

2014-02-24 Thread Carlos Torres
I think it takes a day for the list to update? on lists.suckless.org,
just a guess.
I got your first email Fed 22, 2014 at 4:14pm

On 2/24/14, Krol, Willem van de 008...@jfc.nl wrote:
 Yes, but very late. I waited more than a day but didn't see my mail on
 the mailing list for some strange reason.

 On Mon, Feb 24, 2014 at 5:47 PM, Carlos Torres vlaadbr...@gmail.com
 wrote:
 Hello,

 On 2/24/14, Krol, Willem van de 008...@jfc.nl wrote:
 Hi,

 sic saves the first channel you join, but doesn't reset this after you
 leave that channel. This patch fixes this, so the channel buffer will
 contain the right channel if you joined only one channel.

 Willem van de Krol


 first one was received...






Re: [dev] [dwm] [PATCH] Tags grid and xxkb-like behaviour

2014-02-14 Thread Carlos Torres
Thanks for you patches,

you can push them on to the wiki too..

just clone git://git.suckless.org/sites and somewhere in there is a
dwm wiki, you can add your patches and documentation for them there.

--Carlos

On 2/14/14, Yury Shvedov sh...@lvk.cs.msu.su wrote:
 Hi,

 I'm newbie in dwm, so I felt the luck of desktops grid like in other
 Window Managers like XFCE or OpenBox. And I couldn't find any solution
 for multiple rows of tags, so I decided to make it by myself.

 In addition I got assumed to xxkb's functionality, but it have some
 problems with dwm, described here:
 http://lists.suckless.org/dwm/0808/6471.html
 So I decided to implement this functionality directly in dwm. While
 implementation I had some problems with applications like guake which
 have hide-restore behaviour. Unfortunately, dwm removes information
 about any unmapping client so I had to store list of xkb info separately.

 I lived with this two patches for a week and they seems to work nice,
 but I think they need to be checked.

 P.S. xkb patch have small conflict with systemtray patch which easy to
 solve manually.

 P.P.S Sorry for my English.






Re: [dev] [dwm] [PATCH] Tags grid and xxkb-like behaviour

2014-02-14 Thread Carlos Torres
Hello Yury,

On 2/14/14, Yury Shvedov sh...@lvk.cs.msu.su wrote:
 But I thought they must pass some kind of verification don't they?

putting them on the wiki doesn't mean they get mainlined.  Its another
way of sharing your ideas.  If you think they're useful, patches can
be submitted to the wikis repo,  the push gets reviewed, and may
appear tomorrow.   by putting them on the wiki you can also maintain
the patches as dwm evolves (slowly)

as for your code and the the quality,  a review may happen if someone
else finds them useful/interesting.

--Carlos



Re: [dev][ubase][PATCH] alternative - return exit codes like util-linux

2014-02-10 Thread Carlos Torres
Hello,

On 2/10/14, sin s...@2f30.org wrote:
 So I don't see how or-ing the return values actually does anything.
 It can only be -1 or 0.

 Am I missing something here?

No sir.  this patch simply emulates whats wrong with util-linux's
swapon/swapoff.
Its not necessary unless you want full compatibility.

--Carlos



Re: [dev] [surf] [PATCH] improve title change handling

2014-02-09 Thread Carlos Torres
I'm weary about ifdef statements and it doesn't look like this would
handle future versions of webkit anyway.

--Carlos

On 2/9/14, Quentin Rameau quinq...@gmail.com wrote:
 Here is another patch, I'm not sure we should handle multiple versions
 of webkitgtk. But as this bug is corrected in newer (recent, stable)
 versions of webkitgtk, should we remove the needless workaround and
 assume user has a valid version of webkitgtk ?




[dev][ubase][PATCH] alternative - return exit codes like util-linux

2014-02-09 Thread Carlos Torres
Hello,
  This patch is food for thought.  i looked closer at what util-linux
does (ugh) and found that their exit codes are what swapon/swapoff
return.  so this is an alternative patch that behaves the same way.  I
thought its possible there are shell scripts out there that are
interested in the exit  value of these...???

--Carlos


0001-return-exit-codes-like-util-linux.patch
Description: Binary data


[dev][ubase][PATCH] swapon/swapoff -a and -p

2014-02-08 Thread Carlos Torres
Hi sin,
attached are two patches for the -a flag on swapon and swapoff.  there
is room for improvement. and cleaning up, but i wasn't sure how you
might want it organized.   i altered the error handling a little bit,
since it felt funny how you let the loop continue on error and
possibly removing the EXIT_FAILURE return code if two devices are to
be swapped on/off and the first failed but the second succeeds.  I
make it so that once EXIT_FAILURE is set it doesn't go away.

i don't update TODO.

--Carlos


0001-disable-all-swap-devices.patch
Description: Binary data


0001-add-a-flag-to-enable-all-swap-devices-unless-noauto-.patch
Description: Binary data


0002-prefer-swap-device-option.patch
Description: Binary data


Re: [dev] dmenu-based clipboard manager

2014-02-07 Thread Carlos Torres
On Feb 5, 2014 5:46 AM, Chris Down ch...@chrisdown.name wrote:

 In case it interests anyone, I wrote a clipboard manager based around
 dmenu[0].
 [0]: https://github.com/cdown/clipmenu

Thank you sir.  though i happen to be using both the clipboard,
primary and secondary with xsel

--Carlos



Re: [dev] ncurses or ...

2014-01-31 Thread Carlos Torres
Hello,

On 1/31/14, Christoph Lohmann 2...@r-36.net wrote:
 Greetings.

 A  different  paradigm  has to be solved here. The paradigm of 2D inter‐
 faces to complex tasks. This could be done using swk. If  you  have  swk
 done right, then it could be easily run in text or graphics mode.

Currently swk supports SDL and X11,  I suppose you either add another gc_VT100
or something so that text is also available.


 The  idea  of  the  GUI  abstractions is like in every software aimed at
 clueless programmers to add more and more layers.

I might be a little clueless :)


 That’s where the suckless solution should begin, by having reusable mod‐
 ules.  For example there was the idea on the IRC channel to have a sepa‐
 rate  GUI  process handling the output and giving callbacks via a simple
 text interface over a pipe. That process could display the meta‐informa‐
 tion  of  arranging  UI elements (buttons, listbox, entry, forms, menus)
 however it is needed. Of course supporting the OpenGL widget won’t  work
 in text mode.

I started something i'm calling swt [1] which aims at the idea above.  Though
i've been feeling rather clueless about the direction it should go.  Currently
it has a fifo for input and an output file.  its using libsl but it
will fork off on its
own with the need for further text control.  it doesn't handle multi-byte yet.
and it can only do equidistant horizontal and vertical layouts of text regions.
you can create windows, and add text regions to those windows, you can close
windows and possibly remove text regions too...(so still work in progress...)
and you can somewhat toggle focus of those text regions.

The input fifo should handle things like window creations,
creation/manipulation if text regions within those windows and dynamic
mapping of key bindings that simply echo to the output for the controlling
script to do its thing.  On the output side it either echos whats its doing
or errors, possible keybindings pressed and information about the state
of the ui.  it probably should provide drawing to hidden Drawables for future
mapping, hiding/unhiding of regions.  and multi-byte or UTF-8 of course.

With regard to widgets i think for menus we have dmenu, listboxes
might be needed given the different modes one can toggle, perhaps
a tree view too.  buttons seems a bit like a hack to a bad interface
or they should be simple standard key mappings (vim?).  forms
sound like glue around the former.  maybe there is a status bar to
suggest actions to perform or caret navigation as soon as : is pressed
like line numbers in vi,  every major widget/text region has an assigned
number...that could get out of hand.

with swt i've tried to define how one would interact with it to create the
UI,  it could be driven by any language able to read and write to files.
its interesting that surf and dwm just got fifo in them...perhaps tabbed
should too.  perhaps really we should have separate embedable
applications with fifos.  one for listboxes, one for tree views, an embedable
lil'd (son of dwm) for layouts within an app, a keyboard listener for focus
switching?

this feels like a re-invention of the wheel...

One aspect i feel should make this effort legitimate is the amount of
keystrokes it takes to navigate this environment.  i would like an
environment that is navigable by keyboard.  but i sometimes question
the efficiency of it.  and certainly if you are pressing more keys with this env
when you could quickly click on something with the mouse, then the battle
has been lost.  (or is that a smell of a bad application?)


 What’s  left  is writing this by pointing out the really needed widgets.
 Here new ones evolved, like the command line of vim added  to  browsers,
 which  could  be  reused in such applications to always have all UI ele‐
 ments available via a text interface and make it  automatically  script‐
 able.  Then the menu, buttons, of course an editable text field with the
 $EDITOR you wish, some way to display graphics (w3mimage for st maybe?),
 tables ….


[1](https://github.com/vlaadbrain/swt)

--Carlos



Re: [dev] ncurses or ...

2014-01-31 Thread Carlos Torres
Hello,

On 1/31/14, Carlos Torres vlaadbr...@gmail.com wrote:
 surfs fifo patch doesn't currently allow for injection of html or execution
 of javascript.  it simply allows you to control the interface via a file.

 maybe injection/execution of javascript is doable already, but i'm not
 aware of it.

was i just dreaming about this???

--Carlos



Re: [dev] ncurses or ...

2014-01-31 Thread Carlos Torres
Hello,

On 1/31/14, Dimitris Zervas dzer...@dzervas.gr wrote:
 hmm, fifo interface for Xlib.
 Sounds like a good way to get my hands dirty with Xlib.

 Do I have to interface all the features of xlib, or we need some specific?


Maybe i miss spoke a little when stating fifo interface to Xlib,
Xlib itself is also complicated and too low level, which is why there are
widget toolkits like GTK, Qt, Xaw etc...Like these toolkits we want
a simpler interface for the similar or new 2d UI widgets.  simple,
scriptable, resizeable, and able to provide the necessities for interaction
reasonably with the current state of displays, keyboards and maybe
mouses.

--Carlos



[dev] [tools] mouse button binding and key event generation

2014-01-30 Thread Carlos Torres
Hello,
  I've written two tools which i'm using to bind my mouse thumb
buttons ctrl+h and ctrl+l i use those with surf.

   [1] xbmouse simple binds either a ButtonPress or ButtonRelease of a
Button (by number) to a command
   [2] xkev generates simple key events with optional modifiers
(shift,control,meta,alt,super,hyper) both left and right.  I'm not
sure if that covers Alt Gr though...

example:
  xbmouse -b 8 xkev -c -e h


yes there are tools that already do this, (xbindkeys  xvkdb) and
others... i thought these were simpler, and they don't require guile
or autotools etc...

[1] https://github.com/vlaadbrain/xbmouse
[2] https://github.com/vlaadbrain/xkev

Enjoy!



Re: [dev] [tools] mouse button binding and key event generation

2014-01-30 Thread Carlos Torres
Hey Christoph,

On 1/30/14, Christoph Lohmann 2...@r-36.net wrote:
 They look useful. Could you add them to the wiki? [0]


Done :)

--Carlos



Re: [dev] [dwm] [patch] Add DWM control FIFO implementing all existing keybinds

2014-01-29 Thread Carlos Torres
Hello sin,

On 1/29/14, sin s...@2f30.org wrote:
 On Wed, Jan 29, 2014 at 12:38:25PM +, sin wrote:
 The latest patch is here:
 http://amnezia.2f30.org/u/sin/patches/0001-Add-DWM-control-FIFO.patch


Do you really need all those do functions? it would seem to me that
you could use the same funcs they call.  No Harm, No Foul.

--Carlos



Re: [dev] Slock segfaults if USER variable is empty

2013-12-18 Thread Carlos Torres
Hello,

On 12/18/13, Ivan Vershinin i...@vershinin.net wrote:
 But crontab file does not contain USER
 environment variable by default,

I might be missing something but doesn't crontab allow
you to mention env variables in it, and it passes them
to its execv? all you'd have to do is
USER=ivan

--Carlos



Re: [dev] [st] Rendering Glitch

2013-12-06 Thread Carlos Torres
Hello,

On 12/6/13, Raimundo Martins raimundoomart...@gmail.com wrote:
 On Thu, 5 Dec 2013 21:29:30 -0600 Eric Pruitt wrote:

 I use st with screen, and I've noticed that when alternating between
 windows inside of screen, character attributes are not always restored
 properly

 While we're at it, this might be related (or not):

 st + htop: everything fine

 st + tmux + htop: some lines get static and dead. Don't know how to
 explain, they just get outdated. ^L fixes it.

 Since the problem is only when I involve tmux I assumed it was it
 that caused the problem.


Did you notice how Eon's kung-fu is stronger??
Try doing that when you notice a problem, you might
find the solution.

--Carlos



Re: [dev] Bringing together OS'es terminals and their codepages

2013-12-03 Thread Carlos Torres
Hello Thorsten,

On 12/3/13, Thorsten Glaser t...@mirbsd.de wrote:

 I did suggest banning them, didn’t I? ☺


here we go again...


 bye,
 //mirabilos
 --
 „Also irgendwie hast du IMMER recht. Hier zuckelte gerade ein Triebwagen
 mit
 der Aufschrift Ostdeutsche Eisenbahn durch Wuppertal. Ich glaubs machmal
 nicht…“   -- Natureshadow, per SMS
 „Hilf mir mal grad beim Denken“   -- Natureshadow, IRL, 2x



should they ban people that use fortune in their signatures too?

--Carlos



Re: [dev] Adding MRU support to dmenu

2013-12-02 Thread Carlos Torres
Hello,

On Mon, Dec 02, 2013 at 09:40:24PM +0100, q...@c9x.me wrote:
 On Mon, Dec 02, 2013 at 10:07:17AM -0600, Chris Down wrote:
  On 2013-12-01 18:19:22 -0500, Eyal Erez wrote:
create mode 100644 .gitignore
  
  A gitignore when there are no subdirectories? What do you want a
  gitignore for? Just don't do `git add .` (ever).
 
 Would you mind elaborating?  I use a git ignore in this kind of
 situation to avoid having my `git status` full of garbage, are
 there any alternatives to this?
 

in ~/.gitconfig i have 

[status]
showUntrackedFiles = no

this does the trick for me, if i really want to see untracked files
i do git status -u

--Carlos



Re: [dev] Re: [st] System freeze when killing X after using st-git

2013-11-30 Thread Carlos Torres
Hello, 

On Sat, Nov 30, 2013 at 07:29:47AM -0800, Ryan O’Hara wrote:
 Christoph Lohmann 2...@r-36.net, 2013-11-30T08:08:43Z
  I  won’t add a »I‐am‐so‐stupid‐to‐buy‐Apple‐
  hardware« or »I‐am‐a‐retard‐
  using‐Arch‐Linux‐after‐the‐systemd‐disaster« flag.
 
  The bug is outside of st.
 
 Shall we change it to dwm then? It works fine with literally any other
 combination.

It sounds like this is reproducible, and it also sounds like a debugger
might not help so...  Why not instrument the code around the so called
troubling commit and look to see if that reveals proof of a problem?. 

if you think its a dwm issue, hunt it down with instrumentation. (i.e.
carefully thought out print statements.) surely there are other ways to
gather more information too...

--Carlos



Re: [dev] [st] st does not show window name for wmctrl

2013-11-26 Thread Carlos Torres
On Tue, Nov 26, 2013 at 09:13:08PM +0300, Alexander S. wrote:
 2013/11/25 Carlos Torres vlaadbr...@gmail.com:
  On 11/25/13, Alexander S. alex0pla...@gmail.com wrote:
  Is it definitely okay to use Xutf8TextListToTextProperty with XStringStyle?
 

i checked out the man page and XStringStyle is acceptable. 
also st uses XmbTextListToTextProperty rather than
Xutf8TextListToTextProperty which suggests a macro check.

 Well, st once couldn't handle umlauts (as in, all utf-8) in title,
 which was very frustrating to use with... well, any window manager (I
 managed to configure dwm for itf-8 without using xft), and easy enough
 to fix. I get to use utf-8 quite often.

Ok, so it sounds pretty usefull to set the title as UTF8_STRING then :)

 I am ambivalent about not setting WM_NAME at all. This is a standard
 thing to set. This is a thing on which DWM can match windows, if I'm
 not mixing anything up.

the patch doesn't remove setting WM_NAME, it leaves it as is.  I leave
the discussion of whether it should be utf8 or XA_String to the list.  I
don't have strong feelings about it either way, and dwm prefers
_NET_WM_NAME anyway, like i suspect most other window managers will.

--Carlos



Re: [dev] [st] st does not show window name for wmctrl

2013-11-25 Thread Carlos Torres
 2013/11/25 Martti Kühne mysat...@gmail.com:
 How many people commit suicide per year because their application
 windows use utf-8 titles?


I submitted another simpler patch that doesn't revert the setting of
WM_NAME to XStringStyle.  Since i don't really have a use case for
UTF8.

The simpler patch only adds _NET_WM_NAME, and as
UTF8_STRING for consistency.  which wmctrl works with. (not that this
fix is solely driven by wmctrl.  i wouldn't want it to, i just happend
to test this on an old st and noticed the difference).

On 11/25/13, Alexander S. alex0pla...@gmail.com wrote:
 Is it definitely okay to use Xutf8TextListToTextProperty with XStringStyle?


i didn't think about that to be honest, but i did think about the flame
possibly ignited by breaking the peoples st title when they use utf8...

As a side tabbed uses XCompoundTextStyle.

--Carlos



Re: [dev] [st] Cannot compile latest HEAD, nor 0.4.1

2013-11-25 Thread Carlos Torres
Hello

On 11/25/13, Silvan Jegen s.je...@gmail.com wrote:
 Hi

 You have to make sure that the config.h you are using actually matches
 the checked-out version of st.c (i. e. checkout config.def.h and copy
 it to config.h for the default settings).


to add to this,  bellvolume is declared in config.def.h which is
copied to config.h
if config.h doesn't exist.

so this all gets fixed if you merge in updates to config.def.h into
your config.h.

--Carlos



Re: [dev] [st] st does not show window name for wmctrl

2013-11-22 Thread Carlos Torres
Hola,

On 11/22/13, Federico MP bpm...@gmail.com wrote:
 wmctrl -l shows N/A for st.

i'm using st 0.3 (tip) and wmctrl -l does show WM_NAME for the various st
instances i have open.

you might want to update your st and try again.

i tried it out with wmctrl 1.07-7

--Carlos



Re: [dev] [st] st does not show window name for wmctrl

2013-11-22 Thread Carlos Torres
Hello again,

On 11/22/13, Carlos Torres vlaadbr...@gmail.com wrote:
 On 11/22/13, Federico MP bpm...@gmail.com wrote:
 I'm using st 0.4.1 and latest wmctrl and for wmctrl -l I'm getting:
 lol, i'm must not be on the tip! my bad...

it appears that st 0.4.1 sets WM_NAME as UTF8_STRING
and st 0.3 was setting it at STRING.

The attached patch reverts to setting WM_NAME to STRING
and adds _NET_WM_NAME in UTF8_STRING

--Carlos
From 62a85853afc32d14610c88add0aadf8f36a2c74f Mon Sep 17 00:00:00 2001
From: Carlos J. Torres vlaadbr...@gmail.com
Date: Fri, 22 Nov 2013 10:45:48 -0500
Subject: [PATCH] add _NET_WM_NAME

---
 st.c |   10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/st.c b/st.c
index fda7044..5ad483b 100644
--- a/st.c
+++ b/st.c
@@ -239,7 +239,7 @@ typedef struct {
 	Colourmap cmap;
 	Window win;
 	Drawable buf;
-	Atom xembed, wmdeletewin;
+	Atom xembed, wmdeletewin, netwmname;
 	XIM xim;
 	XIC xic;
 	Draw draw;
@@ -3023,6 +3023,7 @@ xinit(void) {
 
 	xw.xembed = XInternAtom(xw.dpy, _XEMBED, False);
 	xw.wmdeletewin = XInternAtom(xw.dpy, WM_DELETE_WINDOW, False);
+	xw.netwmname = XInternAtom(xw.dpy, _NET_WM_NAME, False);
 	XSetWMProtocols(xw.dpy, xw.win, xw.wmdeletewin, 1);
 
 	xresettitle();
@@ -3352,10 +3353,15 @@ void
 xsettitle(char *p) {
 	XTextProperty prop;
 
-	Xutf8TextListToTextProperty(xw.dpy, p, 1, XUTF8StringStyle,
+	Xutf8TextListToTextProperty(xw.dpy, p, 1, XStringStyle,
 			prop);
 	XSetWMName(xw.dpy, xw.win, prop);
 	XFree(prop.value);
+
+	Xutf8TextListToTextProperty(xw.dpy, p, 1, XUTF8StringStyle,
+			prop);
+	XSetTextProperty(xw.dpy, xw.win, prop, xw.netwmname);
+	XFree(prop.value);
 }
 
 void
-- 
1.7.10.4



[dev] [st] add _NET_WM_NAME

2013-11-22 Thread Carlos Torres
Here is a simpler patch that adds _NET_WM_NAME Atom to st.

--Carlos
From edde8703967cf381e52182efddd81ffe00e82e85 Mon Sep 17 00:00:00 2001
From: Carlos J. Torres vlaadbr...@gmail.com
Date: Fri, 22 Nov 2013 10:45:48 -0500
Subject: [PATCH] add _NET_WM_NAME

---
 st.c |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/st.c b/st.c
index fda7044..ee8dc94 100644
--- a/st.c
+++ b/st.c
@@ -239,7 +239,7 @@ typedef struct {
 	Colourmap cmap;
 	Window win;
 	Drawable buf;
-	Atom xembed, wmdeletewin;
+	Atom xembed, wmdeletewin, netwmname;
 	XIM xim;
 	XIC xic;
 	Draw draw;
@@ -3023,6 +3023,7 @@ xinit(void) {
 
 	xw.xembed = XInternAtom(xw.dpy, _XEMBED, False);
 	xw.wmdeletewin = XInternAtom(xw.dpy, WM_DELETE_WINDOW, False);
+	xw.netwmname = XInternAtom(xw.dpy, _NET_WM_NAME, False);
 	XSetWMProtocols(xw.dpy, xw.win, xw.wmdeletewin, 1);
 
 	xresettitle();
@@ -3355,6 +3356,7 @@ xsettitle(char *p) {
 	Xutf8TextListToTextProperty(xw.dpy, p, 1, XUTF8StringStyle,
 			prop);
 	XSetWMName(xw.dpy, xw.win, prop);
+	XSetTextProperty(xw.dpy, xw.win, prop, xw.netwmname);
 	XFree(prop.value);
 }
 
-- 
1.7.10.4



Re: [dev] Possible improvement on slock - suid

2013-11-14 Thread Carlos Torres
Hi Patrick,

On 11/14/13, patrick295767 patrick295767 patrick295...@gmail.com wrote:

 Ok, look my example, think about a student behind the rules of the admin.

Then you must appeal to the administrator(s) and provide the source so that
they may review it and install it.  just the same way they've installed other
X11 screen locking apps that also have suid/guid set.

--Carlos



Re: [dev] Possible improvement on slock - suid

2013-11-13 Thread Carlos Torres
On 11/13/13, sin s...@2f30.org wrote:
 On Wed, Nov 13, 2013 at 09:32:44PM +0100, patrick295767 patrick295767
 wrote:
 even to avoid the suid/sgid check.

 So we should not check for errors anymore?  That check is
 perfectly valid.


Yeah, i would agree with sin here,  it makes sense to tell the user
what went wrong
while trying to lock the screen.

--Carlos



Re: [dev] Mailing list behavior

2013-11-07 Thread Carlos Torres
On Thu, Nov 7, 2013 at 11:57 AM, Dmitrij D. Czarkoff czark...@gmail.com wrote:
 Thorsten Glaser said:
 Can we please ban Googlemail from this mailing list?

 Obviously I'm against this.


Yeah, I'm against it too :)

--Carlos



Re: [dev] [dwm] spawn and monitor placement

2013-11-05 Thread Carlos Torres
On Fri, Oct 25, 2013 at 6:05 AM, Martin Kopta mar...@kopta.eu wrote:
 Hi, I am still having problems with placement of windows while using two
 monitors [1]. I am using latest git version of dwm.
 When I have cursor on VGA1 and launch dmenu, it is created on VGA1.

I noticed the same behavior and i remember this is one of the last changes cls
made to dmenu.  my workaround is to simply apply the warp [1] patch.
This patch is usefull if you don't mind having your cursor move around as
you switch focus around windows and monitors.  it also makes the root
window get focus which makes new windows open on  that monitor.
additionally i like that the cursor follows the focus.  makes it easier for me
to find the mouse cursor (if i need to use it) and with multiple monitors
requires less travel.

[1]: http://dwm.suckless.org/patches/dwm-5.9-warp.diff



Re: tinycore - Used to be [dev] I'm back

2013-10-22 Thread Carlos Torres
On Tue, Oct 22, 2013 at 3:23 AM, Jens Staal staal1...@gmail.com wrote:
 On Monday 21 October 2013 14:43:16 Carlos Torres wrote:
 so then...on a separate topic is stali meant to be a distro that sucks
 at being extensible?
 or is it meant to be a distro thats simple, lean and yet extensible.

 If I understood it correctly it would have an /emul directory or similar for
 legacy dynamically linked apps (most likely a (s)chroot of a regular distro
 like Arch or Gentoo).

ok, in that case,  suppose suckless rolls its own stali version of tinycore,
and replaces the part of the init scripts that deal with loading tcz's and
mounting them through loopback. and not using tce.installed scripts et.al.
then maybe tinycore would be good.  but there are other distros that
already do not use that are are small too.



Re: [dev] I'm back

2013-10-21 Thread Carlos Torres
On Mon, Oct 21, 2013 at 8:41 AM, hiro 23h...@gmail.com wrote:
 then simply don't use pure 64bit, why did you think that was a good idea?

when i hopped on the pure 64 band wagon i assumed that the x86 packages
would have been rebuilt for pure 64 eventually... that was a big mistake on my
part.

 it's a feature (tm). works like intended.

Yeah, its a feature i like.  Maybe i'm just complaining about the lack of
packages for pure 64 :p, again i figured there was a community of pure64
users that were contributing packages (slower but eventually - not true)

 Just proves you have no taste.

I tried other browsers before i went the with webkit/surf on this system,
i did most of my work with lynx, i tried opera, links2, w3m etc... none of
which anyone else was using on pure 64 :p (goes back to my initial bad choice)

 I now cringe at the thought of rebuilding any suckless tool on
 tinycorelinux for any
 simple tweak.

 Granted, the everything-is-in-ram approach requires you to use special
 procedures to properly install anything. For many things that's too
 much of a trade-off.

its a pretty big one.

 I exploit this to make sure I don't have too many libraries installed
 so that autohell tools will build against the least amount of
 dependencies possible (without first having to find the right
 configure switches to manually turn features off).

yes, i really enjoy the boot speed of tinycorelinux with the least deps for
wifi, dwm (et. al.) , surf, acpi; but when i boot into this system its
because i
want to develop something, and so i always end up loading the rest of the
world to build stuff.  and i forget api's all them time, of which i end up using
manuals for (which surely you've noticed everyone purposefully strips them
out of packages (i do it too)...



tinycore - Used to be [dev] I'm back

2013-10-21 Thread Carlos Torres
On Mon, Oct 21, 2013 at 1:15 PM, hiro 23h...@gmail.com wrote:
 Yeah, tinycore's biggest failure is that it's too difficult to find
 the right man pages of certain packages.

I knew tinycore wouldn't have docs included, they say so in the website,
heck when i create a tcz for my self, i strip the docs out too (did i
mention that?)

so then...on a separate topic is stali meant to be a distro that sucks
at being extensible?
or is it meant to be a distro thats simple, lean and yet extensible.

maybe i'm still not hardcore enough...


 yes, i really enjoy the boot speed of tinycorelinux with the least deps for
 wifi, dwm (et. al.) , surf, acpi; but when i boot into this system its
 because i
 want to develop something, and so i always end up loading the rest of the
 world to build stuff.  and i forget api's all them time, of which i end up
 using
 manuals for (which surely you've noticed everyone purposefully strips them
 out of packages (i do it too)...






Re: [dev] I'm back

2013-10-20 Thread Carlos Torres
On Tue, Aug 13, 2013 at 6:24 PM, Carlos Torres vlaadbr...@gmail.com wrote:
 Glad you changed your mind on Android core.
 Consider looking at tinycorelinux; it too is very simple.  simpler than crux.

hmm,  after tooling around with tinycorelinux,  i think its use
doesn't make sense
as a day-to-day distro.  it would suit well a specific purpose or an
embeded system.
So i'm actually removing my + on tinycorelinux.  I went for a pure
64bit system
and that was hellish.  since there are barely any packages for it! soo
i had to build
webkit and its horrid dependencies from scratch... that basically
scared my away...
granted i completed the daunting task to the end.
I now cringe at the thought of rebuilding any suckless tool on
tinycorelinux for any
simple tweak.

--Carlos



Re: [dev] Talk about suckless

2013-09-25 Thread Carlos Torres
On Wed, Sep 25, 2013 at 10:00 AM, Martin Kopta mar...@kopta.eu wrote:
 Thank you very much for your hints! I will surely mention all of the above in
 my talk. Good idea to prepare myself to defend static linking :-)


there is also [1] a presentation that Anselm gave a while ago about
stali and static linking.

[1]: http://dl.suckless.org/stali/clt2010/stali.html

--Carlos



Re: [dev] [dwm] Weird behavior of Java programs

2013-09-09 Thread Carlos Torres
On Mon, Sep 9, 2013 at 2:40 PM, Florian f...@snakeoilproductions.net wrote:
 http://tools.suckless.org/wmname

wmname LG3D

that is the magic that helps java apps behave like they're running
through the looking glass.

--Carlos



Re: [dev] [dwm] Weird behavior of Java programs

2013-09-09 Thread Carlos Torres
On Mon, Sep 9, 2013 at 7:28 PM,  7...@mail.com wrote:
 But with Java? Sorry, but I'm pretty sure that
 reading any man is a waste of time almost all
 the time. On the other hand, reading the web
 is relevant here, and it would even be great to
 find the dwm man page that way.


you can search the mailing list in gmane or with google (@lists.suckless.org)
with some reasonable criteria like java and dwm and you will find
a solution.

 Oh but wait! http://man.suckless.org/ gives a 404!
 Hmm, I wonder why I couldn't find relevant information
 on the suckless website...

i updated the wmname site off tools.suckless.org how hopefully it will
be easier to find this fix.


 --
 7heo





Re: [dev] I'm back

2013-08-13 Thread Carlos Torres
On Tue, Aug 13, 2013 at 1:21 PM, Anselm R Garbe garb...@gmail.com wrote:
 Actually I gave up on the android core now and am looking at crux 3.0
 now.

Glad you changed your mind on Android core.
Consider looking at tinycorelinux; it too is very simple.  simpler than crux.

Thanks,
--Carlos



Re: [dev] Wayland st!!??

2013-07-28 Thread Carlos Torres
Hi Michael.

On Sun, Jul 28, 2013 at 1:43 AM, Michael Forney mfor...@mforney.org wrote:
 On Sat, 27 Jul 2013 14:17:42 -0400, Carlos Torres vlaadbr...@gmail.com 
 wrote:
 I didn't know about this

 http://www.phoronix.com/scan.php?page=news_itempx=MTQyMTQ

 I'm both excited or looking to troll

 I'm the author of the port.

I'm glad you were the first to answer, Kudos. wayland needs more
suckless.  Keep on it and ignore the negative commentary. :-)

 I'm not sure how the suckless community
 feels about Wayland, but it seems like the core protocol is fairly
 lightweight, depends only on libffi, and is refreshing to work with
 compared to X.

you'll get varied reactions on the list.  I for one am happy to see
the mingling between wayland and suckless stuff, since it potentially
exposes the suckless philosophy, whatever it may be.

 Weston's goals are perhaps more orthogonal to suckless,
 but I think there is potential for a suckless compositor.

 I don't really expect there to be a suckless Wayland environment for a
 while, and maybe something better will come around before there is, but
 I think my rendering library could be useful in either case (the Wayland
 part is just buffer creation/management and is separate from the
 rendering part).

 --
 Michael Forney mfor...@mforney.org


Thanks
--Carlos



[dev] Wayland st!!??

2013-07-27 Thread Carlos Torres
I didn't know about this

http://www.phoronix.com/scan.php?page=news_itempx=MTQyMTQ

I'm both excited or looking to troll


Re: [dev] [sbase] [patch] Adding tar v2

2013-07-16 Thread Carlos Torres
On Jul 16, 2013 3:58 AM, Nick suckless-...@njw.me.uk wrote:

 Quoth Chris Down:
  On 14 July 2013 20:42, Nick suckless-...@njw.me.uk wrote:
   I'd be inclined to check for and filter out leading .. and /
   characters, to avoid tarballs doing unexpectedly evil things.
 
  I think all security onus for stuff like that should be on the user --
  they can still do unexpectedly evil things either way (even stripping
  .. and /). It should be the user's responsibility to verify what will
  happen when a tarball is extracted using -t.

 What other evil things can tar creators do?

I dislike archives that don't extract into there own directory. Like Chris
said -t

 Going back to the workflow question, then, who here always checks
 the list of all files in an archive to check that there's nothing
 with a suspicious path? I know I don't, because I can trust gnu tar
 to check for me, and that's a Good Thing.



Re: [dev] Suckless Laser GUI

2013-07-01 Thread Carlos Torres
On Jul 1, 2013 5:30 PM, Charlie Paul charli...@gmail.com wrote:

 Hello,

 I'm working for a lab, and I'm making a piece of software to control a
table full of optical elements (mirrors, lasers, and detectors). I wrote a
nice little interface to the hardware in C, but now I need to make a way
for the user to control the elements (move mirrors, turn stuff on and off,
change wavelength, and so on). It needs to be operated with mouse only (no
room for keyboard on table), and needs to be graphical (since it should
match up to the layout of the table).

 Now, my issue is choosing a GUI library. GTK and QT are big, and I don't
want to have to install a dynamic language to do Tk. However, I do need to
be able to do custom drawing (for the table elements on-screen). What GUI
for C fits the bill?


You could/should try swk

 Thanks,

 Charles Paul


Re: [dev] Re: Maintaining sbase

2013-06-25 Thread Carlos Torres
On Tue, Jun 25, 2013 at 8:58 AM, Galos, David
galos...@students.rowan.edu wrote:
 What is your opinion on a shell for sbase?

 The shell is a topic around which there is far too much religion.
 Sbase should not include a shell.


:) i like this answer



Re: [dev] any update on stali?

2013-06-06 Thread Carlos Torres
On Thu, Aug 30, 2012 at 4:11 PM, hiro 23h...@gmail.com wrote:
 I'm looking forward to it. I reckon you have looked at tinycore once?
 They did some of the things you mentioned (for example I have tinycore
 on SD and load all of it into RAM on boot). Also they have already
 decided that they will sail around that systemd/d-bus disaster, so you
 can see how they cope in case they switch to an udev alternative soon.

i like tinycore,  its my new favorite to use.
I especially like that extensions (what they call packages) are small
and mounted on, and when you're done with it !poof! its actually gone,
without any cruft left around

BTW, hiro, it looks like you top posted :p


 On 8/30/12, Anselm R Garbe garb...@gmail.com wrote:
 On 23 August 2012 16:11, Joaquim Pedro França Simão osmano...@gmail.com
 wrote:
 I wonder if there is any news about stali. I searched the mail list, but
 had
 no activity on this recently.

 No real news yet on stali, but the project is already on the top of my
 long TODO list. I actually consider investigating
 http://www.android-x86.org/ for stali, though not sure how useful
 it'll be.

 The point of stali I want to make is, a system that is fully
 self-contained. No package manager -- one tool for each task only. No
 fancy configuration file. No fancy user management (probably just 1
 user system).

 It should be as simple, bare and usable as possible -- and updatable
 using git or rsync or something similar over the network. Ideally the
 system won't require any disk space (should fit into the RAM +
 probably some sdcard for the config).

 Cheers,
 Anselm






Re: [dev] any update on stali?

2013-06-06 Thread Carlos Torres
That's true, I top post all the time :)
On Jun 6, 2013 7:09 PM, hiro 23h...@gmail.com wrote:

 i never said i don't top post.




Re: [dev] [sbase / 9base] Still working on it?

2013-05-27 Thread Carlos Torres
I believe it already has what you need to replace coreutils/busybox.
though its not just a matter or swapping stuff.  you'ld have to port
all the shell scripts that depend on gnuish stuff.  i.e. anything that
uses the auto* stuff doesn't work with 9base awk and ls... but do you
really need stuff that uses auto* cruft?

--Carlos

On Mon, May 27, 2013 at 6:01 AM, Hugues ypnose.yp...@mailoo.org wrote:
 Le 27-05-2013 02:48, Carlos Torres a écrit :

 sbase and 9base are still used.  i use 9base every day :).

 Ah, nice. It's awesome.

 not much work goes into these since they don't
 aspire to having all the gnu options... what more do you need?

 Actually, I'm trying to find a coreutils/busybox alternative which suck
 less, for a distro project.
 That's why, I asked this question. I was wondering if it was abandoned/dead
 or not.
 About features, I don't think I need something new.

 Regards
 --
 H MoV.




Re: [dev] [sbase / 9base] Still working on it?

2013-05-26 Thread Carlos Torres
sbase and 9base are still used.  i use 9base every day :).  if you
think there is any part of p9port that should be in 9base port it.
and send a patch.  not much work goes into these since they don't
aspire to having all the gnu options... what more do you need?

--Carlos

On Sun, May 26, 2013 at 11:53 AM, Hugues ypnose.yp...@mailoo.org wrote:
 Hi
 I would like to know the current state of 9base  sbase projects. Are you
 still working on it?
 I'm asking because the community isn't mentioning them often, and we don't
 know the progress (even if I often check git logs)

 Best Regards
 --
 H MoV.




Re: [dev][ii]Help with my frontend

2013-05-04 Thread Carlos Torres
On Apr 29, 2013 2:13 PM, Hugues Moretto-Viry hugues.more...@gmail.com
wrote:

 Hi guys,

 I installed ii and now I'm trying to create a little shell (mksh)
frontend for it. I saw the existing frontends on the wiki, but I prefer
creating another one from scratch.
 It will perfectly fit my needs.

 I use tail -f on the out file, but I would like to ask you, if you know
a prompt (I don't know how to call it) like the one included with less.
 I want to include this prompt at the bottom of the terminal (running tail
-f).
 Any ideas?

 Best Regards

Have you looked at iim?, cookie monster put effort into that.
 --
 H.Mo.


Re: [dev][ii]Help with my frontend

2013-05-04 Thread Carlos Torres
https://github.com/c00kiemon5ter/iii
https://github.com/c00kiemon5ter/iim

On Sat, May 4, 2013 at 8:51 AM, Carlos Torres vlaadbr...@gmail.com wrote:

 On Apr 29, 2013 2:13 PM, Hugues Moretto-Viry hugues.more...@gmail.com
 wrote:

 Hi guys,

 I installed ii and now I'm trying to create a little shell (mksh) frontend
 for it. I saw the existing frontends on the wiki, but I prefer creating
 another one from scratch.
 It will perfectly fit my needs.

 I use tail -f on the out file, but I would like to ask you, if you know
 a prompt (I don't know how to call it) like the one included with less.
 I want to include this prompt at the bottom of the terminal (running tail
 -f).
 Any ideas?

 Best Regards

 Have you looked at iim?, cookie monster put effort into that.
 --
 H.Mo.



Re: [dev] rio for linux

2013-05-02 Thread Carlos Torres
there are libraries that draw to the framebuffer,  opengl, svgalib, libsdl.
at one point i contemplated writting one with svgalib,  it was short lived.
go nutz on them.

On Thu, May 2, 2013 at 1:24 AM, Sam Watkins s...@nipl.net wrote:
 The problem is the complexity of writing a replacement and all the
 compatibility layers needed to make it usable in the productive world.

 The window to a framebuffer thing appeals to me because it would be simple,
 performant, easy to implement, easy to code for, easy to port libs and
 apps to use it.  I don't need partly obscured windows or enforced clipping.
 Also don't need every bogus app under the sun to work on it right away.




Re: [dev] diffdisplays

2013-04-30 Thread Carlos Torres
I'm not an X11 expert, but this sounds like something that XRender and
XDamage could do.  i.e. overlay a semi transparent window over a
screen where activity has timed out (?) and capture damage events and
then have those events contribute an alpha channel change.  I don't
know whether the damage  stuff provides coords, but it should
otherwise how else would xrender know to redraw just those areas
overlayed above...

the timout that causes the window to appear could be short,  and its
transparency could be at 100%, getting gradually opaque overtime, and
the damaged areas would shift toward white.  upon a focus event or
something of that sort the window would get unmapped.

this doesn't have to be in dwm, i don't think it does anyway.



On Mon, Apr 29, 2013 at 12:34 PM, Christoph Lohmann 2...@r-36.net wrote:
 Greetings comrades,

 on  my  news mailbox something interesting appeared [0]. Applying such a
 »display diff« to a dwm tag would be interesting, to only show  the  new
 difference  from  the last time it was switched to that tag. Making it a
 common tool you can use to watch certain displays from one  state  would
 make  it more usable everywhere. The gimmick of the webcam would be some
 eye tracker which does not need to be combined with the display diff.

 Are here any X11 experts that know how this could be implemented?


 Sincerely,

 Christoph Lohmann

 [0] http://sachi.cs.st-andrews.ac.uk/research/software/diffdisplays/





Re: [dev] st: Large pile of code

2013-04-24 Thread Carlos Torres
I like the seperation of term.c from st.c,  I agree that makes reading
st.c clearer.  I can't comment on the removal of forward declarations,
typedefs and static vars though the resulting difference is legible as
well.  (frankly code in alphabetical order makes me want to sort it
according to code flow and surrounding context...) i think the choice
of using the fontconfig utf8 functions was a good idea.   I frowned
when you switched to 'gnu99' from 'c99' (i pictured a lot of flames on
that)

Thank You,

On Tue, Apr 23, 2013 at 8:27 PM, Kent Overstreet
kent.overstr...@gmail.com wrote:
 First off - nice work!

 Awhile back I started hacking on st in my spare time. I haven't added
 anything earth shaking - the majority of what I've been doing has been
 refactoring and rewriting bits to make the code better.

 Anyways, the way I've been doing things has diverged enough that I don't
 know if you'll want to pull in my changes (I follow the linux kernel
 coding style, for one) - if it's too different a direction from what you
 guys prefer that's ok.

 Unfortunately, I think I waited a bit too long to send this so if you
 guys do want to merge my changes in that's going to be a pain... but, if
 you like what I've been doing I can start working on that.

 Also, one of the big things I did was to libraryize the terminal
 emulation code, and decouple it from the renderer. I figure there's
 enough terminal emulators out there (including things like tmux) we
 really should have a good library for this sort of thing instead of
 reinventing the wheel all the time. Makes the code easier to understand
 too, I think.

 If you want to have a look, my git repo is
 http:/evilpiepirate.org/git/st.git

 Thanks!




Re: [dev] st: Large pile of code

2013-04-24 Thread Carlos Torres
i haven't tried rebasing his code yet. but if i have time later this
week i might try it. for fun.

--Carlos

On Wed, Apr 24, 2013 at 10:23 AM,  random...@fastmail.us wrote:
 On Wed, Apr 24, 2013, at 9:32, Carlos Torres wrote:
 I like the seperation of term.c from st.c,  I agree that makes reading
 st.c clearer.  I can't comment on the removal of forward declarations,
 typedefs and static vars though the resulting difference is legible as
 well.  (frankly code in alphabetical order makes me want to sort it
 according to code flow and surrounding context...) i think the choice
 of using the fontconfig utf8 functions was a good idea.   I frowned
 when you switched to 'gnu99' from 'c99' (i pictured a lot of flames on
 that)

 If it _can_ be compiled in c99 mode, no reason it shouldn't be - then
 people can compile it using LLVM/clang, tendra, pcc, etc.

 How hard is it going to be to merge these changes with what changes have
 been made to the main version since he branched off from it?




Re: [dev] dwm 6.0 - separate taglists for muli-monitor setup

2013-04-23 Thread Carlos Torres
there is nothing keeping you from commiting this patch to the patches
site http://git.suckless.org/sites/tree/dwm.suckless.org/patches



On Tue, Apr 23, 2013 at 10:39 AM, Jente Hidskes jthids...@outlook.com wrote:
 Hi,

 This looks simple, though not something I could have come up with myself. I 
 don't need the nametag function, so personally I'm going to remove it. It 
 should not be too hard to tweak this for applying to git; it's a small patch.

 Too bad that at the moment I don't have a second monitor to test this with, 
 but I'm going to apply it to my DWM regardless. I will report back later.

 Cheers,

 Jente

 
 Date: Tue, 23 Apr 2013 09:29:19 +0200
 From: dl...@itsatrap.se
 To: dev@suckless.org
 Subject: RE: [dev] dwm 6.0 - separate taglists for muli-monitor setup

 Hi,

 http://article.gmane.org/gmane.comp.misc.suckless/4230

 This is the link that he gave me, seems legit. He was unsure if this
 patch would work with the current git head.. we'll just have to try it
 out.

 Regards,

 David Lind

 On Tue, 23 Apr 2013, Jente Hidskes wrote:

  Hey,
 
  I sure am! Can you maybe upload it somewhere public so everyone can access 
  it?
 
  Thanks,
 
  Jente
 
  __
  Van: David Lind
  Verzonden: 23-4-2013 10:08
  Aan: dev mail list
  Onderwerp: Re: [dev] dwm 6.0 - separate taglists for muli-monitor setup
 
  I recieved an off-list email yesterday from a guy with a patch for my
  problem. I will try it out and see how it works.
 
  Let me know if anyone else is interested in obtaining the patch and trying
  it.
 
  /David
 
 
 
 




Re: [dev] dwm 6.0 - separate taglists for muli-monitor setup

2013-04-22 Thread Carlos Torres
it will be tricky, the way dwm is written right now monitors are
initialized and managed at runtime once it gets Monitor information
from the Xinerama extension. knowing what to name tags on monitor x
and monitor y before they're known to exist and where they are with
respect to each other will be... not clean (or very specific to your
xorg.conf setup).
drawbar is where the tags are drawn for each Monitor -
http://git.suckless.org/dwm/tree/dwm.c#n724

have fun :)

On Mon, Apr 22, 2013 at 11:33 AM, Jente Hidskes jthids...@outlook.com wrote:
 I know that, but I am using tags like workspaces. I mean, that's the spirit 
 of DWM: hack it to what you want it to be.  There are tons of patches out 
 there that conflict with DWM's initial design aspects, so this is kind of a 
 non-argument. I would do it myself, if I knew how to.

 Cheers,

 Jente
 
 Date: Mon, 22 Apr 2013 07:05:06 +0200
 Subject: Re: [dev] dwm 6.0 - separate taglists for muli-monitor setup
 From: kalle...@gmail.com
 To: dev@suckless.org


 It's not really meant to be used as workspaces, rather like tags in
 wmii or original acme I think.

 On Apr 21, 2013 8:12 PM, David Lind
 dl...@itsatrap.semailto:dl...@itsatrap.se wrote:
 Hi,

 I couldn't find a patch for this(but I may have missed it?).. I want to
 have separate taglists on my monitors, e.g:

 Monitor 1 - coding www txt
 Monitor 2 - pdf media irc

 Is there a patch for such a thing? :-)

 Regards,

 David Lind




Re: [dev] Need help implementing combining characters

2013-04-21 Thread Carlos Torres
Maybe send out what you have and others can better grok what you intend,
and see how it may fit?


RE: [dev] dwm 6.0 - separate taglists for muli-monitor setup

2013-04-21 Thread Carlos Torres
It has been argued before that the use of named tags is somewhat a
misunderstanding of dwm.  There are subtleties about dwm that I myself
don't get yet, and about six or five keymaps that I don't use regularly but
which I should, because they might one day allow me to fully understand.

I urge you to leave your notions of workspaces or desktops behind, for
they are flawed and incomplete.  Go back to config.def.h and learn/live one
keymap a day until the lack of it makes you shout at scrum - blocker!!
Blocker I say!! or the refrigerators lack of 0 when you desperately need a
cold brew - blocker!!


Re: [dev] [dmenu] handling space(?)

2013-04-17 Thread Carlos Torres
Yeah, I almost sent an email of this sort, then I read the manual.  Yeah
it's annoying sometimes...  on that same vain I don't like pressing back
space, so I'm contemplating removing that key.


Re: [dev] [st] pasting to gvim sucks

2013-04-11 Thread Carlos Torres
this is a funny patch.  it must have been about 1 to 2 months ago that
there was another discussion about pasting to other apps and thats
when that carrige return appeared.  and now there is a patch to revert
that back...lol this is great, i look forward to another patch that
takes it back to \r :)


On Thu, Apr 11, 2013 at 10:47 AM,  p37si...@lavabit.com wrote:
 This patch makes behaviour consistent with xterm and comments.



Re: [dev] ii IPv6 support

2013-04-11 Thread Carlos Torres
On Thu, Apr 11, 2013 at 9:12 PM, Patrick Haller
201009-suckl...@haller.ws wrote:
 On 2013-04-11 20:53, Nico Golde wrote:
 http://tools.suckless.org/ii/patches/ii-ipv6.diff

 Aw fsck. Can we put the patches in the git repo? Either as plain files
 in patches/, or create a branch based on the commit they diff'd at?

it was there just a little hidden
http://git.suckless.org/sites/tree/tools.suckless.org/ii/patches/ii-ipv6.diff



  1   2   >