Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

EVE - Finding cursor postion

Go to solution
Jack Trachtman
Super Advisor

EVE - Finding cursor postion

Isn't there some way within EVE to see what position in the present line that the cursor sits at? The "WHAT LINE" shows the line number, but I thought there was some cryptic COMMAND entry (like "=" or ".?" or something) that would show the cursor position. Couldn't find anything in the manual. TIA
Craig A Berry
Honored Contributor

Re: EVE - Finding cursor postion

For me it's Gold-K, which I achieve by defining the following function in my custom section:

procedure my_get_cursor_pos
column := get_info( current_window, "current_column" );
line := get_info( current_window, "current_row" );
message ( "Column !UL, row !UL", 0, column, line );

and then in my tpu$local_init:

define_key("my_get_cursor_pos", key_name("K", shift_key), "Show cursor" );

As far as I can tell from searching sys$examples:*.tpu, there is no built-in eve_what_column function corresponding to eve_what_line.
Frequent Advisor

Re: EVE - Finding cursor postion

I use on the command prompt of EVE:

tpu message( str(current_offset))
P Muralidhar Kini
Honored Contributor

Re: EVE - Finding cursor postion

Hi Jack,

Check the following link -

Let There Be Rock - AC/DC
Jack Trachtman
Super Advisor

Re: EVE - Finding cursor postion

Thank you