in reply to backspace works in shell, but not in Perl?

Please clarify this a little bit... If I understood correctly the problem occurs in cat too, right?

If it does, this doesn't seem to be a Perl problem...

Best regards,

my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");
  • Comment on Re: backspace works in shell, but not in Perl?

Replies are listed 'Best First'.
Re: Re: backspace works in shell, but not in Perl?
by bcrowell2 (Friar) on Feb 28, 2004 at 18:20 UTC
    Yes, that's correct, it's not just a Perl problem, so you could argue that it's not even appropriate to post here. I'm just desperate for a way to fix it... The following C program exhibits the same behavior:

    #include <stdio.h> main() { int n; scanf("%d",&n); printf("n=%d\n",n); }
      I'm just clarifying, not suggesting that your post should be blocked. :)

      I'm waiting for the other monks to moderate your post and my suggestion was only to add a "OT" in your title, but now that is clear that this is NOT a Perl problem, I think your title should be changed.

      I only think it's important to separate things, so you can get your answer as straight and quick as possible :)

      You should search some references about FreeBSD, specially on topics like "codepages", "internationalization" and "keyboard layouts".

      Also, on Linux (not sure how this works on BSD) I'd check the environment variables (by typing env on the prompt) of the user that you use to run your code to see if everything's ok there.

      Hope that helped,

      my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");