You are not logged in.

#1 2010-10-02 20:58:28

TiborB
Member
Registered: 2008-12-09
Posts: 103

elinks - editing textfields via external editor not working

Hi,
few peoples are using elinks nowadays I know, but perhaps somebody will be able to answer the question.
Im trying to use elinks in some situations and I need to edit text field - it is (usually very long) body of message in web email and I would like to be open it in external editor. I set up "/usr/bin/nano" in appropriate configuration menu, but I'm not able to initiate it.
First, what is the keyboard shortcut to initiate it? Ctrl+t or F4?
When I am on the textfield, should I first hit enter as to edit the field and then use the shortcut? Or without hitting enter?
I read that this feature should be enabled during compilation. Maybe provided elinks doesnt support this...
Are there any logs or error output to see what is going on?

Any ideas?

Thanks

Offline

#2 2010-10-02 22:45:33

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: elinks - editing textfields via external editor not working

It works here (using Vim as external editor) when the textarea is activated for editing by Enter and then hitting F4. This text was written using Vim externally on the quick post field.

Did your editor setup change somehow perhaps? I use the EDITOR environment variable btw.

Last edited by bernarcher (2010-10-02 22:49:16)


To know or not to know ...
... the questions remain forever.

Offline

#3 2010-10-02 23:14:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: elinks - editing textfields via external editor not working

Works here too. Things like the google search field don't work, I don't know if it's by design - not much to edit, is it?

Offline

#4 2010-10-02 23:24:41

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: elinks - editing textfields via external editor not working

The external editor obviously works on text areas only, not on text fields.


To know or not to know ...
... the questions remain forever.

Offline

#5 2010-10-03 19:30:29

TiborB
Member
Registered: 2008-12-09
Posts: 103

Re: elinks - editing textfields via external editor not working

I really dont know...
With $EDITOR unset or set to vi, if in configuration external editor set to nano or unset - it just doesnt work. I tried also to edit this Quick post here

My version (elinks -version) is ELinks 0.11.7 (built on Apr  1 2010 17:05:28).

I run elinks in Konsole (KDE app), can this matter?

Offline

#6 2010-10-03 19:43:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: elinks - editing textfields via external editor not working

elinks 0.11.7-3, external editor unset, so it defaults to $EDITOR

[karol@black ~]$ echo $EDITOR
/usr/bin/vim

Works as advertised in dwm.

Offline

#7 2010-10-03 20:01:48

TiborB
Member
Registered: 2008-12-09
Posts: 103

Re: elinks - editing textfields via external editor not working

I tried EDITOR set to /usr/bin/vi as I dont have vim installed, no change, still dont work.
Might be problem with localization? Or is it possible that F4 key is filtered out by something else (window manager, xserver ?)

Offline

Board footer

Powered by FluxBB