linux-mips
[Top] [All Lists]

Re: Backspace on Virtual Console causes oops

To: Wayne Gowcher <wgowcher@yahoo.com>
Subject: Re: Backspace on Virtual Console causes oops
From: Pete Popov <ppopov@pacbell.net>
Date: Fri, 26 Oct 2001 11:05:42 -0700
Cc: linux-mips@oss.sgi.com
In-reply-to: <20011026161259.54925.qmail@web11908.mail.yahoo.com>
References: <20011026161259.54925.qmail@web11908.mail.yahoo.com>
Sender: owner-linux-mips@oss.sgi.com
On Fri, 2001-10-26 at 09:12, Wayne Gowcher wrote:
> Dear All,
> 
> I am having a problem with the backspace key on a
> virtual terminal on a 2.4.2 kernel. If I hit backspace
> when there is input at the command line - no problem
> it deletes the character before the cursor.
> But if I press backspace when there are no characters
> at the command prompt, the kernel throws an oops. The
> process causing the oops is Bash.
> Note, on the Serial console, backspace works fine all
> the time.

I'll make a guess.  With no input at the line, when you hit backspace,
the shell is probably generating a beep.  Your kernel is not handling
that.  I don't remember exactly where the "beep code" was but you can
probably find it pretty quickly.

Pete

> 
> Has anyone ever seen anything like this ? If you have
> how did you solve it ?
> 
> Does anyone know the program flow / program details of
> what happens when backspace is pressed eg :
> 
>     Key In > Key passed to Routine X > Routine X
> passes it to Routine Y etc > Bash receives key.
> 
> Or could someone point me to a doc that may explain
> this ?
> 
> Thx
> 
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com



<Prev in Thread] Current Thread [Next in Thread>