[mICQ] feature request?
Rüdiger Kuhlmann
micq-list-CKH1bDCG6x4V at ruediger-kuhlmann.de
Sun Feb 11 19:09:02 CET 2007
>--[Martin Stubenschrott]--<stubenschrott at gmx.net>
> Well it's me again, and not him, but the only thing I am really
> missing/hating in micq is, that I cannot edit previous lines in a long
> multiline message.
That would be not so easy to do. Currently, it will just note that
it started a multiline-command. Then, any command entered will be
considered another line for that and appended to the message. It
doesn't even have the previous lines by themselves anymore at that
time.
> With readline I think this would be quite easy, but I don't know if you
> are using this library.
That depends, of course, how you use the library. Using it naïvely here
would not make a difference. So no, mICQ doesn't use libreadline. Reasons:
one more dependency, can be massively slow in old versions, cannot insert
characters that cannot be displayed in the terminal's encoding (e.g. with
mICQ, enter "msg <contact> " ESC u 5 0 1 1 <return>, and you can send
someone the 們 character even if your terminal cannot display it).
So it would need some work. A function to tell the code in util_rl.c to
read a multi-line input, add some editing like going back one line etc,
whatever you want. So please open a feature request on sourceforge, as
it won't be my priority currently. Or make a patch ;-) It's definately
something that would be useful.
--
"See, free nations are peaceful nations. Free nations don't attack
each other. Free nations don't develop weapons of mass destruction."
- George W. Bush, Milwaukee, Wis., Oct. 3, 2003
More information about the mICQ-List
mailing list