slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] SLang_getkey() question


Jeremy Cowgar <jeremy@xxxxxxxxxx> wrote:
>My question is a simple task. What's the standard way of accomplishing a
>simple line editor? The ability to do something like :
>
>Name : [...........]

Look at the readline code in slsh, and also look at at
slang/demo/pager.c and slang/demo/keypad.c for examples of the keypad
interface.  Finally, you may find it useful to look at

   ftp://space.mit.edu/pub/davis/slang/Unsupported/slwdg.tar.gz

This implements a number of "text-widgets" with multiple
readline instances.  It is unlikely that it will compile with slang2,
but should work fine with slang1.

Good luck,
--John

_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]