How do you run your scripts efficiently?
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.help Profile…
 Up
How do you run your scripts efficiently?         


Author: Ben Aurel
Date: Sep 14, 2008 08:13

hi
I work mostly in vim, although I'm not a very advanced vim user. The
problem is I can't find a simple way to easily run a perl script and
capture its output.

I've tried different things but I'm still *very* unsatisfied with the
implementation of the following basic workflow:

1. Edit a perl script in the editor
2. Press one key (eg. F5) to save and run the script
3. Print the output to a window below the editor window
4. Possibility to easily switch to the output window and scroll
through the messages
5. Possibility to easily switch back to the editor window

Currently I work with a GNU screen/vim combo.
Show full article (1.11Kb)
3 Comments
Re: How do you run your scripts efficiently?         


Author: Dan Espen
Date: Sep 16, 2008 06:50

"Ben Aurel" gmail.com> writes:
> hi
> I work mostly in vim, although I'm not a very advanced vim user. The
> problem is I can't find a simple way to easily run a perl script and
> capture its output.
>
> I've tried different things but I'm still *very* unsatisfied with the
> implementation of the following basic workflow:
>
> 1. Edit a perl script in the editor
> 2. Press one key (eg. F5) to save and run the script
> 3. Print the output to a window below the editor window
> 4. Possibility to easily switch to the output window and scroll
> through the messages
> 5. Possibility to easily switch back to the editor window

Run the Perl script under M-x compile
compile will offer to save the file if it's not already saved.

I bind compile to F1:

(define-key global-map [(f1)] 'compile)
Show full article (1.19Kb)
no comments
Re: How do you run your scripts efficiently?         


Author: harven
Date: Sep 16, 2008 09:24

On Sep 16, 3:50 pm, Dan Espen MORE.mk.SPAMtelcordia.com>
wrote:
> "Ben Aurel" gmail.com> writes:
>> hi
>> I work mostly in vim, although I'm not a very advanced vim user. The
>> problem is I can't find a simple way to easily run a perl script and
>> capture its output.
>
>> I've tried different things but I'm still *very* unsatisfied with the
>> implementation of the following basic workflow:
>
>>      1. Edit a perl script in the editor
>>      2. Press one key (eg. F5) to save and run the script
>>      3. Print the output to a window below the editor window
>>      4. Possibility to easily switch to the output window and scroll
>> through the messages
>>      5. Possibility to easily switch back to the editor window
>
> Run the Perl script under M-x compile
> compile will offer to save the file if it's not already saved. ...
Show full article (1.70Kb)
no comments
Re: How do you run your scripts efficiently?         


Author: Xah
Date: Sep 16, 2008 13:18

On Sep 14, 8:13 am, "Ben Aurel" gmail.com> wrote:
> hi
> I work mostly in vim, although I'm not a very advanced vim user. The
> problem is I can't find a simple way to easily run a perl script and
> capture its output.
>
> I've tried different things but I'm still *very* unsatisfied with the
> implementation of the following basic workflow:
>
> 1. Edit a perl script in the editor
> 2. Press one key (eg. F5) to save and run the script
> 3. Print the output to a window below the editor window
> 4. Possibility to easily switch to the output window and scroll
> through the messages
> 5. Possibility to easily switch back to the editor window
>
> Currently I work with a GNU screen/vim combo.
>
> ________________
> | term1: vim | ...
Show full article (2.37Kb)
no comments