Friday, June 8, 2012

Re: shell in a window

for me ConqueTerm is the perfect/cool solution!
I rely on it in a day-to-day work basis and it's the only way
I can do my network-login related works within (or without leaving) vim.
the even cool thing by doing this is:
1) you have all your system utility (openssh, telnet, ...)
available and
2) still have your vim power/same skills you learned to the command output --
you can do the search back&forth using vim's regex , for example.
3) simply a <esc> will back to normal mode, equivalently "pause" the screen output.
a "i" back to insert mode, and so to "resume" the screen.
4) to save your screen capture, simply :write filename like usual.

B.T.W:
to further extend it , I wrote a small tcl/expect script here:
https://sourceforge.net/projects/mylogin/
it actually crown the bash but add some additional features,
kind of simulate some of the key features
of secureCRT
- a popular remote login soft,
but in a "console way".
   logging,
   send email
   auto-login
   command sequence auto execution based on config file
   anti-idle
   ...

so instead of ":ConqueTerm bash" , with this script typically I:
:ConqueTerm mylogin.tcl


regards
ping

On 06/07/2012 04:02 AM, shawn wilson wrote:
how do i get a shell prompt in a window? ! executes commands, and  :shell gives me a temporary shell. but i can't figure out how to get  the prompt in a window.    

No comments: