bug-bash
[Top][All Lists]
Advanced

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

Problem when editing cmd-line with external editor


From: Michael Naumann
Subject: Problem when editing cmd-line with external editor
Date: Fri, 1 Aug 2003 14:37:42 +0200

Hi everybody

I already sent this mail several days ago but did not get any reply.

May I kindly ask, whether my mail reached a "responsible" person
so that I know I don't have to try any further to contact a developer
for this issue ?

Best regards, Michael

-------------------- Here my orignal mail -----------


Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H   -I.  
-I/home/doko/packages/bash/bash-2.05a 
-I/home/doko/packages/bash/bash-2.05a/include 
-I/home/doko/packages/bash/bash-2.05a/lib -g -O2
uname output: Linux strullnb 2.4.20 #2 Wed Mar 26 19:56:44 CET 2003 i686 unknown
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05a
Patch Level: 0
Release Status: release

Description:
  When invoking an external editor in "set -o vi"-mode and issuing a "cd 
anywhere"-command,
  the PS1 is updated delayed

Repeat-By:
  start an interactive bash-session
  set the PS1 to something that shows the cwd, such as
    PS1="\u@\h:\w\$"
  now switch to vi-mode and setup your favourite editor
    set -o vi
    alias vi=vim
  or
    alias vi=vile
  (I guess, it does not really depend on the actual editor)
  Now type "<ESC>v" to start the external editor
  whithin this editor enter, e.G
    cd /tmp
  leave the editor with ZZ or :wq
  You are back in bash now.
  Watch your prompt. It still is unchanged, the new path (/tmp) is not 
reflected.
  Now hit <CR>, the prompt changes.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]