indentexpr and decided I needed to learn more vim. What indentexpr lets you do is set a vim function (Or perl/python/ruby) tell vim how much to indent.More on this later after I write a vim script to do exactly what I want...
Thu, 23 Oct 2003vim rocks me.
So yeah - I was explaining the beauties of cindent and folding in vim to a werkt today and when I went back to my room decided to pull up the help on cindent, etc. Looked at
indentexpr and decided I needed to learn more vim. What indentexpr lets you do is set a vim function (Or perl/python/ruby) tell vim how much to indent.More on this later after I write a vim script to do exactly what I want...
Comments: 0 (view comments)
sshall again
So
xapply -f doesn't cut it for when I want interactive ssh sessions, so I updated my sshall script to use the apply syntax instead of xargs - this lets me do
sshall and actually get a login prompt. If I used xapply (as previously) it would complain about not being able to grab stdin (or a tty) because we were doing:
cat hostlist | xapply -f 'ssh ...' This would give the error message (for each host): project1 - Pseudo-terminal will not be allocated because stdin is not a terminal.The solution to this problem is varied. You'll probably need the -t option for ssh: ssh -t user@server will allocate a terminal for you on the remote server so console-based applications will work.
Comments: 0 (view comments)
|
Search this siteNavigationMetadataHome About Resume My Code (SVN)ArticlesARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work EfficiencyProjectsfex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scriptsPresentationsYahoo! Hack Day '08 Yahoo! Hack Day '06 Unix Essentials Vi/Vim Essentials SSH Tunneling (Video)Tag CloudCalendar
FriendsBarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler ShieldsTechnorati |
|||||||||||||||||||||||||||||||||||||||||||||||||