On Tue, Aug 02, 2011 at 04:42:01PM +, Thorsten Glaser wrote:
Josip Rodin dixit:
/var/lib/misc/editorrc could work?
Sure would. Do you want me to prepare a patch for joe?
If so, should I version it as NMU or regularily?
You can prepare a patch, sure, but while you're at it, do first
Josip Rodin dixit:
You can prepare a patch, sure, but while you're at it, do first test the
situation where 'editorrc' is a slave to 'editor' so that you can be sure
Yup, tested that. Took me quite a few turns, too.
The joe patch is attached, if you want me to upload this,
just tell me so. The
On Mon, Aug 01, 2011 at 10:28:17PM +, Thorsten Glaser wrote:
Maybe simply coding it differently inside joe will be the best solution -
if it notices that $self is 'editor', then don't just look for
/etc/joe/${self}rc but instead look itself up once again through
/etc/alternatives/editor to
Josip Rodin dixit:
And if you no longer have /etc/joe/editorrc but instead /etc/editorrc,
then that still requires source patching for joe to actually *read* it,
so you're back to square one.
No that’s actually the fun thing, just symlink it.
I have a symlink already:
lrwxrwxrwx 1 root root 15
On Tue, Aug 02, 2011 at 08:03:40AM +, Thorsten Glaser wrote:
Josip Rodin dixit:
And if you no longer have /etc/joe/editorrc but instead /etc/editorrc,
then that still requires source patching for joe to actually *read* it,
so you're back to square one.
No that???s actually the fun
Josip Rodin dixit:
The only question would be whether having a symlink called /etc/editorrc
would confuse non-joe users.
Hm. Too bad we can't directly link to /etc/alternatives/editorrc...
if you have any better place for it (/var/**/editorrc?), tell so ;-)
bye,
//mirabilos
--
“Having a
On Tue, Aug 02, 2011 at 09:10:20AM +, Thorsten Glaser wrote:
Josip Rodin dixit:
The only question would be whether having a symlink called /etc/editorrc
would confuse non-joe users.
Hm. Too bad we can't directly link to /etc/alternatives/editorrc...
if you have any better place for it
I think that all of this silliness could be avoided, while perfectly
reproducing current behavior, if jstar, joe, etc were wrappers, not
symlinks:
#!/bin/bash
if [ x$(basename -- $0) = xeditor ]; then
progname=jstar
else
progname=$0
fi
exec -a $progname /usr/lib/joe/joe.real
Piotr Engelking inkerma...@gmail.com wrote:
#!/bin/bash
if [ x$(basename -- $0) = xeditor ]; then
Sorry, insufficient quoting, the above should be of course:
if [ x$(basename -- $0) = xeditor ]; then
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject
Josip Rodin dixit:
/var/lib/misc/editorrc could work?
Sure would. Do you want me to prepare a patch for joe?
If so, should I version it as NMU or regularily?
bye,
//mirabilos
--
08:05⎜XTaran:#grml mika: Does grml have an tool to read Apple
⎜System Log (asl) files? :)
08:08⎜ft:#grml
Piotr Engelking dixit:
I think that all of this silliness could be avoided, while perfectly
reproducing current behavior, if jstar, joe, etc were wrappers, not
symlinks:
I think that’s a lot more silly. Besides, wrapping
would slow down and bloat.
#!/bin/bash
No bash in my code.
if [
Thorsten Glaser t...@mirbsd.de wrote:
I think that’s a lot more silly. Besides, wrapping
would slow down and bloat.
It avoids the problem of editor and editorrc being out of sync.
Slowdown is imperceptible (which is the only thing that matters, since
joe is always used interactively). There
Thorsten Glaser t...@mirbsd.de wrote:
I actually like the idea of making editorrc a slave to editor…
And this solution would indeed probably be the best, if it is possible.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
Hi,
I just ran into a funny problem regarding update-alternatives
and editorrc: if joe is installed, it wants /etc/joe/editorrc
whereas jupp reads /etc/jupp/editorrc (I’ll use joe’s for now
and symlink to it but that will break when joe was installed,
jupp is selected and joe is then removed…
On Mon, Aug 01, 2011 at 08:20:21PM +, Thorsten Glaser wrote:
Hi,
I just ran into a funny problem regarding update-alternatives
and editorrc: if joe is installed, it wants /etc/joe/editorrc
whereas jupp reads /etc/jupp/editorrc (I???ll use joe???s for now
and symlink to it but that will
Josip Rodin dixit:
What's with all the UTF-8 quotes? You're making your mails really hard to
read and for no apparent reason...
Oh okay. UTF-8 works here.
The problem with 'editorrc' is that it's really a joe-specific config file,
so it doesn't make sense to move it out of /etc/joe.
Well,
16 matches
Mail list logo