[vimshell] Vimshell almost works for me under vim -g :)
alessandro salvatori
sandr8 at gmail.com
Sat Oct 20 01:54:13 CEST 2007
Actually i tried again and I realized that it's working fine for me,
if i don't source my bashrc from my profile, so nothing to do with the
binary itself.
Are there plans to get vimshell into vim source? it would be a damn
good thing to happen. Have you tried talking with Bram Moolenaar?
--
A l e s s a n d r o
S a l v a t o r i
On 10/2/07, alessandro salvatori <sandr8 at gmail.com> wrote:
> Hello John, hello list ;-)
>
> I am also having another issue (not always, but quite often) and this also
> in text mode. The prompt is issued about once every second. what i typed in
> between seems to be ignored, as if i hit CTRL-C, and only the last chunk of
> what i meant to be a command, when i hit enter, is digested (by readline?)
> and obviously throws an error because no such command exists.
>
> as far as i remember there are just a couple of places where i wiggled
> around... the fact that the issue is not easy to reproduce all times
> discorages me from taking the hummer approach and go through all the other
> possible decisions I could have made with my null knowledge of vim internals
> ;-)
>
> 1) in src/os_unix.c
>
> gdb was using a pollfd of 6 instead of 5, so I chose 51 instead of 50...
>
> maybe I could stop here, revert to 50 and then recompile and test :)
>
> 2) in src/normal.c
>
> in the else branch of if(curbuf->is_shell), i have the following two other
> branches:
>
> if(toplevel)
> c = gdb_safe_vgetc(gdb);
> else
> c = safe_vgetc();
>
> istead of just the latter.
>
> apart from this, do you know how many chances I have to build a statically
> linked vim with "normal" features?
>
> "tiny" and "small" work well, but is not built under those profiles. what
> exact features do i need to add to "small" to get the necessary support for
> vimshell? "normal" is trying to pull-in all the X11 libraries and those are
> a mess to link statically :(
>
> oh, shoot this was a lengthy mail of mine... sorry about that!
>
> thank you very much!
> -Alessandro
>
>
> On 10/1/07, John Stamp < jstamp at users.sourceforge.net> wrote:
> > On Sunday 30 September 2007, alessandro salvatori wrote:
> > > Hello guys!
> > > apparently vimshell is (almost) working for me in "vim -g",
> > > under vim 7.1.116 + gdbvim + me fixing around a few merge conflicts
> > > (rejects)...
> > >
> > > the only thing that is a bit disappointing is that if i use
> > > arrow-up in a vimshell in a gvim, that doesn't show the previous
> > > lines in the history, but set -o vi helps there :-P
> > >
> > > instead, if run as vim in text mode, the history works fine.
> > >
> > > What could be the culprit?
> > >
> > > thank you!
> >
> > Hi Alessandro.
> >
> > I'm sorry, but I don't know. I'm currently using 7.1.56 + vimshell.
> > When I open gvim, run a vimshell, and hit the arrow keys, I can
> > scroll through the shell's history just fine. Perhaps it has
> > something to do with some environment settings? The gdbvim stuff you
> > were adding in? Can't tell from here :)
> >
> > John
> >
>
>
>
> --
> Anche i masochisti confessano se torturati. Lo fanno per riconoscenza.
> (Stanislaw J. Lec)
>
>
> A l e s s a n d r o
> S a l v a t o r i
More information about the vimshell
mailing list