Re: [dev] Distribution

2010-01-18 Thread Kurt H Maier
On Mon, Jan 18, 2010 at 10:23 PM, Samuel Baldwin
 wrote:
> Extremely valid point. Are there any distros, gentoo or not, that
> don't use gcc in favour of something a little saner, though? Obviously
> Plan 9 doesn't count.

I think the FreeBSD guys are working on a version built with clang.  I
don't think the linux kernel can be compiled with anything but gcc.


-- 
# Kurt H Maier



Re: [dev] Distribution

2010-01-18 Thread Samuel Baldwin
2010/1/18 Kurt H Maier :
> people who don't use gcc have better sense than to use gentoo

Extremely valid point. Are there any distros, gentoo or not, that
don't use gcc in favour of something a little saner, though? Obviously
Plan 9 doesn't count.
-- 
Samuel Baldwin - logik.li



Re: [dev] Distribution

2010-01-18 Thread Kurt H Maier
On Mon, Jan 18, 2010 at 9:34 PM, Samuel Baldwin
 wrote:
> Has anyone made gentoo work with anything besides gcc, like pcc or tcc?

people who don't use gcc have better sense than to use gentoo



-- 
# Kurt H Maier



Re: [dev] Distribution

2010-01-18 Thread Samuel Baldwin
2010/1/18 Jacob Todd :
> "I heard they made a sport out of gcc, it's called gentoo or something"
>        -Uriel
>
> I use Gentoo and Plan 9.

Has anyone made gentoo work with anything besides gcc, like pcc or tcc?

-- 
Samuel Baldwin - logik.li



Re: [dev] Distribution

2010-01-18 Thread Jacob Todd
On Mon, Jan 18, 2010 at 10:41:01PM +, Jonathan Slark wrote:
> I was wondering what distros people use on this mailing list?  I've 
> tried a lot and I'm not happy with any of them.  All I need is a 
> toolchain/dev utils with minimal X install.  I would then compile all 
> the apps/dwm myself and install using the package manager.
> 
> Arch Linux comes pretty close but some things about it bug me.  They use 
> some pre-release stuff such as the X-server by default.  Most of the 
> PKGBUILDs use fakeroot for the whole build and the fakeroot docs say you 
> should only use it for the make install.
> 
> Crux is even simpler than Arch but it's setup for compiling as root, ugh.
> 
> I have done an LFS/DIY build but then I had a look at the Xorg website:
> "The best place to get X is from your operating system or distribution 
> vendor."
> 
> That bugged me a bit but I downloaded the tarball for the server 
> expecting to find some compilation instructions... it doesn't even have 
> a README!
> 
> I guess Xorg don't expect mere mortals such as myself to attempt to 
> compile it.
> 
> Any suggestions?
> Jon.
> 
"I heard they made a sport out of gcc, it's called gentoo or something"
-Uriel

I use Gentoo and Plan 9.

-- 
Government is the great fiction through which everybody
endeavors to live at the expense of everybody else.


pgpetEu5WO2BK.pgp
Description: PGP signature


Re: [dev] [SLOCK] is not safe

2010-01-18 Thread Jacob Todd
On Mon, Jan 18, 2010 at 11:07:50PM +0100, daspostloch wrote:
> On 01/18/2010 10:17 PM, Ryan R wrote:
> > Put this in your xorg.conf this turns off ctrl-alt-backspace and VT 
> > switching.
> >
> > Section "ServerFlags"
> >Option "DontZap"  "true"
> >Option "DontVTSwitch"  "true"
> > EndSection
> >
> >
> > Can we put an end to this thread nao? kthx
> >
> 
> not everyone still has a xorg.conf
> 
Then `touch /etc/X11/xorg.conf` and add those server flags. Adding those
aren't going to break Xorg any more than it already it, and I find it
easy to work with than hal's shitty xml config files.

-- 
Government is the great fiction through which everybody
endeavors to live at the expense of everybody else.


pgp6AtPmvozC9.pgp
Description: PGP signature


Re: [dev] Distribution

2010-01-18 Thread David J Patrick

Jonathan Slark wrote:
I was wondering what distros people use on this mailing list?  I've 
tried a lot and I'm not happy with any of them.  All I need is a 
toolchain/dev utils with minimal X install.  I would then compile all 
the apps/dwm myself and install using the package manager.


you must try slitaz.org, a minimalist mercurial based distro with liveCD 
leanings,

djp



Re: [dev] Distribution

2010-01-18 Thread Guy
On Mon, Jan 18, 2010 at 5:41 PM, Jonathan Slark
 wrote:
> I was wondering what distros people use on this mailing list?
>
>

I'll go ahead and get the flame-war rolling...

[q9550 ~]:$ uname -a ; cat /etc/debian_version ; uptime
Linux q9550.0x95.net 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009
x86_64 GNU/Linux
5.0.3
 19:08:03 up 58 days,  3:08,  7 users,  load average: 0.27, 0.26, 0.26
[q9550 ~]:$

In addition to RedHat for enterprise environments, I've used debian
(stable/main) on and off personally for close to a decade. Have to
give credit to Jason at senet.us; he's responsible for introducing me
to dwm, which ultimately lead to my freedom (from Windows). Gnome and
KDE at the time just seemed like a step in the wrong direction (even
from Windows), so I'm about as happy as a pig in sh-t. If you consider
yourself unhappy now, try firing up Windows and see how "happy" that
makes you. The thought of using Windows again just reinforces my
appreciation for the debian/dwm setup I'm using. Usually puts a big
grin on my face. Best of luck.

Regards,

Guy



Re: [dev] Distribution

2010-01-18 Thread Antoni Grzymala
Jonathan Slark dixit (2010-01-18, 22:41):

> I was wondering what distros people use on this mailing list?  I've 
> tried a lot and I'm not happy with any of them.  All I need is a 
> toolchain/dev utils with minimal X install.  I would then compile all 
> the apps/dwm myself and install using the package manager.

Sounds like Gentoo, to me.

Hope this thread doesn't turn into yet another flamewar and bitching
how-broken-is-some-distro-i-am-not-actually-using. I propose that people
(criticise|advertise) only distros they're actually using for getting
day-to-day stuff done.

-- 
[a]



Re: [dev] Distribution

2010-01-18 Thread Samuel Baldwin
Might wanna check out stali. I personally use Arch Linux, OpenBSD, and
Plan 9, however.

-- 
Samuel Baldwin - logik.li



Re: [dev] Distribution

2010-01-18 Thread Justin Jackson
> All I need is a toolchain/dev utils with minimal X install.

Have you tried NetBSD? I prefer that over Linux, and the base
installation is exactly what you're describing.



Re: [dev] Distribution

2010-01-18 Thread Tadeusz Sośnierz
On 18-01-2010 22:41:01, Jonathan Slark wrote:
> I was wondering what distros people use on this mailing list?  I've
> tried a lot and I'm not happy with any of them.  All I need is a
> toolchain/dev utils with minimal X install.  I would then compile
> all the apps/dwm myself and install using the package manager.
> 
> Crux is even simpler than Arch but it's setup for compiling as root, ugh.
You can easily setup fakerooting when building ports, just lookup the
wiki.
Regards,
Ted



Re: [dev] Distribution

2010-01-18 Thread Andres Perera
On Mon, Jan 18, 2010 at 6:11 PM, Jonathan Slark
 wrote:
> PKGBUILDs use fakeroot for the whole build and the fakeroot docs say you
> should only use it for the make install.
>
> I have done an LFS/DIY build but then I had a look at the Xorg website:
> "The best place to get X is from your operating system or distribution
> vendor."


I think you're reading too much into recommendations. From reading
this, all I get is that general upstream recommendations are keeping
you from doing what you want.

If everybody used this reasoning, then no distro would've continued
after reading the specs for LSB or POSIX.



[dev] Distribution

2010-01-18 Thread Jonathan Slark
I was wondering what distros people use on this mailing list?  I've 
tried a lot and I'm not happy with any of them.  All I need is a 
toolchain/dev utils with minimal X install.  I would then compile all 
the apps/dwm myself and install using the package manager.


Arch Linux comes pretty close but some things about it bug me.  They use 
some pre-release stuff such as the X-server by default.  Most of the 
PKGBUILDs use fakeroot for the whole build and the fakeroot docs say you 
should only use it for the make install.


Crux is even simpler than Arch but it's setup for compiling as root, ugh.

I have done an LFS/DIY build but then I had a look at the Xorg website:
"The best place to get X is from your operating system or distribution 
vendor."


That bugged me a bit but I downloaded the tarball for the server 
expecting to find some compilation instructions... it doesn't even have 
a README!


I guess Xorg don't expect mere mortals such as myself to attempt to 
compile it.


Any suggestions?
Jon.



Re: [dev] [SLOCK] is not safe

2010-01-18 Thread daspostloch

On 01/18/2010 10:17 PM, Ryan R wrote:

Put this in your xorg.conf this turns off ctrl-alt-backspace and VT switching.

Section "ServerFlags"
   Option "DontZap"  "true"
   Option "DontVTSwitch"  "true"
EndSection


Can we put an end to this thread nao? kthx



not everyone still has a xorg.conf



Re: [dev] [SLOCK] is not safe

2010-01-18 Thread Ryan R
Put this in your xorg.conf this turns off ctrl-alt-backspace and VT switching.

Section "ServerFlags"
  Option "DontZap"  "true"
  Option "DontVTSwitch"  "true"
EndSection


Can we put an end to this thread nao? kthx



Re: [dev] [SLOCK] is not safe

2010-01-18 Thread Andres Perera
On Mon, Jan 18, 2010 at 4:23 PM, anonymous  wrote:
>> This thread is hilarious, I find it pretty funny that on a mailing list of 
>> the
>> suckless project people are suggesting all kinds of weird things to solve 
>> this
>> instead just using exec /usr/bin/dwm in ~/.xinitrc rather than /usr/bin/dwm.
>
> Just checked: I was always using exec in xinitrc. And I can still
> killall slock.

I'm also using exec dwm in xinitrc, as are most people that use startx or xinit.

That doesn't solve anything.



Re: [dev] [SLOCK] is not safe

2010-01-18 Thread anonymous
> This thread is hilarious, I find it pretty funny that on a mailing list of 
> the 
> suckless project people are suggesting all kinds of weird things to solve 
> this 
> instead just using exec /usr/bin/dwm in ~/.xinitrc rather than /usr/bin/dwm.
> Seriously, WTF?!
> 

Just checked: I was always using exec in xinitrc. And I can still
killall slock. startx should be runned as exec startx so shell will be
replaced.




Re: [dev] [SLOCK] is not safe

2010-01-18 Thread hiro
This is actually not funny my lads...



Re: [dev] [SLOCK] is not safe

2010-01-18 Thread Moritz Wilhelmy
On Mon, Jan 18, 2010 at 07:51:09PM +0100, Nico Golde wrote:
> Hi,
> * Julien Pecqueur  [2010-01-17 16:22]:
> > I'm using slock and i am suprised to realize that is not safe at all!
> > 
> > I launched slock in my DWM session. I just have to press CTRL+ALT+F1 
> > and press CTRL+z (to send startx in background an get the hand on the
> > shell) and type "killall slock" to unlock the session... 
> 
> .oO(use exec in startx to start dwm?!)
> 
> Cheers
> Nico
> 
> -- 
> Nico Golde - http://www.ngolde.de - n...@jabber.ccc.de - GPG: 0xA0A0
> For security reasons, all text in this mail is double-rot13 encrypted.

it's still unsafe! h
don't spoil everything :D



Re: [dev] [SLOCK] is not safe

2010-01-18 Thread Nico Golde
Hi,
* Premysl Hruby  [2010-01-17 16:53]:
> On (17/01/10 16:24), Gregor Best wrote:
> > Date: Sun, 17 Jan 2010 16:24:11 +0100
> > From: Gregor Best 
> > To: dev@suckless.org
> > Subject: Re: [dev] [SLOCK] is not safe
> > List-Id: dev mail list 
> > User-Agent: Mutt/1.5.20 (2009-06-14)
> > 
> > On Sun, Jan 17, 2010 at 04:17:16PM +0100, Julien Pecqueur wrote:
> > > Hi, 
> > > 
> > > I'm using slock and i am suprised to realize that is not safe at all!
> > > 
> > > I launched slock in my DWM session. I just have to press CTRL+ALT+F1 
> > > and press CTRL+z (to send startx in background an get the hand on the
> > > shell) and type "killall slock" to unlock the session... 
> > 
> > Same thing with every other screen locker. The only "solution" is to
> > remove the ChangeVT* mappings from the xmodmap.
> > 
> 
> Not really, simply using 'startx & exit' instead of plain 'startx' is
> sufficient.

This thread is hilarious, I find it pretty funny that on a mailing list of the 
suckless project people are suggesting all kinds of weird things to solve this 
instead just using exec /usr/bin/dwm in ~/.xinitrc rather than /usr/bin/dwm.
Seriously, WTF?!

Cheers
Nico
-- 
Nico Golde - http://www.ngolde.de - n...@jabber.ccc.de - GPG: 0xA0A0
For security reasons, all text in this mail is double-rot13 encrypted.


pgpOAfaUWy3EK.pgp
Description: PGP signature


Re: [dev] [SLOCK] is not safe

2010-01-18 Thread Nico Golde
Hi,
* Julien Pecqueur  [2010-01-17 16:22]:
> I'm using slock and i am suprised to realize that is not safe at all!
> 
> I launched slock in my DWM session. I just have to press CTRL+ALT+F1 
> and press CTRL+z (to send startx in background an get the hand on the
> shell) and type "killall slock" to unlock the session... 

.oO(use exec in startx to start dwm?!)

Cheers
Nico

-- 
Nico Golde - http://www.ngolde.de - n...@jabber.ccc.de - GPG: 0xA0A0
For security reasons, all text in this mail is double-rot13 encrypted.


pgpgitSNb9nmB.pgp
Description: PGP signature


[dev][dwm][bug] Two bugs concerning floating windows in a dual monitor setup

2010-01-18 Thread Claudio M

my setup:
external monitor (A) connected to a docking station. lets call the internal 
display B. A is left of B.

first bug:
if i move a floating window with alt-shift-, from A to B it is positioned on 
the left edge of B. if i try to move it back to A the window is assigned to A, 
but its position doesn't change.

second bug:
laptop is undocked. open three terminal windows on some workspace. make two of 
them floating. focus the window that is still tiled.  if i dock my laptop now - 
in that case i run "xrandr --output B --auto" und "xrandr --output A --auto 
--left-of B" via shell script - both floating windows are hidden underneath the 
tiled terminal window.

can someone confirm these bugs?

claudio
  
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009

Re: [dev] [bug] [dwm] Resolution chages

2010-01-18 Thread Anselm R Garbe
2010/1/18 Swiat R. Gal :
>> this seems to be an issue in certain Xinerama implementations, I
>> identified the following a while ago:
>>
>> xrandr -s reproduces the issue you notice, whereas
>>
>> xrandr --output XY --mode wxh
>>
>> etc does work. Can you confirm?
>
> I confirm both. At the same time I do not know
> how can one restore full-length status bar after changing
> rotation of the screen (except for an auxiliary change
> of resolution in between, of course).

With --output you should be able to restore the status bar correctly.

Cheers,
Anselm



Re: [dev] [bug] [dwm] Resolution chages

2010-01-18 Thread Swiat R. Gal
> this seems to be an issue in certain Xinerama implementations, I
> identified the following a while ago:
> 
> xrandr -s reproduces the issue you notice, whereas
> 
> xrandr --output XY --mode wxh
> 
> etc does work. Can you confirm?

I confirm both. At the same time I do not know
how can one restore full-length status bar after changing
rotation of the screen (except for an auxiliary change
of resolution in between, of course).

Sincerely,
s.



Re: [dev] [bug] [dwm] Resolution chages

2010-01-18 Thread pmarin
I use the following script:

#! /bin/sh

output=LVDS
if [ -f /tmp/screen ]
then
   output=`cat /tmp/screen`
fi

if [ $output = "VGA" ]
then
   xrandr --output LVDS --auto
   xrandr --output VGA --off
   echo "LVDS" > /tmp/screen
else
   xrandr --output VGA --auto
   xrandr --output LVDS --off
   echo "VGA" > /tmp/screen
fi





On Sun, Jan 10, 2010 at 8:10 PM, Alexander Surma
 wrote:
> Yes, can confirm both. I'll do some research on the details.
>
> Surma
>
> PS: I do too, and I still regret very much my lack of presence later
> that night - so to speak ;)
>
> On Sun, Jan 10, 2010 at 6:37 PM, Moritz Wilhelmy  wrote:
>> Hi,
>>
>> I can at least confirm that xrandr -s does not work with dwm 5.2
>> didn't try --output
>>
>> Moritz
>>
>> On Sun, Jan 10, 2010 at 05:04:48PM +, Anselm R Garbe wrote:
>>> Hi,
>>>
>>> this seems to be an issue in certain Xinerama implementations, I
>>> identified the following a while ago:
>>>
>>> xrandr -s reproduces the issue you notice, whereas
>>>
>>> xrandr --output XY --mode wxh
>>>
>>> etc does work. Can you confirm?
>>>
>>> Cheers,
>>> Anselm
>>>
>>> PS: Still remember our Skat session ;)
>>>
>>> 2010/1/10 Alexander Surma :
>>> > Hi,
>>> > Just wanted to file a bug report, that dwm doesn't handle a change of
>>> > the screen resolution very well.
>>> > When I change to a low resolution (640x480), everything seems fine,
>>> > but if I change back (1280x1024) I have parts of my background in the 
>>> > statusbar.
>>> >
>>> > Not urgent, but wanted to let you know.
>>> >
>>> > Surma
>>> >
>>> >
>>>
>>>
>>
>>
>
>



Re: [dev] Fwd: [9fans] more videos

2010-01-18 Thread Moritz Wilhelmy
Great! Thanks for sharing

On Mon, Jan 18, 2010 at 09:20:14AM +0100, pancake wrote:
> Sry for crossposting. I just find it interesting :)
>
>
> Begin forwarded message:
>
>> From: Tim Newsham 
>> Date: January 15, 2010 8:54:38 PM GMT+01:00
>> To: 9f...@9fans.net
>> Subject: [9fans] more videos
>> Reply-To: Fans of the OS Plan 9 from Bell Labs <9f...@9fans.net>
>>
>
>> I put up some videos demonstrating Acme:
>> http://thenewsh.blogspot.com/2010/01/acme-environment-in-plan9.html
>>
>> There are some other videos already on youtube, too.
>>
>> Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com
>>



[dev] Fwd: [9fans] more videos

2010-01-18 Thread pancake

Sry for crossposting. I just find it interesting :)


Begin forwarded message:


From: Tim Newsham 
Date: January 15, 2010 8:54:38 PM GMT+01:00
To: 9f...@9fans.net
Subject: [9fans] more videos
Reply-To: Fans of the OS Plan 9 from Bell Labs <9f...@9fans.net>




I put up some videos demonstrating Acme:
http://thenewsh.blogspot.com/2010/01/acme-environment-in-plan9.html

There are some other videos already on youtube, too.

Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com



[dev] Static compilation

2010-01-18 Thread pancake
Just thinking about the possibility to use the Diablo toolchain to  
compile and optimize the binaries for stali instead of clang or a  
plane gcc.


We could get really good optimizations.

Any volunteer for testing?