http://qs321.pair.com?node_id=89341


in reply to Re: Re: perl cant find it anymore!
in thread perl cant find it anymore!

Your @ woes are UN*X-related, not Perlish.
You know it's a UNIX system when backspace does something else.
In your case, stty sane (typed at the shell!) should fix things). If not, stty werase ^w should help.

Bonus old fart points for remembering which key deletes just one character!

Replies are listed 'Best First'.
Re: Re: Re: Re: perl cant find it anymore!
by virtualsue (Vicar) on Jun 19, 2001 at 02:07 UTC
    You know it's a UNIX system when backspace does something else.

    I used to work with a sysadmin who taught people to not leave their environment config files world-writable by inserting the following line:

    stty erase ' '
    A dirty trick, but effective. If it ever happens to you, remember that '\' is the shell escape character. :)
Re: Re: Re: Re: perl cant find it anymore!
by mr_mischief (Monsignor) on Jun 19, 2001 at 00:51 UTC
    > Bonus old fart points for remembering which key deletes just one character!

    You don't mean ^H, do you? That can't be it, or I'd be earning 'Bonus old fart points'.

    Update: I have been informed that as I suspected, my initial thought was too simple.

    BTW, while on this topic... Using Term::ANSI can be much more convenient than using print and \c all the time.

    Chris