Re: a question and a request

From: Angel Ortega <angel_triptico.com>
Date: Wed, 22 Mar 2006 17:55:42 +0100
On Tue, Mar 21, 2006 at 08:49:46PM +0000, hfrye_juno.com wrote:

Hi!

> Hello,
> 
> When I use MP (3.3.17) in a Linux console (Suse 10.0) ctrl-end moves
> the cursor to the end of the current line, and ctrl-home moves the
> cursor to the beginning of the current line.  I much prefer the way
> it works in X11, where ctrl-end takes me to the end of file and 
> ctrl-home takes me to the beginning of file.  Do I have something
> set up wrong or is this the way it is supposed to work in a console?

Depending on the console configuration (termcap / terminfo tables and
such), 'ctrl-end' on most Linux consoles return the same ANSI sequences as
plain 'end'. Anyway, there is a way to simulate ctrl+key by pressing
Escape, releasing it and then the key. So, 'escape end' is the same as the
'ctrl-end' key sequence on X11.

Also, function keys can be simulated with the same trick, but using Escape
and then the number: Escape then 1 for F1, and so on (Escape then 0 for
F10). This can be useful if you use a funny computer lacking function
keys (like an old Macintosh or an Intel Dotstation), or if your terminal
is just misconfigured (which happens usually when you connect via telnet
to different hosts).

> I like MP because it is similar to an editor I have been using for
> many years, but has a few additional features.  However, it is missing
> something which my old editor has.  I would like an option to specify
> that when I do a "find", the line where the cursor ends up would be
> moved to a specific row of the display, e.g. row 5.  Thus, as I do
> repeated finds I can always look at that row to see what is found.  It
> would be nice if the row could be specified in a configuration file or
> with a command.  It would also be nice if there was a command that
> would cause the row where the cursor is to be moved to that same row.

I'll take note for that. It seems easy to implement.

> Thanks for a great editor!

Glad you like it!

-- 
Angel Ortega
http://www.triptico.com



-- 
To unsubscribe, send mail to mp-unsubscribe_lists.triptico.com.


Received on Wed Mar 22 2006 - 17:55:33 CET

This archive was generated by hypermail 2.2.0 : Thu Apr 10 2008 - 08:59:26 CEST