Re: [dev] hgweb typically sucks

2011-04-01 Thread Ethan Grammatikidis
On 1 Apr 2011, at 4:09 pm, pancake wrote: On 04/01/11 16:46, Andreas Amann wrote: On Fri, Apr 01, 2011 at 04:32:42PM +0200, pancake wrote: we can override those mimetypes to be text/plain so all browsers will display it correctly. Or try https://addons.mozilla.org/en-us/firefox/addon/ope

Re: [dev] hgweb typically sucks

2011-04-01 Thread pancake
On 04/01/11 16:46, Andreas Amann wrote: On Fri, Apr 01, 2011 at 04:32:42PM +0200, pancake wrote: we can override those mimetypes to be text/plain so all browsers will display it correctly. Or try https://addons.mozilla.org/en-us/firefox/addon/open-in-browser/ imho. having to install addons

Re: [dev] hgweb typically sucks

2011-04-01 Thread Andreas Amann
On Fri, Apr 01, 2011 at 04:32:42PM +0200, pancake wrote: > we can override those mimetypes to be text/plain so all browsers will > display it correctly. > Or try https://addons.mozilla.org/en-us/firefox/addon/open-in-browser/

Re: [dev] hgweb typically sucks

2011-04-01 Thread pancake
we can override those mimetypes to be text/plain so all browsers will display it correctly. for the gray/white backgrounds... we can change the .css it's also anoying for me :) On 04/01/11 16:16, Ethan Grammatikidis wrote: On 1 Apr 2011, at 2:55 pm, Ethan Grammatikidis wrote: On 1 Apr 20

Re: [dev] hgweb typically sucks

2011-04-01 Thread Anders Andersson
> On 1 Apr 2011, at 2:55 pm, Ethan Grammatikidis wrote: >> >> On 1 Apr 2011, at 2:33 pm, Nick wrote: >>> >>>  `curl -I >>> >>> http://hg.suckless.org/stali-toolchain/raw-file/e2f2828820b4/build/i386-linux-uclibc/include/a.out.h` >>> shows that hg is presenting it to the browser as: >>> Content-Disp

Re: [dev] hgweb typically sucks

2011-04-01 Thread Ethan Grammatikidis
On 1 Apr 2011, at 2:55 pm, Ethan Grammatikidis wrote: On 1 Apr 2011, at 2:33 pm, Nick wrote: `curl -I http://hg.suckless.org/stali-toolchain/raw-file/e2f2828820b4/build/ i386-linux-uclibc/include/a.out.h` shows that hg is presenting it to the browser as: Content-Disposition: inline Good

Re: [dev] hgweb typically sucks

2011-04-01 Thread Sean Howard
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (Yah, work restrictions suck more.) However, my Firefox which is the standard packaged with OpenBSD 4.8 does the same thing. I'd maybe check file associations --Sean On 1 April 2011 10:00, Ethan G

Re: [dev] hgweb typically sucks

2011-04-01 Thread Ethan Grammatikidis
On 1 Apr 2011, at 2:15 pm, Sean Howard wrote: Firefox reads it just fine. I get the .c in the browser. What web browser are you using? Firefox... Version 3.6.3 to be exact, packaged by Slackware. What version are you using, and what OS or distro? Also - the point of a web browser is t

Re: [dev] hgweb typically sucks

2011-04-01 Thread Ethan Grammatikidis
On 1 Apr 2011, at 2:33 pm, Nick wrote: `curl -I http://hg.suckless.org/stali-toolchain/raw-file/e2f2828820b4/build/ i386-linux-uclibc/include/a.out.h` shows that hg is presenting it to the browser as: Content-Disposition: inline Good gracious! I assumed it was 'download' rather than 'inline

Re: [dev] hgweb typically sucks

2011-04-01 Thread Nick
On Fri, Apr 01, 2011 at 02:23:56AM +0100, Ethan Grammatikidis wrote: > Looking at the list of "other projects" on suckless.org some catch > my eye, so I click on them & get taken to a hgweb site. Okay, no > problem so far, so I click on a file, micy's micy.c for example. > Between the syntax highli

Re: [dev] hgweb typically sucks

2011-04-01 Thread Sean Howard
Firefox reads it just fine. I get the .c in the browser. What web browser are you using? (I typically use a combination of xxxterm, lynx, and firefox. I am at work though, so only Firefox is available). Also - the point of a web browser is to read the web - if you want it to dump everything raw

[dev] hgweb typically sucks

2011-03-31 Thread Ethan Grammatikidis
Looking at the list of "other projects" on suckless.org some catch my eye, so I click on them & get taken to a hgweb site. Okay, no problem so far, so I click on a file, micy's micy.c for example. Between the syntax highlighting and the crazy two-tone background my old eyes can't read it so