You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
(2) |
Mar
(12) |
Apr
|
May
|
Jun
|
Jul
(12) |
Aug
(1) |
Sep
(4) |
Oct
(4) |
Nov
(1) |
Dec
|
| 2010 |
Jan
|
Feb
(15) |
Mar
|
Apr
|
May
(22) |
Jun
|
Jul
(13) |
Aug
(2) |
Sep
(6) |
Oct
|
Nov
|
Dec
(5) |
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
(51) |
May
(7) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(2) |
Dec
|
| 2012 |
Jan
|
Feb
(11) |
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
|
2
|
3
(2) |
4
|
5
|
|
6
|
7
|
8
(1) |
9
|
10
|
11
|
12
(1) |
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
|
27
|
28
|
29
|
30
|
|
|
|
|
From: Sylvain L. <sl...@wa...> - 2009-09-12 17:30:21
|
Hi there.
First of all, congratulations for your work with jline. It a so useful piece of
code!
Sadly, I had some troubles with it since a couple of days. And I don't find
anything helpful by "googling" around. So here I come.
I am using BeanShell on Linux Debian/Lenny. The 'bsh' command is a wrapper that
invokes jline as input handler for the beanshell interpreter. Just like in the doc:
java jline.ConsoleRunner bsh.Interpreter
But I have noticed a problem with accentuated letters. Some kind of "double
encoding" I think. Here's an example:
sh$ java jline.ConsoleRunner bsh.Interpreter
bsh% print("élève".getBytes());
byte []: {
-17,
-65,
-67,
108,
-17,
-65,
-67,
118,
101,
}
The (not so obvious) thing to notice is that the 'é' letter became 0xef 0xbf
0xbd (-17,-65, -67). But it should have been 0xc3 0xa9 (-61, -87) since I am
using UTF-8 encoding.
Please note that, however, characters are echoed correctly when I type them.
I don't think this is a problem with beanshell alone, since it vanishes when I
use it without jline:
sh$ java bsh.Interpreter
BeanShell 2.0b4 - by Pat Niemeyer (pa...@pa...)
bsh % print("élève".getBytes());
byte []: {
-61,
-87,
108,
-61,
-88,
118,
101,
}
The LANG environment variable is set to en_US.UTF-8. The terminal encoding to
UTF-8. And the Java file.encoding property is set to UTF-8 as well.
I am using libjline-java (0.9.94-1), bsh (2.0b4-8) and Sun JDK6.
Any help would be greatly appreciated!
Best regards,
Sylvain Leroux
--
Website: http://www.chicoree.fr
|
|
From: Guillaume N. <gn...@gm...> - 2009-09-08 20:45:44
|
Sorry to be a bit pushy, but we plan on releasing Apache Karaf in the coming days and I'd really like to avoid having a non official release of jline is possible. Would it be possible to have the patch included and a 0.9.95 release please ? On Thu, Sep 3, 2009 at 22:02, Guillaume Nodet<gn...@gm...> wrote: > I've seen some of my earlier patches have been integrated, thx a ton for > that. > There is still one that has been left: > > http://github.com/gnodet/jline/commit/86d5ae2414054b7a6b7180b1c383de086b4e6be3 > Is there any reason why it has not been included ? > > It solves a number of problems when shutting down a jline terminal. In a > "simple" application with only one terminal, the problem is not so > important, but I'm using jline to back an ssh server, so that each user > connecting will have its own jline terminal set up at some point with a > console reader aso. Also, given this is done in OSGi, there is a chance > that the console itself is upgraded at runtime, therefore having a very > clean shutdown is very important. > > I'm happy to refactor / discuss the patch if needed. This is for Apache > Karaf (http://felix.apache.org/site/apache-felix-karaf.html). > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com |
|
From: Guillaume N. <gn...@gm...> - 2009-09-03 20:05:19
|
I've tried to integrate it into jline, but at the end, it was easier for me to keep it outside and just wrap the streams using Jansi before giving them to jline. I can't really remember why though :-( On Tue, Jul 21, 2009 at 20:42, Charles Oliver Nutter <he...@he...>wrote: > Hey, did this ever get submitted as a bug+patch or anything? I don't > see any problem with including it if the licensing is ok (which it > probably is since Hiram re-spun a new version of it). Does anyone else > object or have comments? > > - Charlie > > >> From: Chris Custine <ccu...@ap...> > >> To: jli...@li... > >> Date: Tue, 03 Mar 2009 10:52:03 -0700 > >> Subject: [Jline-users] Windows ANSI colors patch > >> Hi Charlie, > >> If you guys are prepping for a new release, I would like to see Hiram > >> Chirino's patch for ANSI colors on Win32 included if possible. Any > >> thoughts? > >> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jline-users mailing list > Jli...@li... > https://lists.sourceforge.net/lists/listinfo/jline-users > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com |
|
From: Guillaume N. <gn...@gm...> - 2009-09-03 20:03:00
|
I've seen some of my earlier patches have been integrated, thx a ton for that. There is still one that has been left: http://github.com/gnodet/jline/commit/86d5ae2414054b7a6b7180b1c383de086b4e6be3 Is there any reason why it has not been included ? It solves a number of problems when shutting down a jline terminal. In a "simple" application with only one terminal, the problem is not so important, but I'm using jline to back an ssh server, so that each user connecting will have its own jline terminal set up at some point with a console reader aso. Also, given this is done in OSGi, there is a chance that the console itself is upgraded at runtime, therefore having a very clean shutdown is very important. I'm happy to refactor / discuss the patch if needed. This is for Apache Karaf (http://felix.apache.org/site/apache-felix-karaf.html). -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com |