Gmail Kalender Dokument Reader Nätet mer »
Nyligen besökta grupper | Hjälp | Logga in
Startsida för Google-grupper
Bug#481159: Default editor (vim?) does not work inside reportbug
Det är för många ämnen i denna grupp som visas först. För att visa detta ämne först, så måste inställningen tas bort från något annat ämne.
Det uppstod ett fel när din begäran skulle bearbetas. Försök igen.
flagga
  3 meddelanden - Komprimera alla  -  Översätt allt till Översatt (visa alla ursprungstexter)
Gruppen som du skickar meddelanden till är en Usenet-grupp. Meddelanden som skickas till den här gruppen gör ditt mail synligt för alla på Internet.
Ditt svarsmeddelande har inte skickats.
Ditt meddelande har publicerats
 
Från:
Till:
Kopia:
Uppföljning på:
Lägg till kopia | Lägg till uppföljning | Redigera ämne
Ämne:
Validering:
Av verifieringsskäl ber vi dig att skriva in de bokstäver du ser i bilden nedan eller de siffror som du hör om du klickar på tillgänglighetsikonen. Lyssna och skriv talen du hör
 
Sander Marechal  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 14 Maj 2008, 11:10
Nyhetsgrupper: linux.debian.bugs.dist
Från: Sander Marechal <s.marec...@jejik.com>
Datum: Wed, 14 May 2008 11:10:16 +0200
Lokalt: Ons 14 Maj 2008 11:10
Ämne: Bug#481159: Default editor (vim?) does not work inside reportbug

Package: reportbug
Version: 3.39-0.1
Severity: normal

The default editor for reportbug (vi? vim?) does not work properly
inside reportbug. When I attempt to edit the bugreport the vi(m) statusline
is repeated at the bottom and my keystrokes are shown. The bugreport itself
is not editable. It sounds a bit strange but the attached reportbug-screen.txt
should hopefully make it clearer. It shows the contents of my terminal after
I pressen a couple of cursor keys.

I have also attached my reportbug configurations, so you can see that I have not
changed the default editor.

The workaround is easy: I set a different editor (like nano) but reportbug
should work out-of-the-box of course :-)

Kind regards,

Sander Marechal

-- Package-specific info:
** Environment settings:
INTERFACE="text"

** /home/sander/.reportbugrc:
reportbug_version "3.31"
mode standard
ui text
email "s.marec...@jejik.com"
no-cc
header "X-Debbugs-CC: s.marec...@jejik.com"
smtphost bugs.debian.org

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reportbug depends on:
ii  apt                           0.7.11     Advanced front-end for dpkg
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-central                0.6.6      register and build utility for Pyt

reportbug recommends no packages.

-- no debconf information

  reportbug-screen.txt
3K Hämta

  .reportbugrc
< 1K Hämta

  reportbug.conf
2K Hämta

    Vidarebefordra  
Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
Ben Finney  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 14 Maj 2008, 14:40
Nyhetsgrupper: linux.debian.bugs.dist
Från: Ben Finney <b...@benfinney.id.au>
Datum: Wed, 14 May 2008 14:40:20 +0200
Lokalt: Ons 14 Maj 2008 14:40
Ämne: Bug#481159: Default editor (vim?) does not work inside reportbug

On 14-May-2008, Sander Marechal wrote:

> The default editor for reportbug (vi? vim?)

There is no "default editor for reportbug" except Debian's default
editor, 'sensible-editor(1)'. This is used by 'reportbug' only if
there is no specific setting of the 'EDITOR' environment variable.

If you want to select a default editor for yourself, set your 'EDITOR'
environment variable, which will be obeyed by most programs (including
'reportbug') in preference to 'sensible-editor'.

> does not work properly inside reportbug. When I attempt to edit the
> bugreport the vi(m) statusline is repeated at the bottom and my
> keystrokes are shown. The bugreport itself is not editable.

Can you please try a few things, and see which ones cause the same
symptoms:

* echo $EDITOR

* echo $VISUAL

* run 'sensible-editor' explicitly, and try editing a few files. Check
  what editor is actually running when you do this.

* run your choice of editor (e.g. nano) explicitly.

* 'export EDITOR=nano' and then try running 'reportbug' again.

> It sounds a bit strange but the attached reportbug-screen.txt should
> hopefully make it clearer. It shows the contents of my terminal
> after I pressen a couple of cursor keys.

> I have also attached my reportbug configurations, so you can see
> that I have not changed the default editor.

Places to look where your EDITOR environment variable has been set
include:

* /etc/profile, $HOME/.profile

* /etc/bash_profile, $HOME/.bash_profile

* /etc/bash.bashrc, $HOME/.bashrc

> The workaround is easy: I set a different editor (like nano)

A better workaround is to set your EDITOR variable for all sessions
and programs.

> but reportbug should work out-of-the-box of course :-)

True.

--
 \      "I went to a garage sale. 'How much for the garage?' 'It's not |
  `\                                     for sale.'"  -- Steven Wright |
_o__)                                                                  |
Ben Finney <b...@benfinney.id.au>

  signature.asc
< 1K Hämta

    Vidarebefordra  
Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
Chris Lawrence  
Visa profil   Översätt till Översatt (visa ursprungstexten)
 Fler alternativ 15 Maj 2008, 02:00
Nyhetsgrupper: linux.debian.bugs.dist
Från: "Chris Lawrence" <lawre...@debian.org>
Datum: Thu, 15 May 2008 02:00:19 +0200
Lokalt: Tor 15 Maj 2008 02:00
Ämne: Bug#481159: Default editor (vim?) does not work inside reportbug
There's also 'update-alternatives --config editor'.  Matter of fact,
you should also send us the output of update-alternatives --display
editor, since I have a very nasty feeling that this alternative on
your system is borked (a fairly common problem with the editor
alternative - I just checked and mine was set to an editor I don't
even have installed on my system).

It sounds like your editor setting is hosed up somehow or you ended up
stuck in some very bad/ancient vi that doesn't even understand cursor
keys (do h/j/k/l work?).

Chris

--
To UNSUBSCRIBE, email to debian-bugs-dist-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


    Vidarebefordra  
Du måste Logga in innan du kan skicka meddelanden.
Om du vill skicka ett meddelande måste du först delta i den här gruppen.
Uppdatera ditt smeknamn på sidan Prenumerationsinställningar innan du skickar.
Du har inte behörighet att skicka meddelanden.
Slut på meddelanden
« Tillbaka till diskussioner « Nyare ämnen     Äldre ämnen »

Skapa en grupp - Google-grupper - Googles startsida - Användarvillkor - Sekretesspolicy
©2010 Google