[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#522062: marked as done (octave3.0: can't edit function files from octave session)



Your message dated Sun, 14 Feb 2010 11:25:18 +0100
with message-id <20100214102518.GA18023@atlan>
and subject line Re: [Pkg-octave-devel] Bug#522062: Bug#522062: octave3.0: can't edit function files from octave session
has caused the Debian Bug report #522062,
regarding octave3.0: can't edit function files from octave session
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
522062: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522062
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: octave3.0
Version: 1:3.0.1-6lenny3
Severity: normal

How to reproduce:
shell> mkdir -p ~/octave
shell> unset DISPLAY
octave> edit home "~/octave"
octave> edit mode "sync"
octave> EDITOR
ans = vim
octave> edit f.m
Vim: Warning: Output is not to a terminal

Workarround:
Use gvim or emacs with X window support.

Problem seems to be related to RETURN_OUTPUT parameter of the system()
function.  Compare, for example,
octave> system("vim test.m")
vs
octave> system("vim test.m",[]) # edit() uses system() like this

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages octave3.0 depends on:
ii  libatlas3gf-base [libl 3.6.0-22          Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so 1.2-2             Basic Linear Algebra Subroutines 3
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.18.2-8lenny2    Multi-protocol file transfer libra
pi  libfftw3-3             3.1.2-3.1         library for computing Fast Fourier
ii  libgcc1                1:4.3.2-1.1       GCC support library
ii  libgfortran3           4.3.2-1.1         Runtime library for GNU Fortran ap
ii  libglpk0               4.29-2            linear programming kit with intege
ii  libhdf5-openmpi-1.6.6- 1.6.6-4           Hierarchical Data Format 5 (HDF5) 
ii  liblapack3gf [liblapac 3.1.1-1           library of linear algebra routines
ii  libncurses5            5.7+20081213-1    shared libraries for terminal hand
ii  libpcre3               7.6-2.1           Perl 5 Compatible Regular Expressi
ii  libqhull5              2003.1-9lenny1    calculate convex hulls and related
ii  libreadline5           5.2-3.1           GNU readline and history libraries
ii  libstdc++6             4.3.2-1.1         The GNU Standard C++ Library v3
ii  libsuitesparse-3.1.0   3.1.0-3           collection of libraries for comput
ii  texinfo                4.11.dfsg.1-4     Documentation system for on-line i
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages octave3.0 recommends:
ii  gnuplot                       4.2.2-1.2  A command-line driven interactive 
ii  libatlas3gf-base              3.6.0-22   Automatically Tuned Linear Algebra

Versions of packages octave3.0 suggests:
ii  octave3.0-emacsen        1:3.0.1-6lenny3 Emacs support for the GNU Octave l
ii  octave3.0-headers        1:3.0.1-6lenny3 header files for the GNU Octave la
ii  octave3.0-info           1:3.0.1-6lenny3 GNU Info documentation on the GNU 

-- no debconf information



--- End Message ---
--- Begin Message ---
On Sun, Jan 03, 2010 at 06:59:39PM +0100, Thomas Weber wrote:
> On Fri, May 01, 2009 at 06:48:00PM +0200, Thomas Weber wrote:
> > On Wed, Apr 01, 2009 at 03:53:25PM +0200, Rafael Laboissiere wrote:
> > > * Sergey B Kirpichev <skirpichev@gmail.com> [2009-03-31 17:43]:
> > > 
> > > > Package: octave3.0
> > > > Version: 1:3.0.1-6lenny3
> > > > Severity: normal
> > > > 
> > > > How to reproduce:
> > > > shell> mkdir -p ~/octave
> > > > shell> unset DISPLAY
> > > > octave> edit home "~/octave"
> > > > octave> edit mode "sync"
> > > > octave> EDITOR
> > > > ans = vim
> > > > octave> edit f.m
> > > > Vim: Warning: Output is not to a terminal
> > > > 
> > > > Workarround:
> > > > Use gvim or emacs with X window support.
> > > > 
> > > > Problem seems to be related to RETURN_OUTPUT parameter of the system()
> > > > function.  Compare, for example,
> > > > octave> system("vim test.m")
> > > > vs
> > > > octave> system("vim test.m",[]) # edit() uses system() like this
> 
> There's a work-around given via xterm at 
> http://www-old.cae.wisc.edu/pipermail/help-octave/2008-June/009656.html
> 
> I don't think there's much more we can do. It seems not too many people
> use a non-graphical editor from within an Octave session.
> 
> Unless someone comes up with a better idea, I will close this bug in the
> future.

I'm closing the bug as announced.

	Thomas


--- End Message ---

Reply to: