Is there a way to receive information from NEDIT in server mode?

Thorsten Haude yoo at vranx.de
Thu Dec 27 11:31:11 CET 2007


Hi,

* Thomas Soong wrote (2007-07-28 19:54):
>I know that can send macro and routine to NEDIT server, but is there a way 
>to receive information also?  For example, I want to write a program that 
>interacts with NEDIT but it needs to track certain things, such as the 
>current line number etc.  Is there a way for a client to find out and 
>receive the current line number that NEDIT is on?

If it can use the output of a command, yes.

yooden at eumel % n source/file.c -do 't_print($line "\n")'
572


Thorsten                                              Kristin Hersh: Winter
-- 
If you have any trouble sounding condescending,
find a Unix user to show you how it is done.
    - Scott Adams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20071227/01ad18b7/attachment.bin


More information about the Discuss mailing list