Hi Peng!
On Sa, 01 Jun 2013, Peng Yu wrote:
> Hi,
>
> The following command does not echo anything to stdout.
>
> ~/linux/bin/xplat/src/vim/vimS/main$ cat main.vimrc
> :echo "Hello world"
> :q
> ~/linux/bin/xplat/src/vim/vimS/main$ vim -S main.vimrc
:h xterm-screens
#v+
~$ cat main.vimrc set t_ti= t_te=
echo "Hello world"
q
~$ vim -S main.vimrc
Hello world
~$
#v-
Alternatively, tell vim you are using a dumb terminal (then you don't
need to reset t_ti and t_te):
#v+
~$ TERM=dumb vim -S main.vimrc
Hello world
~$
#v-
regards,
Christian
--
Es gibt Tiere, die kein Fleisch fressen, z.B. unsere Kühe. Wenn wir
das Experiment machen könnten, eine Ochsenherde mit Fleisch zu
füttern, so würden die Ochsen verrückt.
-- Rudolf Steiner
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sunday, June 2, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment