Loading ...
Sorry, an error occurred while loading the content.

[vim60ah] piping to vim hangs...

Expand Messages
  • Thomas Köhler
    Hi, When piping to vim, vim hangs. To reproduce: cat | vim - Vim only says Vim: Reading from stdin... Control-C stops vim from reading; vim
    Message 1 of 4 , May 31 11:26 PM
    • 0 Attachment
      Hi,
      When piping to vim, vim hangs.
      To reproduce:
      cat <sometextfile> | vim -
      Vim only says
      Vim: Reading from stdin...
      Control-C stops vim from reading; vim comes up with an empty buffer...

      When I start gdb and trace that running process, a backtrace shows
      this:
      (gdb) bt
      #0 0x403258f4 in read () from /lib/libc.so.6
      #1 0x8156d88 in ?? ()
      #2 0x80639a2 in open_buffer ()
      #3 0x80a9b98 in main ()
      #4 0x402832db in __libc_start_main () from /lib/libc.so.6

      Vim version info (this is on Debian GNU/Linux i386):
      VIM - Vi IMproved 6.0ah ALPHA (2001 May 27, compiled May 27 2001 22:52:07)
      Compiled by jean-luc@picard
      Huge version with GTK GUI. Features included (+) or not (-):
      +autocmd -balloon_eval +browse ++builtin_terms +byte_offset +cindent
      +cmdline_compl +cmdline_hist +cmdline_info +comments +cryptv +cscope
      +dialog_con_gui +diff +digraphs -ebcdic +emacs_tags +eval +ex_extra
      +extra_search +farsi +file_in_path -osfiletype +find_in_path +folding -footer
      +fork() -gettext -hangul_input +insert_expand +jumplist +keymap +langmap
      +libcall +linebreak +lispindent +listcmds +localmap +keymap +menu +mksession
      +modify_fname +mouse +mouseshape +mouse_dec -mouse_gpm -mouse_jsbterm
      +mouse_netterm +mouse_xterm +multi_byte +multi_lang +path_extra -perl +printer
      -python +quickfix +rightleft -ruby +scrollbind +signs +smartindent -sniff
      +statusline -sun_workshop +syntax +tag_binary +tag_old_static -tag_any_white
      -tcl +terminfo +termresponse +textobjects +title +toolbar +user_commands
      +vertsplit +virtualedit +visual +visualextra +viminfo +wildignore +wildmenu
      +windows +writebackup +X11 +xfontset +xim +xterm_clipboard -xterm_save
      system vimrc file: "$VIM/vimrc"
      user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
      system gvimrc file: "$VIM/gvimrc"
      user gvimrc file: "$HOME/.gvimrc"
      system menu file: "$VIMRUNTIME/menu.vim"
      fall-back for $VIM: "/usr/local/share/vim"
      Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -O2 -I/usr/X11R6/include
      Linking: gcc -L/usr/X11R6/lib -L/usr/local/lib -o vim -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lm -lXt -lncurses -ldl



      CU,
      Thomas

      --
      Thomas Köhler Email: jean-luc@... | LCARS - Linux
      <>< WWW: http://jeanluc-picard.de | for Computers
      IRC: jeanluc | on All Real
      PGP public key available from Homepage! | Starships
    • Ralf Arens
      ... [...] ... [...] Did you already apply Bram s patch? Ciao, Ralf -- I guess my favorite would be: Linux? Is that
      Message 2 of 4 , Jun 1, 2001
      • 0 Attachment
        * Thomas Köhler [2001-06-01 11:49]:
        > Hi,
        > When piping to vim, vim hangs.
        > To reproduce:
        > cat <sometextfile> | vim -
        > Vim only says
        > Vim: Reading from stdin...
        > Control-C stops vim from reading; vim comes up with an empty buffer...

        [...]
        > Vim version info (this is on Debian GNU/Linux i386):
        > VIM - Vi IMproved 6.0ah ALPHA (2001 May 27, compiled May 27 2001 22:52:07)
        [...]

        Did you already apply Bram's patch?

        <200105281033.f4SAXu402139@...>


        Ciao,
        Ralf

        --
        I guess my favorite would be: "Linux? Is that an OS, like Pentium?"
        -- Scott Draeker, Loki President, the most unusual response he got with regards
        to the idea of porting software to Linux
      • Thomas Köhler
        On Fri, Jun 01, 2001 at 01:47:59PM +0200, ... Well, yes, now :) Must have missed that message at first :-/ ... Thanks, Thomas -- Thomas Köhler Email:
        Message 3 of 4 , Jun 1, 2001
        • 0 Attachment
          On Fri, Jun 01, 2001 at 01:47:59PM +0200,
          Ralf Arens <ralfarens@...> wrote:
          > * Thomas Köhler [2001-06-01 11:49]:
          > > Hi,
          > > When piping to vim, vim hangs.
          > > To reproduce:
          > > cat <sometextfile> | vim -
          > > Vim only says
          > > Vim: Reading from stdin...
          > > Control-C stops vim from reading; vim comes up with an empty buffer...
          >
          > [...]
          > > Vim version info (this is on Debian GNU/Linux i386):
          > > VIM - Vi IMproved 6.0ah ALPHA (2001 May 27, compiled May 27 2001 22:52:07)
          > [...]
          >
          > Did you already apply Bram's patch?
          >
          > <200105281033.f4SAXu402139@...>

          Well, yes, now :) Must have missed that message at first :-/

          > Ciao,
          > Ralf

          Thanks,
          Thomas

          --
          Thomas Köhler Email: jean-luc@... | LCARS - Linux
          <>< WWW: http://jeanluc-picard.de | for Computers
          IRC: jeanluc | on All Real
          PGP public key available from Homepage! | Starships
        • J. David Boyd
          When one misses (or loses) a message containing a patch, where might one reacquire said patch? I ve looked through the archives of the messages for the past
          Message 4 of 4 , Jun 1, 2001
          • 0 Attachment
            When one misses (or loses) a message containing a patch, where might one
            reacquire said patch? I've looked through the archives of the messages for
            the past several weeks, but can't locate any purported to fix the stdin
            problem with 6.0ah.

            Thanks,

            Dave

            -----Original Message-----
            From: Thomas Köhler [mailto:jean-luc@...]
            Sent: Friday, June 01, 2001 2:38 PM
            To: vim-dev@...
            Subject: Re: [vim60ah] piping to vim hangs...


            On Fri, Jun 01, 2001 at 01:47:59PM +0200,
            Ralf Arens <ralfarens@...> wrote:
            > * Thomas Köhler [2001-06-01 11:49]:
            > > Hi,
            > > When piping to vim, vim hangs.
            > > To reproduce:
            > > cat <sometextfile> | vim -
            > > Vim only says
            > > Vim: Reading from stdin...
            > > Control-C stops vim from reading; vim comes up with an empty buffer...
            >
            > [...]
            > > Vim version info (this is on Debian GNU/Linux i386):
            > > VIM - Vi IMproved 6.0ah ALPHA (2001 May 27, compiled May 27 2001
            22:52:07)
            > [...]
            >
            > Did you already apply Bram's patch?
            >
            > <200105281033.f4SAXu402139@...>

            Well, yes, now :) Must have missed that message at first :-/

            > Ciao,
            > Ralf

            Thanks,
            Thomas

            --
            Thomas Köhler Email: jean-luc@... | LCARS - Linux
            <>< WWW: http://jeanluc-picard.de | for Computers
            IRC: jeanluc | on All Real
            PGP public key available from Homepage! | Starships
          Your message has been successfully submitted and would be delivered to recipients shortly.