summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-November/019943.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/019943.html')
-rw-r--r--zarb-ml/mageia-dev/2012-November/019943.html128
1 files changed, 128 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/019943.html b/zarb-ml/mageia-dev/2012-November/019943.html
new file mode 100644
index 000000000..8780dbc5b
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-November/019943.html
@@ -0,0 +1,128 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6435%5D%20Added%20a%20first%20log%20viewer%0A%09module.&In-Reply-To=%3C50A0CA6E.70608%40linux.it%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="019966.html">
+ <LINK REL="Next" HREF="019945.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.</H1>
+ <B>Angelo Naselli</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6435%5D%20Added%20a%20first%20log%20viewer%0A%09module.&In-Reply-To=%3C50A0CA6E.70608%40linux.it%3E"
+ TITLE="[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.">anaselli at linux.it
+ </A><BR>
+ <I>Mon Nov 12 11:07:42 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="019966.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI>Next message: <A HREF="019945.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19943">[ date ]</a>
+ <a href="thread.html#19943">[ thread ]</a>
+ <a href="subject.html#19943">[ subject ]</a>
+ <a href="author.html#19943">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+Hi Guillaume,
+Il 12/11/2012 09:44, Guillaume Rousse ha scritto:
+&gt;<i> Le 11/11/2012 19:13, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A> a &#233;crit :
+</I>&gt;&gt;<i> +package LogViewer; + +use strict; +use POSIX;
+</I>&gt;<i> never load the POSIX module this way. Either import it without
+</I>&gt;<i> importing any symbol in your namespace, either import just the
+</I>&gt;<i> symbols you need. See POSIX(3pm) for details.
+</I>
+I thought it wasn't the right way, i just forgot to fix it.
+This module is not completed yet, but feel free to work on it or
+to any other module you want to port.
+
+My basic idea was to show how an easy task like showing log could
+work in qt, ncurses and gtk without changing the core code.
+
+Again I'm not a perl developer and neither i'm pretending to be,
+what i'm trying to, is porting some old programs to new layout,
+but if that hurts someone's feeling i can stop working on it
+and do some in c++ for what i need.
+
+Funny from here:
+&gt;<i> [..]
+</I>&gt;&gt;<i> + $::isWizard = 1;
+</I>&gt;<i> ugly syntax.
+</I>&gt;<i>
+</I>&gt;<i> [..]
+</I>&gt;&gt;<i> +#- check services +my ) . Data::Dumper-&gt;Dump([ $service ],
+</I>&gt;&gt;<i> [qw(*services)]) . q( +foreach (split(':', $options{SERVICES}))
+</I>&gt;&gt;<i> { + next unless $services{$_}; + $r .= &quot;Service $_
+</I>&gt;&gt;<i> ($services{$_} is not running)\\n&quot; unless -e
+</I>&gt;&gt;<i> &quot;/var/lock/subsys/$_&quot;; +}
+</I>&gt;<i> You shouldn't leave debugging statement in your code. Moreover, I
+</I>&gt;<i> doubt this is syntactically correct. Do you use Test::Compile to
+</I>&gt;<i> check your code compiles correctly ?
+</I>&gt;<i>
+</I>the above code is all from old logdrake, all commented and not
+runnable, because i haven't imported yet :p
+
+Cheers,
+ Angelo
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A>
+
+iEYEARECAAYFAlCgymsACgkQqEs9DA4DquDSBACggCiaEKouQ1s2wAFJHFmt1WBF
+1joAoKFatBVmuK3ERVolx6B15XclNUtl
+=qlDj
+-----END PGP SIGNATURE-----
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="019966.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI>Next message: <A HREF="019945.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#19943">[ date ]</a>
+ <a href="thread.html#19943">[ thread ]</a>
+ <a href="subject.html#19943">[ subject ]</a>
+ <a href="author.html#19943">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>