Re: [dev] surf rewrite for WebKit2GTK

2014-10-25 Thread Andrew Hills

On 10/25/14 13:41, F Hssn wrote:

Following suckless's minimal philosophy, I'd be interested to find out
if someone has done analysis on how an even minimal browser could be
developed in terms of SLOC, since webkit (r172694) stands at ~2
million lines, 75% of which is C++, while webkitgtk-1.10.2 is ~1
million, 90% C++. I used cloc. I'm surprised webkitgtk is smaller than
latest webkit.


Do you really want to write your own Javascript engine?




Re: [dev] getting mails from the archives

2014-09-24 Thread Andrew Hills
Was working for me a few weeks ago; just tried right now and I got the
message right away. Check your filters/message IDs?



Re: [dev] [RFC] Design of a vim like text editor

2014-09-17 Thread Andrew Hills
On 9/17/14, 3:51 PM, Teodoro Santoni wrote:
> Welp, you made it, i'm hooking the bait. You're putting the editor out every 
> single goddamn time someone discusses about text editors:

So... twice?




Re: [dev] [RFC] Design of a vim like text editor

2014-09-15 Thread Andrew Hills
On 9/15/14, 3:03 PM, Marc André Tanner wrote:
> This is true to some degree. The problem is that most people are already
> familiar with vi(m) (myself included). Therefore the hope is that by sticking 
> to the vim conventions more contributors will be attracted. As for my personal
> needs they are almost covered by the currently implemented functionality.

And one advantage of vi(m) is that I can get it on basically any
platform, so even if I don't have access to vis or other related
projects, as long as the interfaces are similar, I will not have much
difficulty. But, if the editor's separation allows for other, better
editing interfaces, and the program's simplicity means that it can be
easily compiled on BSDs and Linuxes with all the various supporting
libraries and versions thereof, then I would have no problem learning a
new tool (provided it is actually better than vi).



Re: [dev] [RFC] Design of a vim like text editor

2014-09-13 Thread Andrew Hills
FYI, anyone building on OpenBSD (and possibly other BSDs), add
-D_BSD_SOURCE to CFLAGS in config.mk for SIGWINCH.



Re: [dev] [RFC] Design of a vim like text editor

2014-09-13 Thread Andrew Hills
Hi Marc,

Thank you for the thorough and illustrated RFC. If you have not already
done so, I suggest you keep this text around with the project.

> Notice that the common case of appending text to a given piece is fast
> since, the new data is simply appended to the buffer and the piece length
> is increased accordingly. In order to keep the number of pieces down, 
> the least recently edited piece is cached and changes to it are done 
> in place (this is the only time buffers are modified in a non-append
> only way). As a consequence they can not be undone.

This seems like behavior that will surprise me, and possibly even
others. (Possibly using it will demonstrate otherwise.) Is there any
convenient workaround?

> The history is currently linear, no undo / history tree is implemented.

Are orphaned pieces (on dead branches) eliminated? Is there any useful
interface for navigating a history tree that would make the feature
worth having?

> The editor takes a similar regex-based approach to syntax highlighting
> than sandy and reuses its syntax definitions but always applies them to
> a "screen full" of text thus enabling multiline coloring.

How does this work when important parts of the syntax are off of the screen?

>   The repeat command '.' currently only works for operators. This for 
>   example means that inserting text can not be repeated (i.e. inserted 
>   again). The same restriction also applies to commands which are not 
>   implemented in terms of operators, such as 'o', 'O', 'J' etc. 

Is this intended, or is the vim-like behavior planned?

>+ code completion: this should be done as an external process. I will
>  have to take a look at the tools from the llvm / clang project. Maybe
>  dvtm's terminal emulation support could be reused to display an 
>  slmenu inside the editor at the cursor position?

This feature seems unnecessary; do others use this? The last time I had
code completion was in Eclipse, when I was younger and more foolish, and
I don't miss it at all.

>- macro recording

Macros are one of my most-used Vim features; they are very useful for
repetitive editing of complex files where regular expressions are more
of a pain. Even if you have no desire for them, would you accept patches
to add the feature, or should this list be considered a blacklist?

Thanks for your work thus far,
Andrew




Re: [dev] [quark] Anyone have an SSL patch?

2014-09-12 Thread Andrew Hills
I wrap it with stunnel.



Re: [dev] [st] will global-less changes be wanted upstream?

2014-08-19 Thread Andrew Hills
On 8/17/14, 7:38 PM, Alexander Huemer wrote:
> Well, as you may notice it's quite important for some people to get this 
> message through. You should be glad that there are people who give 
> advice. This advice is, once again: Don't use OSX, don't port good 
> software to OSX (and Windows).

Sorry, I'm not going to be miserable when I use OS X. So I will continue
to do what is necessary to recreate my preferred environment there, or
anywhere. If you would like to prevent this usage, change the license.



Re: [dev] [st] will global-less changes be wanted upstream?

2014-08-17 Thread Andrew Hills
On 8/17/14, 3:47 PM, FRIGN wrote:
> The world you're living in is the walled garden of OS X.
> It's your choice to either attempt to improve it, which is futile, or
> enter a world in which improvement is possible in the first place.

I have to use OS X sometimes for work. It's still a general-purpose
operating system, and you can still run arbitrary programs on it. It is
closer to BSD than Linux, aside from the GUI layer. But it ships with a
working X server, and it has a working C compiler, so st worked fine
until a few commits ago right out of the box. I use it when I use OS X
because I like using the same tools everywhere. And I use suckless tools
because their simplicity makes them easy to port everywhere. I will
never be at home the way one can be in a system built one's self, but my
preferred working environment is not so complex that I can't replicate
it almost anywhere I need it. So regardless of Steven's goals, I
appreciate his efforts that will, in the end, make the time I spend
wading in the GUI sewage of OS X so much less painful.



Re: [dev] LDAP

2014-07-23 Thread Andrew Hills
On 7/23/14, 3:52 PM, Calvin Morrison wrote:
> That's just silly. Why would you be so sucky of any admin to require
> users to change passwords on 10 systems when they are all identical?
> This is somewhat of a small cluster, worker nodes, a services node, a
> storage node, a head node etc.

Users are not permitted password authentication on my systems, so I
didn't bother synchronizing shadow.




signature.asc
Description: OpenPGP digital signature


Re: [dev] LDAP

2014-07-23 Thread Andrew Hills
On 7/23/14, 3:29 PM, Dimitris Papastamos wrote:
> Are these scripts somewhere publicly available?  I'd like to have a
> look if possible.

No, but I'll clean them up a little later this week. They're really
nothing special; all my machines run Linux, so it's just
useradd/usermod/userdel and some fluff. Also, an hourly script that
checks getent passwd against the master for non-system accounts, and
emails me when there's a problem. I was going to try to use cfengine,
but after ten minutes of trying to find even the most basic information,
I just hacked some shell scripts together instead. You could do the same
as or better than me in half an hour. I copy SSH public keys when a new
account is created/machine is added; beyond that, users are responsible
for handling themselves. I thought about creating per-machine access
lists, but then I stopped thinking about it because I didn't need it. Sorry.



signature.asc
Description: OpenPGP digital signature


Re: [dev] LDAP

2014-07-23 Thread Andrew Hills
On 7/23/14, 3:21 PM, Calvin Morrison wrote:
> LDAP sucks, is there any good alternative for managing user logins
> over 5-10 servers?

I declare one server the master and manage accounts through there with
some simple scripts and ssh.



signature.asc
Description: OpenPGP digital signature


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

2014-07-08 Thread Andrew Hills
On 7/8/14, 8:27 PM, Dimitris Zervas wrote:
> I know that some of you will really hate me about this, but I patched sandy 
> to have command and insert mode.

Actually, this was all that kept me from using sandy. (Well, I suppose
my unwillingness to change my habits is what kept me...)

Please keep up the work!



Re: [dev] Anyone interested in C "blogging platform"?

2014-05-23 Thread Andrew Hills
You may be interested in fugitive[0], blog software using Git hooks.

[0] https://gitorious.org/fugitive



signature.asc
Description: OpenPGP digital signature


[dev] Re: Skype replacements

2014-05-04 Thread Andrew Hills
On 5/4/14, 3:25 PM, Manolo Martínez wrote:
> Video calls are nice, though.

Don't feed the troll, please.



Re: [dev] [off-topic]How to donate to suckless.org?

2014-02-28 Thread Andrew Hills
I would disagree about "worse", but we're really comparing Ebola to
Marburg at this point.



Re: [dev] [off-topic]How to donate to suckless.org?

2014-02-27 Thread Andrew Hills
No because the site is not run on node.js and mongodb.




Re: [dev] [PATCH] Don't insert newlines in wrapped lines

2013-08-10 Thread Andrew Hills
On Sat, 10 Aug 2013 10:37:30 +0200 "Roberto E. Vargas Caballero"
 wrote:
> The solution is easy,
> don't add the newline when there is a character in the last position
> of the row.

This isn't the desired behavior when you fill the line up with exactly
the right number of characters. Just an edge case not to care about?


signature.asc
Description: PGP signature


Re: [dev] [sbase] Adding tar

2013-07-06 Thread Andrew Hills
On Sat, 6 Jul 2013 10:59:36 -0400 Alex Pilon  wrote:
> On Sat, Jul 06, 2013 at 01:29:02PM +0200, Dmitrij Czarkoff wrote:
> > Apparently is there anybody who uses dashes in tar's keys?
> 
> Yeah. Old habit.

I also see it a lot in scripts, along with using full options instead
of short--perhaps to be more verbose? So, for compatibility, perhaps it
is best to allow both.


signature.asc
Description: PGP signature


Re: [dev] client-server model

2013-06-30 Thread Andrew Hills
On Sun, 30 Jun 2013 11:05:41 +0200 Markus Wichmann 
wrote:
> I can see, that Xorg is a very complex implementation of the X11
> protocol, and that that protocoll is not very good, seeing as how it
> was extended several times, the extensions oftentimes being
> incompatible with each other (e.g. Xinerama + Xdbe) or even
> superseding another one (Xrandr + Xinerama).

Both the mess of extensions and the willingness of Xorg to crash and
hang the whole system when a user application does something wrong are
reasons not to like it. But, it is a poor implementation of an
acceptable principle, I think, and probably it is inevitable that a
system designed so long ago would have so much tacked onto it at the
end. The same thing happens to every part of every operating system
until someone decides to break backwards compatibility.


signature.asc
Description: PGP signature


Re: [dev] lisp

2013-06-29 Thread Andrew Hills
On Sat, 29 Jun 2013 17:11:42 -0400 Jacob Todd 
wrote:
> how is that good news? that's horrible news.

(That's the joke.)


signature.asc
Description: PGP signature


Re: [dev] video player and torrent client that don't suck

2013-06-28 Thread Andrew Hills
On Sat, 29 Jun 2013 00:17:14 +1000 oneofthem 
wrote:
> You're really saying that cryptography hasn't changed since 2007?
> SSL is a bad example because it was superseded by TLS 1.0 over a
> decade ago, TLS 1.0 was superseded TLS 1.1 7 years ago and that was
> superseded by TLS 1.2 5 years ago.

The library in question is not limited to the TLS standard, and
provides all the tools you need to communicate via the TLS 1.2 protocol
if you so desire.

But that's not relevant to your comment. I was saying that your
assertion that "modern design" precludes code written six years ago is
not correct.


signature.asc
Description: PGP signature


Re: [dev] video player and torrent client that don't suck

2013-06-28 Thread Andrew Hills
On Fri, 28 Jun 2013 23:27:19 +1000 oneofthem 
wrote:
> That hasn't been updated for 6 years, hardly an option for a modern
> design.

Your argument is completely invalid, and not just because the
information is wrong. A good design remains a good design regardless of
age. Has SSL changed so much since the last commit (2012-10-08)? If you
want, I can fork the project and commit new version numbers and make a
new release every few weeks; maybe it will satisfy your need for
something shiny.


signature.asc
Description: PGP signature


Re: [dev] dwm: native window tabs

2013-06-25 Thread Andrew Hills
On Tue, 25 Jun 2013 16:00:27 -0400 Jacob Todd 
wrote:
> Have you not heard of tabbed?

Perhaps you should read his mail.


signature.asc
Description: PGP signature


Re: [dev] dwm: native window tabs

2013-06-25 Thread Andrew Hills
On Tue, 25 Jun 2013 21:57:44 +0200 (CEST) philippe.g...@free.fr wrote:
> If people are interested I can send the patch. Let me know if I
> should post it directly to this mailing list.

You should post it to the wiki. That is the standard procedure for
sharing patches.


signature.asc
Description: PGP signature


Re: [dev] (s)werc and the suckless.org homepage

2013-06-11 Thread Andrew Hills
On Tue, 11 Jun 2013 11:11:03 -0400 Jacob Todd 
wrote:
> No, not having a website would suck less.

Not having a website would suck more...


signature.asc
Description: PGP signature


Re: [dev] Re: mail clients

2013-06-11 Thread Andrew Hills
On Tue, 11 Jun 2013 15:09:10 +0200 hiro <23h...@gmail.com> wrote:
> Only create software that you would want to use yourself, everything
> else is a waste of time.

This is bad advice, perhaps just because, like most snappy mantras,
it's a gross oversimplification of reality. Some non-developers need
software, but can't create it themselves. Filling those niches with
software is not a waste of your time, especially not if writing that
software provides you with means for sustenance. Your rule applies if
you're willing to take the next step and empathize with someone--it is
a good guideline for designing interfaces.


signature.asc
Description: PGP signature


Re: [dev] mail clients

2013-06-10 Thread Andrew Hills
On Mon, 10 Jun 2013 18:12:57 +0100 Michael Stevens 
wrote:
> Are there any mail clients that don't suck?

Mutt for CLI, Claws Mail for GUI. I don't think either of them suck.



Re: [dev] [st] New feature idea

2013-03-29 Thread Andrew Hills
On Fri, Mar 29, 2013 at 07:58:39PM +0100, Christoph Lohmann wrote:
> What are you guys using as a plumber in daily work?

A simple shell script with several lines of "grep -q && exec", with the most
commonly used at the top. Previously, I had a system that reordered the entries
based on frequency of use, but it had a bug, and it doesn't actually matter, so
I got back to work. With tab-completion, I rarely need the plumber for anything
but web links, as typing an image viewer command is much faster than fetching
the mouse to highlight text.

--Andrew Hills




Re: [dev] FTP script: how to store password?

2013-02-09 Thread Andrew Hills
On Sat, Feb 09, 2013 at 12:20:58PM +0100, Hugues Moretto-Viry wrote:
> Anyway, I need to store my passwords so I chose SQlite, because I don't
> want to put them in a regular file or in the script.
> Unfortunately, I think this is not really perfect.
> 
> Do you know how to store my passwords outside the script (maybe hashed), in
> the suckless way?

If you need to store your passwords and you trust that setting the files to
readonly on your system will protect them sufficiently, then store them in text
files as has been suggested. Obfuscating your passwords will work great until
someone is interested in finding them, in which case the interested parties will
just open your script and find how they are stored and obtain them in the same
manner as the script does. If your sysadmin cannot be trusted, you must encrypt
your passwords in such a way that entering a password is required to retrieve
them each time; try "man 1 openssl" on most Linux systems.

-AH




Re: [dev] [dwm] Return key keybind problem

2012-11-20 Thread Andrew Hills
> Sorry, I wrote it from gmail, not from within MUA since I cannot do that
> momentarily. Does it create any problems for others?

When you write from GMail, please click the "« Plain Text" button
under the formatting bar.

--Andrew Hills



Re: [dev] [surf] adblocking

2012-11-20 Thread Andrew Hills
On Tue, Nov 20, 2012 at 7:27 AM, Christoph Lohmann <2...@r-36.net> wrote:
> Hosts filtering re‐
> quires some callback to filter on  a  specific  hosts  file   with  >15k
> lines   on  every  request.

Would it be possible to disable requests made by the page to any
address outside the page's domain? This would cause most Google API
Web 2.0 HTML5 nonsense to fail, but ordinary pages with advertisements
hosted elsewhere (most of them, in my experience) would become
ordinary pages without advertisements.

--Andrew Hills



Re: [dev] I'm back

2012-11-17 Thread Andrew Hills
On Sat, Nov 17, 2012 at 1:29 PM, Manolo Martínez
 wrote:
> If this is something like a poll, I concur: no mouse, yes bar.

This is also my feeling. I never use the mouse on the bar, but unless
sbar will be able to display those handy little boxes over the tags,
I'd rather keep what dwm has currently.

I can't wait for the libdraw addition, so that I can keep dwm at tip
without using Xft, which causes me endless headaches. I also look
forward to its use in st...

--Andrew Hills



Re: [dev] [announce] rat - ridiculously abysmal tar

2012-11-07 Thread Andrew Hills
On Wed, Nov 7, 2012 at 7:04 AM, Joerg Zinke  wrote:
> toki pona to the rescue!

http://en.tokipona.org/wiki/Dark_teenage_poetry

I'm sold.

--Andrew Hills



Re: [dev] [st] 0.3 release

2012-11-02 Thread Andrew Hills
On Fri, Nov 2, 2012 at 3:12 PM, Christoph Lohmann <2...@r-36.net> wrote:
> * nyancat(1) works.

This is the feature I was waiting for; thanks.

--Andrew Hills


Re: [dev] Troff for typsetting e-mails

2012-10-28 Thread Andrew Hills
On Sun, Oct 28, 2012 at 9:36 AM, Kurt H Maier  wrote:
> It might as well *be* HTML email.

I assume that the typesetting will be done on his end, instead of just
dumping verbose formatting into your terminal. I don't think that
makes for a fair comparison.

--Andrew Hills



Re: [dev] dwm: XKeycodeToKeysym deprecated patch

2012-10-25 Thread Andrew Hills
The call to XkbKeycodeToKeysym always returns zero for me when I run
dwm through RealVNC, probably because it sucks. Attached is the patch
against tip (reverting 737cf52cd031) for others forced to run dwm on
shitty systems.

--Andrew Hills


dwm-keycode-to-keysym-vnc-fix.patch
Description: Binary data


Re: [dev] Invito a collegarsi su LinkedIn

2012-10-24 Thread Andrew Hills
Really?

--Andrew Hills



Re: [dev] St xft drawing bugs

2012-10-04 Thread Andrew Hills
On Thu, Oct 4, 2012 at 9:15 AM, Edgaras  wrote:
> I just did "hg pull;rm config.h;make;./st" so it should be tip st with default
> config.

Don't forget "hg up".

--Andrew Hills



Re: [dev] POLL: most beautiful suckless cloud

2012-09-19 Thread Andrew Hills
On Wed, Sep 19, 2012 at 11:34 AM, Christoph Lohmann <2...@r-36.net> wrote:
> Because of this I have a request. Please vote for your most favourite
> suckless cloud implementation. Both are attached.

cl has fewer lines of code, and a shorter name, so it sucks less. I
don't really care if they perform different functions.

--Andrew Hills



[dev] [st] extra arguments to xcopy()

2012-09-05 Thread Andrew Hills
In hg tip (c84141b8303e), two calls to xcopy() in xdrawcursor() pass
four arguments, which takes no arguments. It looks like xcopy() was
changed in dcba87365e02 and not all calls to xcopy() were updated. The
attached patch removes the arguments (no functional changes). I hope
the current behavior is correct.

--Andrew Hills


st-tip-xcopy-cleanup.diff
Description: Binary data


Re: [dev] dwm -> greetings, column patch

2012-08-25 Thread Andrew Hills
On Sat, Aug 25, 2012 at 3:52 PM, Noah Rosser  wrote:
> If anyone wants the patch or wants to add it to the site, just tell
> me what to do.  If not, that's cool too, just thought I'd offer.

It's customary to just attach the patch and brace yourself for the
criticism. The amount of feedback you get is usually proportional to
the amount of interest in the feature.

--Andrew Hills



Re: Regarding "make"-systems [Was: Re: [dev] Build system: redo]

2012-08-13 Thread Andrew Hills
On Sun, Aug 12, 2012 at 8:23 PM, Uriel  wrote:
> This whole topic is so silly, just use a language that doesn't need
> any of this nonsense, like Go.

Are you insinuating that Go is the best choice for all projects,
regardless of requirements? Or just that C is never the right choice?

--Andrew Hills



Re: [dev] [PATCH] sbase: add cut

2012-08-01 Thread Andrew Hills
On Wed, Aug 1, 2012 at 6:54 PM, Kurt H Maier  wrote:
> The question is: since cut can be implemented IN awk, why should it get
> a separate C binary?  Anyone nattering about performance in a shell
> script is barking up the wrong tree.

Should sed be excluded? What can you do with sed that you can't do in
awk? For that matter, since Perl can do just about everything, if not
as quickly or easily, why not support just Perl, and no other tools?

--Andrew Hills



Re: [dev] [st] Cannot load font

2012-07-16 Thread Andrew Hills
On Sat, Jul 14, 2012 at 10:16 AM, Hannes Blut
 wrote:
> I tried changing my st config to use Inconsolata however after compiling
> the following error occurs at runtime
>
> Can't load font -*-inconsolata-medium-r-*-*-*-120-*-*-*-*-*-*
>
> xfontsel displayed the inconsolata font fine. Currently I am using
> terminus.

Run "xset q" just to make sure your font path is correct. (Also be
aware of where you've installed inconsolata.) I find that on RedHat
systems, for reasons I don't care to investigate, xfontsel's ability
to display a font is not correlated with the same ability in other X
software, but for some reason xterm is a good indicator.

--Andrew Hills



Re: [dev] Build system: redo

2012-07-15 Thread Andrew Hills
On Sun, Jul 15, 2012 at 8:43 PM, Kurt H Maier  wrote:
> none of which indicates mk is any more similar to make than redo

To actually answer your question, mk-files resemble Makefiles more
than whatever redo is using.

--Andrew Hills



Re: [dev] github mirror

2012-07-03 Thread Andrew Hills
On Tue, Jul 3, 2012 at 1:24 PM, Kurt H Maier  wrote:
> On Tue, Jul 03, 2012 at 12:54:50PM +0200, Kai Hendry wrote:
>> https://github.com/scklss/dwm/graphs/
> haha what the hell value is this exactly

Sometimes, I find I'm being too productive at work, so I generate some
graphs representing work I was doing when I was being productive and
show them to my manager, and he likes them. This new feature will make
everyone writing suckless software more like a manager and less like
an engineer, and I think we can all agree that the world needs more
managers and fewer engineers. I find that when a project has more
managers than engineers, it produces so many productivity charts that
the productivity of the project as a whole is essentially infinite.

--Andrew Hills



Re: [dev] [dmenu] doesn't appear with 2 monitors and no application opened

2012-06-30 Thread Andrew Hills
On Sat, Jun 30, 2012 at 8:53 AM, Uli Armbruster
 wrote:
> After booting my laptop with an external monitor connected, I cannot run 
> dmenu_run, it simply doesn't show up. I don't know how to give you more 
> specific informations like terminal output, because as soon as I open a 
> terminal, it works.

Usually the output for your window manager (which is where errors will
end up) ends up in Xorg.log, or ~/.vnc/[host:port].log if you're
running a VNC server. If your window manager is running on a different
machine than your X server, though... I have no idea.

--Andrew Hills



Re: [dev] [surf] port for gtk3

2012-06-19 Thread Andrew Hills
> You must be very proud of yourself?

Yes, it is very difficult to use a computer without bloat. It is like a
chair without a cushion.

--Andrew Hills


Re: [dev] [ii] exposed password on process monitoring

2012-06-16 Thread Andrew Hills
On Fri, Jun 15, 2012 at 7:14 PM, Calvin Morrison  wrote:
> On Jun 15, 2012 6:13 PM, "Kurt H Maier"  wrote:
>> On Fri, Jun 15, 2012 at 05:28:14PM -0400, Calvin Morrison wrote:
>> > Why not just pass the argument from a file?
>> >
>> > Exec --flag `cat password-file`
>> hahahah
> What is so funny?

Try this for me: take the attached file, argv.c, and drop it
somewhere; find it, run "make argv", and then do something like:
$ echo secretpassword > passwordfile
$ ./argv `cat passwordfile`
Look at the output. If you haven't caught on yet, run ps or top and
look at the process. Make sense now?

--Andrew Hills
#include 

int main(int argc, char** argv)
{
int i;
for(i = 0; i < argc; i++)
printf("argv[%d]=\"%s\"\n", i, argv[i]);
for(;;);
return 0;
}



Re: [dev] [ii] exposed password on process monitoring

2012-06-15 Thread Andrew Hills
On Jun 15, 2012 5:53 AM, "Rob"  wrote:
> You can't depend on this - what if another user's process snapshots ii's
> argv array before ii overwrites it?

Fair enough. For me, this risk is low enough that I rely on it at
work. Since the -k  option is still in tip, here's a patch
that masks it in argv. (I tried to match the coding style as close as
possible.)

--Andrew Hills


ii-mask-key-argv.patch
Description: Binary data


Re: [dev] [ii] exposed password on process monitoring

2012-06-14 Thread Andrew Hills
If you don't want the password argument to appear in ps/top listings,
you can write over argv like curl does (see references to
cleanarg(char*) in src/tool_getparam.c and the function definition in
tool_paramhlp.c:133, at least in curl-7.26.0). I'm pretty sure that
writable argv is guaranteed by C89, although that doesn't really mean
anything in practice... but it works on Linux.

--Andrew Hills



Re: [dev] Adding "good" xterm support to st

2012-05-05 Thread Andrew Hills
On Sat, May 5, 2012 at 3:22 PM, Ethan Grammatikidis  wrote:
> Maybe I should just run Debian.

Or maybe you just shouldn't use libvterm...

Here's a mirror of whatever bzr checks out by default:
http://ednos.net/libvterm.tar.bz2

--Andrew Hills



Re: [dev] Adding "good" xterm support to st

2012-05-05 Thread Andrew Hills
$ bzr clone http://bazaar.leonerd.org.uk/c/libvterm
$ cd libvterm
$ ls
LICENSE  Makefile  doc  include  src  t  tbl2inc_c.pl  vterm.pc.in
$ ls src
encodinginput.c   pen.c   screen.c  unicode.c  vterm.c
encoding.c  parser.c  rect.h  state.c   utf8.h vterm_internal.h

Does that help?

--Andrew Hills


On Sat, May 5, 2012 at 2:04 PM, Ethan Grammatikidis  wrote:
> On Mon, 19 Mar 2012 15:25:49 -0400
> Philip Kovac  wrote:
>
>> Regarding one of the goals of 'st,' would the suckless crowd be
>> interested in resolving the current admitted shortcomings of 'st' by
>> rolling in a fairly tiny library called libvterm (bzr repo at
>> http://bazaar.leonerd.org.uk/c/libvterm) by Paul 'Leonerd' Evans
>> (http://www.leonerd.org.uk) for handling terminal parsing? I know that
>> the philosophy of suckless is to generally avoid unnecessary code, but
>> in this case libvterm has encapsulated a lot of knowledge about
>> terminal behavior that would prevent a large amount of duplication of
>> effort. I currently use it in a toy project called x86term
>> (https://github.com/pkovac/x86term) which implements a terminal
>> emulator on bare x86 iron, the binary size hasn't gotten too large,
>> and libvterm allowed me to basically immediately bring it to a usable
>> state once the barebones needed were in place. If any of this
>> interests the suckless community, the author of libvterm and myself
>> both have interest in porting 'st' to it.
>>
>> Sincerely,
>>     Philip Kovac
>>
>
> This interests me more than the st project itself but...
>
>> http://bazaar.leonerd.org.uk/c/libvterm
>
> Where in that forest of empty dirs is the code? I got an impression of
> a dead tree still standing, lol.
>



Re: [dev] st utf8 printing

2012-04-15 Thread Andrew Hills
On Sun, Apr 15, 2012 at 5:02 PM, Joerg Zinke  wrote:
> I think you are wrong. An example for a TUI with images is w3m compiled with 
> inline images.

I think, by definition, a TUI cannot display images. It becomes a GUI.

--Andrew Hills



Re: [dev] st utf8 printing

2012-04-13 Thread Andrew Hills
On Fri, Apr 13, 2012 at 10:07 AM, Stephen Paul Weber
 wrote:
> Somebody claiming to be Andrew Hills wrote:
>> You couldn't pay me to use the GTK+ GUI. I use the pure X11 GUI. So
>> does everyone else here at work.
>
>
> People use vim from a GUI?
> /me confused

Vim works better when it's not stuck in a terminal fighting for
breath. I know, X11 spoils me.

--Andrew Hills



Re: [dev] st utf8 printing

2012-04-13 Thread Andrew Hills
On Fri, Apr 13, 2012 at 2:32 AM, Eckehard Berns  wrote:
> Vim draws placeholder chars for anything it can't display. But nobody
> uses the pure X11 GUI of Vim anyway. You either use Vim in a terminal
> or the GTK+ GUI (which - as far as I can tell - uses Pango to draw
> text).

You couldn't pay me to use the GTK+ GUI. I use the pure X11 GUI. So
does everyone else here at work.

--Andrew Hills



Re: [dev] C talk

2012-02-29 Thread Andrew Hills
As an exercise, have the students parse this:

http://www.ioccc.org/2006/toledo2/toledo2.c

--Andrew Hills



Re: [dev] C talk

2012-02-29 Thread Andrew Hills
On Wed, Feb 29, 2012 at 8:19 PM, Kurt H Maier  wrote:
> Sure. Also avoid mentioning int, char, float, preprocessing, compiling,
> and functions.

Don't forget to avoid those dangerous operators.

--Andrew Hills



Re: [dev] [st] 0.2.1 is out

2012-02-16 Thread Andrew Hills
Thanks. It looks like the SHELL macro is still in config.h and still
doesn't do anything. Should it replace "sh" on line 712 of st.c?

--Andrew Hills



On Thu, Feb 16, 2012 at 12:51 PM, Aurélien Aptel
 wrote:
> On Thu, Feb 16, 2012 at 4:11 PM, Andrew Hills  wrote:
>> Will this be released/available at http://dl.suckless.org/st/? I don't
>> have Mercurial access at work.
>
> You don't need mercurial to get a tarball from the repo.
>
> http://hg.suckless.org/st/archive/.tar.gz
> http://hg.suckless.org/st/archive/0.2.1.tar.gz
>



Re: [dev] [st] 0.2.1 is out

2012-02-16 Thread Andrew Hills
Will this be released/available at http://dl.suckless.org/st/? I don't
have Mercurial access at work.

--Andrew Hills



Re: [dev] Suckless.org Man page links

2012-02-11 Thread Andrew Hills
On Sat, Feb 11, 2012 at 10:54 AM, Anselm R Garbe  wrote:
> In such a world you could run a proper environment using qemu or
> virtualbox, right?
>
> Anyhow, if there is more demand for the man pages, I might revise my decision.

Unfortunately, no. But, when man pages were not immediately available
online, I hacked together some godawful sh script that called the
right sequence of nroff and whatever else man uses. In any case, my
need has passed; the suckless tools are not so complicated that I
can't remember their syntax. The number of users stuck in completely
backwards environments is probably so low that it is not worth the
effort of suckless developers to update yet another section of the
website whenever something changes.

--Andrew Hills



Re: [dev] Suckless.org Man page links

2012-02-11 Thread Andrew Hills
On Sat, Feb 11, 2012 at 4:58 AM, Anselm R Garbe  wrote:
> I think users should use man on their local host instead.

Before I was familiar with the software, having the man pages on the
website was very convenient, as the retarded version of man shipped
with RHEL (at work, of course) wouldn't let me point to an arbitrary
directory of man page files or an arbitrary man page file. This is an
edge case, but I am suggesting that it could be helpful to those of us
desperately trying to survive in a world of broken Unix machines
maintained by an MCITP-certified IT department.

--Andrew Hills



Re: [dev] [st] 0.2 is out

2012-02-09 Thread Andrew Hills
On Thu, Feb 9, 2012 at 9:31 AM, Kurt H Maier  wrote:
> Why can't you set $SHELL?

Stupid restrictions on the environment at work. I telnet into some
silly interface to launch a VNC server; all I can specify is the
window manager executable's path, and it tests to make sure it's a
binary. I guess I could write a program to set $SHELL and launch dwm,
but changing st is faster, and the only place it matters.

--Andrew Hills



Re: [dev] [st] 0.2 is out

2012-02-09 Thread Andrew Hills
The SHELL macro from config.h isn't used; instead, the shell is
grabbed with getenv("SHELL"). I guess this was the default behavior
before, but the last time I used st-0.1.1 I didn't mind having bash as
my shell, so I didn't catch it--sorry. The macro should be removed
from config.def.h if it's not used; attached is a patch for st-0.2
that doesn't use getenv(), which works for me because I don't have a
choice of setting $SHELL when dwm is launched. I'm sure someone will
have a better idea for handling this, or I could have changed the
termcmd in dwm's config.h, or whatever.

--Andrew Hills


st-use-shell-macro.patch
Description: Binary data


Re: [dev] dwm + Citrix

2012-01-30 Thread Andrew Hills
On Mon, Jan 30, 2012 at 5:02 AM, Johan Guldmyr  wrote:
> wmname = LG3D

This is for Java nonsense; I haven't found it to help with broken
applications not using Java.

> office 2007
...
> Office applications through Citrix aren't working that well for me in dwm.

Office, as in MS Office? I don't know what Citrix is, but here's a
blog post from their website that says you shouldn't use it with MS
Office:

http://blogs.citrix.com/2011/06/16/layers-of-cake-ms-office-in-the-base/

--Andrew Hills



Re: [dev] Siemens RTL Tiled Window Manager

2011-12-19 Thread Andrew Hills
On Mon, Dec 19, 2011 at 12:20 PM, Connor Lane Smith  wrote:
> Ellis Cohen wins. I demand that 1:00 - 1:25 be used to introduce every
> talk on dwm from here on out.

I'll second that. I also enjoyed his closing remark: "We don't always
use the available space because sometimes it just can't be used."

--Andrew Hills



Re: [dev] dwm 6.0

2011-12-19 Thread Andrew Hills
On Mon, Dec 19, 2011 at 11:10 AM, Thomas Dean <78...@web.de> wrote:
> Of course, now I see it: 0=infinity in this case, i.e. slave effectively
> becomes master :-)

Be careful when creating a power vacuum. Eliminating the remaining
authority will lead to anarchy as the slaves all scramble to create a
new class of masters.

--Andrew Hills



Re: [dev] what's your opinion on Go

2011-12-13 Thread Andrew Hills
> I've heared that functional programming will take over the world for
> the last decade. When talking to some older geeks they've heared this
> since the 70s. Now we are in the year 2012 nearly, and functional
> programming is still niche.

The problem, as I see it, is that you can't teach functional
programming to stupid/most people, but you can make .NET easy enough
that they can design barely-functioning Web 3.0 pages without much
mental effort or understanding. Maybe I'm just a little bitter about
the number of morons who water down the value of my degree, though.

--Andrew Hills



Re: [dev] an interesting rant by Landley

2011-11-14 Thread Andrew Hills
On Mon, Nov 14, 2011 at 6:34 AM, Jacob Todd  wrote:
> What's a landley?

An angry man, judging by the blog. Some of the entries have
interesting history (to someone new to computers, like me).

--Andrew Hills



Re: [dev] [dwm] 2000 SLOC

2011-11-03 Thread Andrew Hills
Nothing you do to a web standard will ever keep a designer from using an
image to display text content except disallowing the transfer of images.

--Andrew Hills


Re: [dev] wmii + ruby 1.9.3 = no power woes!

2011-11-03 Thread Andrew Hills
I think you misunderstand. While he may wish that no user again uses wmii,
that is not what he has stated here. His stated wish is wmii's removal from
suckless.org because it does not meet suckless standards.

--Andrew Hills


Re: [dev] [dwm] 2000 SLOC

2011-10-30 Thread Andrew Hills
On Sun, Oct 30, 2011 at 5:51 PM, Jeremy Jackins  wrote:
> Aside from wmii, what other projects do you have in mind? I'm suddenly
> nervous that my favorite software is going to start to disappear...

I think dwm, dmenu, and st are slated for removal, based on prior
discussions on this list.

--Andrew Hills



Re: [dev] Linux sucks!

2011-10-27 Thread Andrew Hills
On Thu, Oct 27, 2011 at 5:33 PM, Guilherme Lino  wrote:
> yeah but the true is that a linux desktop is almost useless for a normal
> person
> i remember first time i used ubuntu. i started a openoffice presentation on
> the 4th slide the system was already unusable. And wet back to windows, even
> google docs was better for the job.

OpenOffice = The Linux Desktop?

--Andrew Hills



Re: [dev] Introducing XLSH

2011-10-21 Thread Andrew Hills
On Fri, Oct 21, 2011 at 6:41 AM, Bjartur Thorlacius
 wrote:
> It's far from terrible, but passing the filename of a short script to
> a minimalistic statically compiled shell from init seams cleaner. But
> your way doesn't pose any problems if you don't ever use bash on tty1.
> I do so on daily bases, and thus code differently.

Do you use all (six?) of your ttys?

--Andrew Hills



Re: [dev] Some questions about st and a patch

2011-10-19 Thread Andrew Hills
On Wed, Oct 19, 2011 at 9:20 PM, Stephen Paul Weber
 wrote:
> Or are you complaining about filesize? Are you on dialup?

No, just complaining that it's hard to find the content in your
message when the majority of my mail reader's window is full of PGP
signature instead of words. That, and reading this list for an hour
will tell you the general opinion on inefficiency of any kind.

--Andrew Hills



Re: [dev] Some questions about st and a patch

2011-10-19 Thread Andrew Hills
On Wed, Oct 19, 2011 at 7:04 PM, Kurt H Maier  wrote:
> Thanks for sending out a kilobyte of text with an eleven-word reply
> buried in the middle, Stephen Paul Weber.

Hey, at least those of us who know where to find his public key know
that it was actually sent by him, or someone else with access to his
computer.

--Andrew Hills



Re: [dev] st features that'd be nice

2011-10-19 Thread Andrew Hills
On Wed, Oct 19, 2011 at 9:17 AM, Nick  wrote:
> st has no performance issues. The computers are slow, by
> modern standards (900Mhz CPU).

Right, and I have a similar speed and font size (and no issues), yet
users with faster machines experience degraded performance. I'm
wondering if they have significantly more characters (read: orders of
magnitude more) drawn, which would be a good starting point to trace
the problem (unless someone already knows what the problem is).

At work I use a 1600x1200 resolution and also have no performance
issues, but I also am using Xming or VNC and running it on large
expensive machines, so it's not a good comparison.

Recently I have discovered that, independent of the value of $TERM, I
am unable to use ^C or ^\ to kill tail when following a file. I am
required to ^Z, kill %%. However, no other program seems to have this
problem. Has anyone else seen this behavior?

--Andrew Hills



Re: [dev] st features that'd be nice

2011-10-19 Thread Andrew Hills
On Wed, Oct 19, 2011 at 8:30 AM, Nick  wrote:
> It isn't. I use terminus 16 on my computers, one with an
> Intel gfx card, one with an nVidia one, and they are both
> quite fast.

The computers are fast, or st has no performance issues (and is thus fast)?

--Andrew Hills



Re: [dev] st features that'd be nice

2011-10-19 Thread Andrew Hills
On Wed, Oct 19, 2011 at 5:59 AM, Stefan Mark  wrote:
> This problems seems to be related to the radeon video driver

My notebook has a Radeon card (Mobility X1400, I think), but I forget
which driver I am using. I will check tonight. Of note is that I use a
rather large font in my terminal to avoid straining my eyes--Terminus
12 or 14. This may be related.

--Andrew Hills



Re: [dev] st features that'd be nice

2011-10-18 Thread Andrew Hills
On Tue, Oct 18, 2011 at 9:13 AM, Stefan Mark  wrote:
> For me, performance is the main issue. Drawing of 'mc' on higher
> resolutions (1600x1200 or 1920x1080) tooks about 10s (sometimes more) on
> a reasonable fast machine. Drawing 'top' took a bit less, but not much.
> When doing so, st itself uses nearly none cpu time, but x11 took around
> 97%. (using st 0.1.1)

Strangely enough, at 1400x1050 on a Pentium M laptop running at 1GHz,
I find no performance issues running top, with a CPU usage somewhat,
but not significantly, higher than xterm's (for both st and X). This
is with st tip and 0.1.1.

Using st as an xterm replacement for some time, I found that the
missing scrollback buffer is unimportant to me, so long as I have
less, and the only real workaround I use is telling vim that it's
running in an xterm.

--Andrew Hills



Re: [dev] Make dmenu sensitive to user aliases ("Hello world")

2011-10-03 Thread Andrew Hills
On Mon, Oct 3, 2011 at 3:18 PM, Kurt H Maier  wrote:
> mouthbreathing farmers.

I can't tell whether or not this is an insult.

--Andrew Hills



Re: [dev] Dooble - Was: [surf] segfault

2011-09-20 Thread Andrew Hills
On Tue, Sep 20, 2011 at 2:01 PM, Kurt H Maier  wrote:
> The whole thing is written in XML.

Because their C++ didn't suck enough.

--Andrew Hills



Re: [dev] How to get windows opened on one tag?

2011-09-20 Thread Andrew Hills
MOD-J until you're back at the first window. If you need the list all
at once, maybe write them down as you go? You could also attach a
debugger and browse through the client list.

--Andrew Hills



On Tue, Sep 20, 2011 at 3:53 AM, Yue Wu  wrote:
> Hi list,
>
> Sometimes I want to know all windows that I've opened on current tag, to
> know if a window has opened and decide to find and switch to it, so my
> question is how to get a list of opened windows names on current tag? The
> statusbar shows only current focus window name.
>
> --
> Regards,
> Yue Wu
>
> State Key laboratory of Natural Products and Functions
> Department of Traditional Chinese Medicine
> China Pharmaceutical University(中國藥科大學)
> No.24, Tongjia Xiang Street, Nanjing 210009, China
>
>



Re: [dev] Bug (feature) in Swing applications (Netbeans)

2011-08-28 Thread Andrew Hills
On Sun, Aug 28, 2011 at 12:05 PM, Catalin David
 wrote:
> So, I decided to make up my own script to start netbeans that just does
> wmname LG3D && netbeans
> and when I run it from DMENU, switching tags fails. I assume that
> wmname needs a container or an environment?

You need to run it once per dwm launch.

--Andrew Hills



Re: [dev] Bug (feature) in Swing applications (Netbeans)

2011-08-28 Thread Andrew Hills
When I'm using Java software that fails in dwm, I run the wmname tool.

For details: http://tools.suckless.org/wmname

--Andrew Hills



On Sun, Aug 28, 2011 at 9:40 AM, Catalin David
 wrote:
> Dear all,
>
> Thanks for the great work that you are doing with DWM. Been using it
> and reading your rants for the past 2 years, but I have stumbled
> across a bug today and I am not sure what is to be done.
>
> First of all, thanks in advance for the bashing of Java and Swing and
> how they are not working on Linux. I am using DWM 5.8.2 and the
> problem comes with Netbeans and has been reported on other WM-s too
> (sun-java6). Everything lives on top of a customized Ubuntu Natty
> distribution. I have a dual-head setup, powered by an ATI HD5650 video
> card.
>
> Steps to reproduce the issue:
>
> 1. open Netbeans (or other Swing app) in one tag. Make sure the editor has 
> focus
> 2. navigate to another tag (either via kb or click on the tag)
> 3. navigate back to Netbeans tag
> 4. editor does not have focus any more.
>
> Related documentation -- apparently this is a known bug in other WMs
> too and Oracle people just say that the besides GNOME and KDE, they do
> not support anything else.
>
> Issue in ion3 ML:
> http://www.mail-archive.com/ion-general@lists.berlios.de/msg03073.html
> Issue in XMonad: http://code.google.com/p/xmonad/issues/detail?id=177
> Official Sun / Oracle bug report: 
> http://bugs.sun.com/view_bug.do?bug_id=6798064
>
> Maybe some of you can make more sense about this than me, since I am
> very inexperienced with X programming in C. Maybe it's a known issue,
> but I was not able to find any reference in DWM on the interwebs.
>
> Thanks a lot in advance,
>
> Catalin
>
> --
> **
> Catalin David
> M.Sc. Smart Systems 2012
> B.Sc. Computer Science 2010
> Jacobs University Bremen
>
> Phone: +49-(0)1577-49-38-667
>
> Hans-Hermann-Sieling-Strasse 2A
> Bremen, 28759
> Germany
> **
>
>



Re: [dev] [dmenu] add a space when tab is pressed [patch]

2011-08-26 Thread Andrew Hills
I don't want to add an argument when I press Tab. On what system is
this the default operation, such that it is "obvious"?

--Andrew Hills



On Fri, Aug 26, 2011 at 1:23 PM,   wrote:
> Hello,
> when tab is pressed, one wants obviously to add an argument
> and has to press space before that.
> The attached patch does it for you.
> Have a nice week-end.
>



Re: [dev] [wmii] modkey-2 misbehaving on dvorak keyboard after a change in wmiirc_local

2011-08-26 Thread Andrew Hills
"twosuperior" isn't a key on US keyboards, and pressing Alt-2 injects
it in many applications. It is possible that it is confusing Alt-2
with your literal twosuperior. Just a thought--I'm not an expert.

--Andrew Hills



On Fri, Aug 26, 2011 at 1:29 PM, Mr. Bougs  wrote:
> Hello,
>
> I'm running wmii's hg tip (rev 2788).
>
> I just experienced a strange behaviour with the specific shortcut $MODKEY-2
> after switching from the be (azerty) to the us dvorak-intl xkb layout. When
> using that shortcut, the current window seems to lose focus (the title bar
> stays highlighted). When I press it again, the window gains focus and it
> inputs a 2.
>
> xev shows nothing interesting. The problem does not happen in openbox and is
> independent on the definition of $MODKEY, so it must be wmii's fault
> somehow.
>
> I had inserted these few lines into wi_events in my wmiirc_local:
>
>  #Additional tag shortcut for 0
>  Key $MODKEY-twosuperior
>      wmiir xwrite /ctl view "0"
>  Key $MODKEY-Shift-twosuperior
>      wmiir xwrite /client/sel/ctl tags "0"
>
> The ² key is the upper left key on belgian keyboards, to the left of 1.
> Everything worked fine on the belgian layout. Commenting these lines out
> made MODKEY-2 work as expected on dvorak.
>
> Since I don't need this specific twosuperior shortcut on a dvorak keyboard,
> this does not bother me, but I thought it was a strange enough behaviour to
> be worth mentioning here.
>
> Should I submit this to the bug tracker, or does it need more info?
>
> Thank you for your attention,
> Mr. B
>
>



Re: [dev] [dwm] layers

2011-07-21 Thread Andrew Hills
On Thu, Jul 21, 2011 at 9:42 AM, Jean-Paul DEUX  wrote:
> For example, if I want a third application for chat (I don't know, say
> pidgin) I have to create a new tag, and it's not very handy to create a
> new tag for each new application I install.

Do you really install applications so often that thirty seconds
rebuilding dwm will inconvenience you?

--Andrew Hills



Re: [dev] [dwm] layers

2011-07-21 Thread Andrew Hills
On Thu, Jul 21, 2011 at 3:18 AM, Jean-Paul DEUX  wrote:
> I want to simultaneously have thunderbird in monocle mode and skype in
> tile mode in the same tag and switch between them (_all_ thunderbird
> windows and _all_ skype windows) like if they are simple windows.

I think what you want is the "pertag" patch, which, if I'm not
completely wrong, allows you to choose your layout per tag. Then you
can have a tag for Thunderbird and a tag for Skype and set them to
different layouts. Does that work for you?

--Andrew Hills



Re: [dev] [dwm] sloppy focus

2011-07-04 Thread Andrew Hills
On Sun, Jul 3, 2011 at 9:10 PM, Connor Lane Smith  wrote:
> I don't know about all you, but I find dwm's sloppy focus can be
> really annoying at times -- focusing a window when I accidentally
> nudge my atrophying pointer -- and would rather click-to-focus. The
> great thing about dropping dwm's sloppy focus is it saves 20 lines of
> code! So how about we make dwm less mousy and a bit simpler, too?

Since the attached patch only removes code, couldn't a macro in
config.h trivially be used to select focus behavior without clutter?

--Andrew Hills



Re: [dev] [dwm] segfault

2011-06-22 Thread Andrew Hills
On Wed, Jun 22, 2011 at 9:32 AM, Arian Kuschki
 wrote:
> How can I diff my local version against tip?

Check out tip:

hg clone http://hg.suckless.org/dwm

Then diff:

diff /path/to/your/dwm.c /path/to/tip/dwm.c

--Andrew Hills



Re: [dev] Microsoft considers harmful...

2011-06-21 Thread Andrew Hills
On Tue, Jun 21, 2011 at 10:35 AM, hiro <23h...@googlemail.com> wrote:
> Also your rhetoric sucks, I feel no joy hearing these stories about
> nails and furniture.

Maybe I'm being insensitive to your culture, but are you sure coffins
are furniture?

--Andrew Hills



Re: [dev] How to monitor battery status

2011-06-20 Thread Andrew Hills
On Mon, Jun 20, 2011 at 8:40 AM, Kurt Van Dijck  wrote:
> I missed (and still do not see)
> how to make xsetroot(1) read from stdin, line by line.

xsetroot -name "`my_commands_that_write_to_stdout`"

> That's why (I thought) that scripts spawn xsetroot(1) each time.

They wouldn't need to run your C program each time?

--Andrew Hills



Re: [dev] Microsoft considers harmful...

2011-06-19 Thread Andrew Hills
On Sun, Jun 19, 2011 at 7:57 AM, Bjartur Thorlacius
 wrote:
> "WebApps" take all the power away from site
> administrators and give it to distributors.

Bingo.

--Andrew Hills



Re: [dev] Experimental editor

2011-06-17 Thread Andrew Hills
On Fri, Jun 17, 2011 at 7:39 AM, Rob  wrote:
> sshfs?

That's what I use, personally, but some people hate it, and it's not
always available. I prefer to see the network latency when I'm
actually reading or writing the file rather than seeing my editor
freeze, though, so I always use sshfs or scp.

--Andrew Hills



Re: [dev] Experimental editor

2011-06-17 Thread Andrew Hills
On Fri, Jun 17, 2011 at 6:29 AM, Nick  wrote:
> But if we're thinking about
> breaking from the terminal, how would remote editing work?
> Some sort of ssh piping from / to the file on the server?
> I haven't thought this through, but it's certainly a usecase
> which would be nice to cover.

scp

--Andrew Hills



Re: [dev] Microsoft considers harmful...

2011-06-17 Thread Andrew Hills
On Fri, Jun 17, 2011 at 2:00 AM, hiro <23h...@googlemail.com> wrote:
> http://blogs.technet.com/b/srd/archive/2011/06/16/webgl-considered-harmful.aspx

>From the article:

"In its current form, WebGL is not a technology Microsoft can endorse
from a security perspective."

It doesn't sound any worse from a security perspective than any of
their other products, which they have no problem endorsing.

--Andrew Hills



Re: [dev] Experimental editor

2011-06-15 Thread Andrew Hills
On Wed, Jun 15, 2011 at 1:40 PM, Piotr Zalewa  wrote:
> I use G2 as an emergency when I need to edit via SSH.
> it works well with vi.

I have a Motorola Droid on which I use vi over SSH on a regular basis.
It is extremely painless.

--Andrew Hills



Re: [dev] Experimental editor

2011-06-15 Thread Andrew Hills
On Wed, Jun 15, 2011 at 4:02 PM, Szabolcs Nagy  wrote:
> * Andrew Hills  [2011-06-15 11:51:17 -0400]:
>> On Wed, Jun 15, 2011 at 11:59 AM, Jon bradley  wrote:
>> > I own a keyboard that has no pgup/pgdn, or arrow keys.
>>
>> Did you steal it from a museum?
>
> you don't have to go to a musem for that
>
> http://en.wikipedia.org/wiki/File:T-Mobile_G1_launch_event_2.jpg

That keyboard also doesn't have Ctrl... and I'm guessing no one here
will bother porting the editor to an Android app.

--Andrew Hills



  1   2   >