Re: [dev] Usable typesetting system?

2010-08-23 Thread Antoni Grzymala
Alexander Teinum dixit (2010-08-22, 17:01): I might create a parser for a language that I just invented. It’s somewhat like Common Lisp. (h1 A heading) (p This is (strong awefully) nice.) (h2 Another heading) Or, it could be written this way… (h1 A heading) (p This is

Re: [dev] st on OpenBSD?

2010-08-23 Thread Anselm R Garbe
On 23 August 2010 03:40, Anthony J. Bentley anthonyjbent...@gmail.com wrote: I am interested in using st on OpenBSD, but it does not compile since OpenBSD does not implement posix_openpt et al: st.c: In function 'ttynew': st.c:243: warning: implicit declaration of function 'posix_openpt'

Re: [dev] Usable typesetting system?

2010-08-23 Thread Jacob Todd
On Sun, Aug 22, 2010 at 01:15:40PM +0200, Martin Kopta wrote: Hi everyone, I wrote my bachelor thesis using LaTeX and now I am going to write my master thesis. I would rather avoid TeX and everything TeX based this time. The PDF output of (La)TeX is awesome and I really like that part of

[dev] [surf] OT JSStringRef to stdout

2010-08-23 Thread Christian Hahn
Hi, I want to print a possible exception in function *runscript* to stdout, but I have a problem with this JSStringRef. What I currently do is: if (fwide(stdout, 1) 0) . JSStringRef str = JSStringCreateWithUTF8CString(test); const JSChar *c = JSStringGetCharactersPtr(str); for(int i=0;

[dev] [dwm] remove unneeded lines

2010-08-23 Thread Hiltjo Posthuma
Hi, The attached patch removes an unneccesary check in the enternotify() function and removes about 4 lines. It might make it slightly less readable maybe, but if you like it feel free to apply it :) Kind regards, Hiltjo Posthuma diff -r 0d86faf4b05c dwm.c --- a/dwm.c Sun Jul 25 09:58:25 2010

Re: [dev] [dwm] remove unneeded lines

2010-08-23 Thread Anselm R Garbe
On Mon, Aug 23, 2010 at 06:15:02PM +0200, Hiltjo Posthuma wrote: The attached patch removes an unneccesary check in the enternotify() function and removes about 4 lines. It might make it slightly less readable maybe, but if you like it feel free to apply it :) Excellent, applied! Cheers,

[dev] Stripping html from email

2010-08-23 Thread Josh Rickmar
Is there currently a tool or script that I can use to strip html from emails? Basically, it should work like this: - Read the message from stdin - If there is no html, leave as is - If it finds both html and plain text, strip the html attachment - If it finds html but no plain text, leave as is

Re: [dev] Stripping html from email

2010-08-23 Thread Anthony J. Bentley
Is there currently a tool or script that I can use to strip html from emails? Basically, it should work like this: - Read the message from stdin - If there is no html, leave as is - If it finds both html and plain text, strip the html attachment - If it finds html but no plain text, leave

Re: [dev] Stripping html from email

2010-08-23 Thread Josh Rickmar
On Mon, Aug 23, 2010 at 09:46:58PM -0600, Anthony J. Bentley wrote: Is there currently a tool or script that I can use to strip html from emails? Basically, it should work like this: - Read the message from stdin - If there is no html, leave as is - If it finds both html and plain

Re: [dev] Stripping html from email

2010-08-23 Thread Stanley Lieber
On Mon, Aug 23, 2010 at 10:46 PM, Anthony J. Bentley anthonyjbent...@gmail.com wrote: It’s not quite what you’re asking for, but I have nmh set up like this: mhshow-show-text/html: lynx -dump %F | less Lynx sucks but it sorta works well enough here, I guess. also see htmlfmt:

Re: [dev] Stripping html from email

2010-08-23 Thread Suraj Kurapati
On Mon, Aug 23, 2010 at 8:46 PM, Anthony J. Bentley anthonyjbent...@gmail.com wrote: Is there currently a tool or script that I can use to strip html from emails? mhshow-show-text/html: lynx -dump %F | less Lynx sucks but it sorta works well enough here, I guess. I find that w3m does a much

Re: [dev] Stripping html from email

2010-08-23 Thread Benjamin R. Haskell
On Mon, 23 Aug 2010, Suraj Kurapati wrote: On Mon, Aug 23, 2010 at 8:46 PM, Anthony J. Bentley wrote: Is there currently a tool or script that I can use to strip html from emails? mhshow-show-text/html: lynx -dump %F | less Lynx sucks but it sorta works well enough here, I guess.