Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Nadav Har'El
On Tue, Sep 02, 2008, Yedidyah Bar-David wrote about "Re: Curses Problem in Detecting Backspace": > Not intending to start a flame war, but this is against the Debian > policy, which is also assumed by the "Linux Backspace/Delete > mini-HOWTO". It specifically says 'Terminals should have stty eras

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Yedidyah Bar-David
On Tue, Sep 02, 2008 at 08:59:41AM +0300, Nadav Har'El wrote: > The first thing you need to check is whether your terminal emulator (xterm, > or whatever you use) sends a backspace (^H, or ASCII 8) when you press the > backspace key. From your post it appears it doesn't, and you need to check > why

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Nadav Har'El
On Mon, Sep 01, 2008, Shlomi Fish wrote about "Re: Curses Problem in Detecting Backspace": > > > > It's looks like your BACKSPACE mapped to delete. > I found a workaround for this problem in the code for Curses::UI::Common. > There they have: > > { > $key = KEY_BACKSPACE if ( >

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Nadav Har'El
On Mon, Sep 01, 2008, Shlomi Fish wrote about "Re: Curses Problem in Detecting Backspace": > On Monday 01 September 2008, Valery Reznic wrote: > > It's looks like your BACKSPACE mapped to delete. > > > > OK, but what should I do about it? This problem has always driven me crazy - not the actual

Re: Memory manipulator

2008-09-01 Thread Ghiora Drori
Hi, I assume this is relevant: :H. Peter Anvin writes: Mikael Pettersson wrote: On Wed, 19 Sep 2007 14:35:29 +0100, James Pearson wrote: /proc/PID/environ currently truncates at 4096 characters, patch based on the /proc/PID/mem code. Does /proc/PID/mem even work? If I do `strace cat /proc/PID/

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Shlomi Fish
On Monday 01 September 2008, Yedidyah Bar-David wrote: > On Mon, Sep 01, 2008 at 12:45:50PM +0300, Shlomi Fish wrote: > > On Monday 01 September 2008, Valery Reznic wrote: > > > It's looks like your BACKSPACE mapped to delete. > > > > OK, but what should I do about it? > > There are many resources

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Yedidyah Bar-David
On Mon, Sep 01, 2008 at 12:45:50PM +0300, Shlomi Fish wrote: > On Monday 01 September 2008, Valery Reznic wrote: > > It's looks like your BACKSPACE mapped to delete. > > > > OK, but what should I do about it? There are many resources about this on the net. I thought backspace/delete problems are

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Valery Reznic
--- On Mon, 9/1/08, Shlomi Fish <[EMAIL PROTECTED]> wrote: > From: Shlomi Fish <[EMAIL PROTECTED]> > Subject: Re: Curses Problem in Detecting Backspace > To: [EMAIL PROTECTED] > Cc: "Linux-IL" , "Perl in Israel" <[EMAIL PROTECTED]> > Date: Monday, September 1, 2008, 12:45 PM > On Monday 01 Sept

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Shlomi Fish
On Monday 01 September 2008, Valery Reznic wrote: > It's looks like your BACKSPACE mapped to delete. > OK, but what should I do about it? Regards, Shlomi Fish > Valery > > --- On Mon, 9/1/08, Shlomi Fish <[EMAIL PROTECTED]> wrote: > > From: Shlomi Fish <[EMAIL PROTECTED]> > > Subject: C

Re: Curses Problem in Detecting Backspace

2008-09-01 Thread Valery Reznic
It's looks like your BACKSPACE mapped to delete. Valery --- On Mon, 9/1/08, Shlomi Fish <[EMAIL PROTECTED]> wrote: > From: Shlomi Fish <[EMAIL PROTECTED]> > Subject: Curses Problem in Detecting Backspace > To: "Linux-IL" , "Perl in Israel" <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Date: Mon

Curses Problem in Detecting Backspace

2008-09-01 Thread Shlomi Fish
Hi all! I'm trying to detect Backspace input using Curses/Ncurses. So I have the following Perl script that isolates the problem I'm having: {{ #!/usr/bin/perl use strict; use warnings; use Curses; my $main_win = Curses->new(); initscr(); noecho(); $main_win->keypad(1); my $char = $m

Re: [Telux] Next OSDClub Tel Aviv Meeting: "Puppet" on 7-September

2008-09-01 Thread Ohad Levy
I would recommend anyone who needs to manage UNIX based machines (Apple, Linux, Solaris, FreeBSD, HP-UX etc) and don't have enough time/have too many machines or just want to optimize the way they work , to come for this meeting. Puppet in my eyes is the evolution of infrastructure management, imp