axlisten: colors for command line

2018-11-19 Thread folkert
Hi, Below you'll find a patch against ax25-apps. It adds the '-C' command line switch (uppercase c). -c (lowercase) gave you an ncurses colored listing of all packets received. -C (uppercase) does the same but without ncurses, e.g. directly on the commandline. It does this with ANSI-escape codes.

Re: axlisten: colors for command line

2018-11-19 Thread David Ranch
Hello Folkert, Thanks for the patch! Any chance of posting a before and after screen capture to see what it looks like? --David KI6ZHD On 11/19/2018 05:30 AM, folkert wrote: Hi, Below you'll find a patch against ax25-apps. It adds the '-C' command line switch (uppercase c). -c (lowercase

Re: axlisten: colors for command line

2018-11-19 Thread folkert
Hi David, I don't have a before here but it looks like plain ascii. The after is e.g. https://imgur.com/a/ybTWzle On Mon, Nov 19, 2018 at 07:51:54AM -0800, David Ranch wrote: > Hello Folkert, > > Thanks for the patch! Any chance of posting a before and after screen > capture to see what it look

Re: axlisten: colors for command line

2018-11-19 Thread jj
Would it be possible to have just ^M (enter) to exit listen/axlisten, because if it is invoked via telnet for a ham app it wants ctrl-c to exit...cannot exit... On 2018-11-19 9:30 a.m., folkert wrote: Hi, Below you'll find a patch against ax25-apps. It adds the '-C' command line switch (upper