[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu
From: |
Andrea Gamba |
Subject: |
[Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu |
Date: |
Wed, 22 Apr 2009 12:34:16 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090318) |
Dear Joris,
can you fix also the old /bin/sh - /bin/bash problem, that still
hampers the use of external mathematical programs in Ubuntu 8.10? See:
https://launchpad.net/ubuntu/+source/texmacs/+bug/58498
and also:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497020
https://savannah.gnu.org/bugs/?18519
https://bugs.launchpad.net/ubuntu/+source/texmacs/+bug/181315
https://bugs.launchpad.net/ubuntu/+source/texmacs/+bug/70655
I know there was a long discussion about it. At the end of the story, I
think there are two easy solutions:
1) change /bin/sh -> /bin/bash in the first row of all shell scripts in
/usr/local/libexec/TeXmacs/bin/, that should still be good for all
distributions;
2) do it in a distribution-dependent way, i.e. only for the Ubuntu and
Debian package (although the problem is only in Ubuntu, there is usually
a single package for both.)
Other solutions are more complicated.
Apart from the /bin/sh - /bin/bash problem:
The Octave plugin hangs TeXmacs at start. The fix is to change
tm-start.oct and .octaverc in
/usr/local/share/TeXmacs/plugins/octave/octave/ as follows:
gset -> __gnuplot_set__
LOADPATH=[[...,LOADPATH]] -> addpath([[...]])
PS1=... -> PS1(...)
PS2=... -> PS2(...)
to take into account changes in the Octave script language (that are
listed by typing "new" at the Octave prompt). See:
https://bugs.launchpad.net/ubuntu/+source/texmacs/+bug/181315
Unfortunately, the list of broken plugins (at least in Ubuntu) is not
exhausted here. I would like to contribute to improve the situation, is
it ok to go on posting plugin-related patches here?
Andrea
- [Texmacs-dev] texmacs 1.0.7 fails to build with g++-4.3, Kamaraju S Kusumanchi, 2009/04/20
- Re: [Texmacs-dev] texmacs 1.0.7 fails to build with g++-4.3, Joris van der Hoeven, 2009/04/20
- [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu,
Andrea Gamba <=
- Re: [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu, Joris van der Hoeven, 2009/04/25
- Re: [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu, Andrey G. Grozin, 2009/04/26
- Re: [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu, Joris van der Hoeven, 2009/04/26
- Re: [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu, David Allouche, 2009/04/27
- Re: [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu, Joris van der Hoeven, 2009/04/27
- [Texmacs-dev] Octave plugin, Andrea Gamba, 2009/04/27
- Re: [Texmacs-dev] Octave plugin, Joris van der Hoeven, 2009/04/27
- Re: [Texmacs-dev] Octave plugin, Andrea Gamba, 2009/04/27
- Re: [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu, Andrea Gamba, 2009/04/27
- Re: [Texmacs-dev] /bin/sh vs. /bin/bash in Ubuntu, Joris van der Hoeven, 2009/04/27