Re: Announcing CML2, a replacement for the kbuild system

From: Eric S. Raymond (esr@thyrsus.com)
Date: Wed May 24 2000 - 16:38:57 EST


Alexander Viro <viro@math.psu.edu>:
> On Wed, 24 May 2000, Eric S. Raymond wrote:
>
> > (Ideally, I'd like to turf both Perl and Tk out of the kernel tree
> > entirely. They're kludges, and they promote kludging. Python plus
>
> <shrug> Let's take holy wars somewhere else... No arguments on Tk, but
> Perl vs. Python has _way_ too nasty potential for growing into BThreadFH.

I am now stifling myself :-).
 
> > a GTK++ binding could make Tk unnecessary. Would GTK++ be a greater
> > or lesser requirement than Tk?)
>
> <double shrug> FWIC, both are evil. As long as the thing works without X
> installed on the box - watch me not care.

You'll like its behavior, then. It wakes up, looks around, says
"Can I do X and do I have Tkinter?". If so, it launches the Tk
interface (in my version; the one I posted doesn't have this code).

If either DISPLAY is unset or Tkinter isn't importable, it then says
"Can I do screen graphics and do I have curses?" If so, it launches the curses
interface.

If TERM is unset or the curses import fails, it falls back to glass-tty mode.

Curses or glass-tty mode can be forced with command-line options.

(One of Python's virtues is that failed imports don't tank the interpreter.
Instead, they throw an interrupt that you can choose to catch.)

-- 
		<a href="http://www.tuxedo.org/~esr">Eric S. Raymond</a>

In the absence of any evidence tending to show that possession or use of a 'shotgun having a barrel of less than eighteen inches in length' at this time has some reasonable relationship to the preservation or efficiency of a well regulated militia, we cannot say that the Second Amendment guarantees the right to keep and bear such an instrument. [...] The Militia comprised all males physically capable of acting in concert for the common defense. -- Majority Supreme Court opinion in "U.S. vs. Miller" (1939)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:12 EST