Hello list, Tony and Albie,

thanks for your suggestions. Till today I didn't know for the reasonable 
restrictions on
allowing interactive programs in Vim .
It seems to me that the vim_shell extension/script should satisfy my wishes.

Best regards,
Dan


> -----Ursprüngliche Nachricht-----
> Von: "A.J.Mechelynck" <[EMAIL PROTECTED]>
> Gesendet: 13.01.07 14:17:20
> An: Popovic Dan <[EMAIL PROTECTED]>
> CC: vim@vim.org
> Betreff: Re: use mesg/write out from Vim


> Popovic Dan wrote:
> > Hi dear list memebers,
> > 
> > i was wondering wether a "chat" whith Vim is possible or if a vim script 
> > for this yet exists:
> > 
> > I often "chat" with other users via the shell command "write". Since I know 
> > one kann execute any shell command inside vim, i ask
> > myself if it is possible to have a "chat"-window within Vim, where one can 
> > see incoming messages (which have to be directed from
> > any tty to Vim then, of course) or where one can write messages to other 
> > users.
> > Has anyone done/used this before?
> > ---
> > Another not Vim-related question I will post for I know you Vimmers are all 
> > very used to this tricky little tools ;):
> > 
> > Using "write" one can see the messages which have been sent until now, 
> > therefor they have to be saved in any (text)file, I suppose.
> > Does anyone know where I can find them?
> > 
> > Thanks so much for your help and best regards to all,
> > Dan 
> 
> 
> "Standard" Vim (as compiled from Bram Moolenaar's "official" sources) does 
> not, and will not, allow embedding an interactive program in one of its 
> windows. This is stated explicitly at ":help shell-window", and I think I can 
> confidently extend it to any interactive program. The shell can be invoked 
> interactively from Vim, but not in a Vim window; _batch_ programs can be 
> invoked from Vim, and even their output pasted into a Vim window.
> 
> See
>       :help filter
>       :help :r!
>       :help :!
>       :help :shell
> 
> In a multiprogram environment like Windows, Mac or X11, you can have gvim 
> running in one window, and any other program running in an other window, next 
> to it or overlapping in any way you choose, and you can transfer text from 
> one 
> to the other via the clipboard.
> 
> This said, there has been some work done, unofficially, to patch the Vim C 
> code in order to allow embedding a shell window into it. I don't know how far 
> the work has gone, nor whether it is kept current with the successive 
> patchlevels of "official" Vim.
> 
> 
> Best regards,
> Tony.
> 

--                                                  
Dan Popovic 
Klausenpfad 22; 69121 Heidelberg 
[EMAIL PROTECTED]; Tel. 06221/7282102 oder 01743036428
http://www.rzuser.uni-heidelberg.de/~dpopovi2/index.html
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!            
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

Reply via email to