blob: 51a3bb9ef2e11fac1a73bd6b02bdaf1b99275eca (
plain)
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
|
<!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=%3C20130302221135.GY21938%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="023245.html">
<LINK REL="Next" HREF="023248.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=%3C20130302221135.GY21938%40mars-attacks.org%3E"
TITLE="[Mageia-dev] Freeze push: desktop-common-data">boklm at mars-attacks.org
</A><BR>
<I>Sat Mar 2 23:11:35 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="023245.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI>Next message: <A HREF="023248.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23246">[ date ]</a>
<a href="thread.html#23246">[ thread ]</a>
<a href="subject.html#23246">[ subject ]</a>
<a href="author.html#23246">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sat, 02 Mar 2013, nicolas vigier wrote:
><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>
We could for example add /usr/bin/xeditor for the default graphical
text editor. And replace this script with a link to /etc/alternatives.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="023245.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI>Next message: <A HREF="023248.html">[Mageia-dev] Freeze push: desktop-common-data
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#23246">[ date ]</a>
<a href="thread.html#23246">[ thread ]</a>
<a href="subject.html#23246">[ subject ]</a>
<a href="author.html#23246">[ 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>
|