> -----Original Message----- > From: Amit Saxena [mailto:[EMAIL PROTECTED] > Sent: 26 August 2008 15:51 > To: anders > Cc: beginners@perl.org > Subject: Re: Perl and "vi" (not "vim") , ctags like feature in Perl ! > > On Mon, Aug 25, 2008 at 9:03 PM, anders <[EMAIL PROTECTED]> > wrote: > > > On 25 Aug, 16:32, [EMAIL PROTECTED] (Amit Saxena) wrote: > > > Hi all, > > > > > > - I am using Perl 5.8.4 and "vi" (not "vim") on Solaris 9. > > > > > > While developing my Perl programs, I have to open two sessions one for > my > > > "vi" session and another where I run my perl programs. Moreover, in > some > > > scenarios, I have to open a sqlplus session to access Oracle 10g. > > Shifting > > > between the sessions is tough sometimes. > > > > > > Is there a possibility where I can customize "vi" for some shortcuts > for > > at > > > least running Perl programs or accessing sqlplus session ? > > > > > > - Is there a ctags like facility for Perl as well ? > > > > > > Thanks & Regards, > > > Amit Saxena > > > > There is a serverprogram called Screens it can handle multiple > > screens and let you switch between, > > > > On VI you could enter :! to get a shell, test your program and CTRL-D > > back > > to the VI, this is my way, maby there is easy steps... > > > > // Anders > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > http://learn.perl.org/ > > > > > > > Hi > > Though I don't know much about creating shortcuts in "vi" but is it > possible > to create a shortcut in "vi" (something like "epp" for execute perl > program > ) which will take current file as an input, exit temporarily to the shell > and once ENTER is pressed, returns to the original program ? > > Regards, > Amit Saxena [Stewart Anderson] I edit using ultraedit, it has ssh save options. You can combine any editor with winscp to scurely copy changes to another machine via ssh and run the script remotely once its copied
lots of people use emacs which can be heavily customised to do lots of clever dev stuff. You can get DBI to switch on oracle tracing and pipe that to wherever you want. :!'cmd' executes the cmd in a shell outside vi. I have never made myself totally vi able, I'm quite happy using it, but prefer the comfort and laziness of a gui'ified spot. HTH Information in this email including any attachments may be privileged, confidential and is intended exclusively for the addressee. The views expressed may not be official policy, but the personal views of the originator. If you have received it in error, please notify the sender by return e-mail and delete it from your system. You should not reproduce, distribute, store, retransmit, use or disclose its contents to anyone. Please note we reserve the right to monitor all e-mail communication through our internal and external networks. SKY and the SKY marks are trade marks of British Sky Broadcasting Group plc and are used under licence. British Sky Broadcasting Limited (Registration No. 2906991), Sky Interactive Limited (Registration No. 3554332), Sky-In-Home Service Limited (Registration No. 2067075) and Sky Subscribers Services Limited (Registration No. 2340150) are direct or indirect subsidiaries of British Sky Broadcasting Group plc (Registration No. 2247735). All of the companies mentioned in this paragraph are incorporated in England and Wales and share the same registered office at Grant Way, Isleworth, Middlesex TW7 5QD. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/