Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Declined Execute a screen line

rconn

Administrator
May
13,015
192
Staff member
Execute a screen line

Sometimes after retrieving a list of files (like after dir /b), I would like to

1) place the cursor in a result line
2) switch to insert mode (or not)
3) add/change some part of the cursor line (just this one!)
4) execute the resulting cursor line as a command line

This is a common possibility on IBM or SNI terminals.

Sample

dir /b *.txt

...
a.txt
b.txt
c.txt

Placing the cursor in the line with b.txt, I could e.g. do a "vi b.txt" after inserting just "vi " before b.txt.

4123e764c611a63b8f1af6e5c1705324
nickles on December 04, 2015 08:15
 

Similar threads

Back
Top