General

Profile

walles (Johan Walles)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 5 5

Activity

03/26/2014

12:10 PM Ruby Bug #9177: Can't exit curses program and retain screen contents
Hiroshi SHIBATA wrote:
> curses is extracted from ruby-core. Please report this issue to https://github.com/ruby/curses
Done:
https://github.com/ruby/curses/issues/5
walles (Johan Walles)

11/29/2013

09:36 PM Ruby Bug #9177 (Third Party's Issue): Can't exit curses program and retain screen contents
Hi!
Please try the attached program.
Expected result:
* After you hit some key, the program should quit and the "Hit any key" message should still be visible on screen
Current result:
* When the program exits, the screen conte...
walles (Johan Walles)

11/08/2013

05:01 AM Ruby Bug #9096 (Closed): Regexp.quote(UTF-8) returns US-ASCII
The attached program contains a unit test demonstrating that doing Regexp.quote() on an UTF-8 encoded string returns a US-ASCII encoded string (or at least I think it does...).
I would expect Regexp.quote() to return a string with the...
walles (Johan Walles)
03:45 AM Ruby Bug #9094 (Third Party's Issue): Curses.getch() function responds twice for unicode keys
Try this:
1. Write a curses program (or use the attached one).
2. Call Curses.getch()
3. Press "รค" on your keyboard (Swedish layout needed for this)
Current result:
I get *two* separate results from Curses.getch(), which when merg...
walles (Johan Walles)

11/01/2013

06:09 PM Ruby Bug #9067: IO.reopen broken in 1.9/2.0, worked in 1.8
Thanks for the quick turnaround!
$stdin.reopen(IO.new(1, "r+")) does what I want.
walles (Johan Walles)

10/31/2013

05:04 AM Ruby Bug #9067 (Rejected): IO.reopen broken in 1.9/2.0, worked in 1.8
Try piping some input into the attached code:
echo foo | reopen-fail.rb
Works as expected with ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-linux]:
* "foo" is printed at the middle of the screen
* you can press RETURN to exit
...
walles (Johan Walles)

04/14/2009

02:25 AM Ruby Feature #1377: Please provide constant File::NOATIME
=begin
For the curious, my intended use for this is in http://launchpad.net/foton when scanning for images.
=end
walles (Johan Walles)
02:19 AM Ruby Feature #1377 (Closed): Please provide constant File::NOATIME
=begin
I would like to be able to specify File::NOATIME mode when opening a file through File.new():

irb(main):001:0> f = File.new("file", File::RDONLY|File::NOATIME)
NameError: uninitialized constant File::NOATIME
from (irb):...
walles (Johan Walles)

Also available in: Atom