On Thu, Jun 12, 2003 at 12:34:04PM -0500, chris wrote: > On Thu, Jun 12, 2003 at 04:01:01AM -0500, Daniel Brown wrote: > > i like text irc clients. i like libreadline (for the vi bindings, of > > course). is there any way to mix the two? > > > > i dug a little around the irssi source (my current client), and > > concluded that its event handling system is too complex for a > > readline(NULL) plug. (if you think otherwise, please speak up) > > > > i googled and google-grouped, i searched the portage tree for irc > > clients, but i don't see anything that seems to use libreadline > > well, i really doubt that this will work with something curses-y and > as complex as an irc client (assuming that irssi looks something like > ircii/epic/bitchX), but what i've done in the past is used a program > like rlwrap (http://utopia.knoware.nl/~hlub/uck/rlwrap/) to give me > readline on stuff like an ancient lisp interpreter and a telnet session > to older cisco equiptment that didn't offer command line editing the > way i liked it. > > granted i only use the emacs bindings (which is weird because i only use > vi to edit) but i assume that they wouldn't bother to do it halfassed and > only support the emacs bindings. > > there's another one out there (name starts with an s) that i've actually > used but i can't seem to find it anymore. rlwrap looks equivalent. > let me know if you can't find the other one and i can dig it out of an > old news post i recall making.
downloaded and compiled rlwrap, and it works for simple stuff (cat), but didn't work immediately for the ncurses program (irssi). this might not be feasible to do with a curses-like program, but i'm going to figure out how rlwrap works before giving up do you think the other s- program works any differently? like, might it have potential to work with curses apps over rlwrap? thanks for the help danb -- Daniel Brown www.cs.utexas.edu www.utacm.org _______________________________________________ Siglinux mailing list [EMAIL PROTECTED] http://www.utacm.org/mailman/listinfo/siglinux