lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV wishlist item


From: Foteos Macrides
Subject: Re: LYNX-DEV wishlist item
Date: Wed, 12 Nov 1997 14:11:33 -0500 (EST)

Laura Eaves <address@hidden> wrote:
>> Larry W. Virden, x2487 <address@hidden> wrote:
>> 
>> > I believe that TAB moves you to the end of a multi-line text field.
>> 
>>     [...]
>> 
>> True, but if there are several text-entry fields in a row, you have
>> to tab down through them before the numbered-links functionality
>> is available again.  I notice this mostly when revising a search
>> engine query, but it's not much trouble for me to tab to the next
>> non-text-entry field and then jump to the 'submit' link by number.
>> 
>> For someone with a screen-reader, though, it might not be possible to
>> tell whether you're on a field from which you can jump.  In that case,
>> what Laura's suggesting might be a real boon (and I'd probably use it
>> too...).
>> 
>> > : Laura Eaves <address@hidden> writes:
>> >
>> > > It would really be nice if there were an input escapae command --
>> > > maybe something like ^V, that would get you out of line edit mode
>> > > and into lynx command mode.  Let it prompt on the
>
>I thought this would be useful in conjunction with
>the 123g feature and form field numbering.  If you're sitting on
>a text entry field, just hit ^V or whatever to end editing and put
>you back in the main command loop, possibly prompting for a lynx
>command.
>
>I've been looking at LYForms.c and LYMainLoop.c to see what all
>this feature would entail.
>I still don't know if it woujld be feasible or desirable.
>If anyone can think of a reason not to do this, or has
>pointers of whow it might be done, I'm all ears.

        That's trivial to implement.  You simply need to have ^V
return the character mapped to F_LINK_NUM in form_getstr():

[...]
    /*
     *  And go for it!
     */
    for (;;) {
again:
        ch = LYgetch();
#ifdef VMS
        if (HadVMSInterrupt) {
            HadVMSInterrupt = FALSE;
            ch = 7;
        }
#endif /* VMS */
        if (ch == 22) {
            ch = '0';
            break;
        }
[...]


though it might be better to get a bit fancier, by adding an LYE_foo
command for ^V in LYEditmap.c, and go into the loop for a function
that actually checks and returns the character mapped to F_LINK_NUM,
in case it was changed from '0' in lynx.cfg.

                                Fote

=========================================================================
 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
=========================================================================
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]