1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Freeze push: desktop-common-data
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Freeze%20push%3A%20desktop-common-data&In-Reply-To=%3C20130302235719.GZ21938%40mars-attacks.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="023248.html">
<LINK REL="Next" HREF="023274.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Freeze push: desktop-common-data</H1>
<B>nicolas vigier</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Freeze%20push%3A%20desktop-common-data&In-Reply-To=%3C20130302235719.GZ21938%40mars-attacks.org%3E"
TITLE="[Mageia-dev] Freeze push: desktop-common-data">boklm at mars-attacks.org
</A><BR>
<I>Sun Mar 3 00:57:19 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="023248.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI>Next message: <A HREF="023274.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23249">[ date ]</a>
<a href="thread.html#23249">[ thread ]</a>
<a href="subject.html#23249">[ subject ]</a>
<a href="author.html#23249">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sat, 02 Mar 2013, David Walser wrote:
><i> nicolas vigier wrote:
</I>><i> > On Sat, 02 Mar 2013, David Walser wrote:
</I>><i> >
</I>><i> >> nicolas vigier wrote:
</I>><i> >> > On Sat, 02 Mar 2013, David Walser wrote:
</I>><i> >> >
</I>><i> >> >> nicolas vigier wrote:
</I>><i> >> >> > Please push desktop-common-data.
</I>><i> >> >> >
</I>><i> >> >> > In this new version /usr/bin/editor has been changed to try to use
</I>><i> >> >> > $VISUAL and $EDITOR instead of only $TEXTEDITOR :
</I>><i> >> >> > <A HREF="http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?view=log">http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?view=log</A>
</I>><i> >> >>
</I>><i> >> >> This was a bad change. It was working fine :o(
</I>><i> >> >>
</I>><i> >> >> <A HREF="http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?r1=7450&r2=7451">http://svnweb.mageia.org/soft/desktop-common-data/trunk/bin/editor?r1=7450&r2=7451</A>
</I>><i> >> >
</I>><i> >> > It was not working. You can try with a script like this to check that it
</I>><i> >> > doesn't work :
</I>><i> >> > #!/bin/sh
</I>><i> >> > TEXTEDITOR="xvt -e vim"
</I>><i> >> > $TEXTEDITOR $@
</I>><i> >> >
</I>><i> >> > It opens a new terminal with vim inside, but does not open the file.
</I>><i> >> >
</I>><i> >> > Also opening a new terminal when you are already in a terminal is not
</I>><i> >> > very nice.
</I>><i> >>
</I>><i> >> It was working fine, I tested it when I wrote it. Do you even know what this script is for?
</I>><i> >
</I>><i> > It doesn't work, and it's easy to see why it cannot work.
</I>><i> >
</I>><i> > A lot of script coming from Debian use /usr/bin/editor and expect it to
</I>><i> > open an editor in the same terminal. If you need a script that always
</I>><i> > open a graphical editor and does not open the file that is given on
</I>><i> > command line you should probably give it an other name.
</I>><i>
</I>><i> This thing wasn't created for use with Debian scripts, it was created for the Text Editor toolbar button in IceWM. It was originally called
</I>><i> xte, but that conflicted with some other package, so dams renamed it to editor. If that name is causing problems, feel free to rename it
</I>><i> again (we'll have to update IceWM for the new name). But the old script as it was worked fine. Please restore it.
</I>
Ok your buggy script has been restored. Now someone need to submit
desktop-common-data again.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="023248.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI>Next message: <A HREF="023274.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23249">[ date ]</a>
<a href="thread.html#23249">[ thread ]</a>
<a href="subject.html#23249">[ subject ]</a>
<a href="author.html#23249">[ 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>
|