Assuming the 'keys' command shows the 'backspace' key as:

hit a key : bs        0x08  0010

then adding this line to your '.profile' should do the trick:

stty erase ^H

Dan




On Thu, Apr 25, 2013 at 2:47 PM, troyd1 <[email protected]> wrote:

> Here is the stty settings:
> speed 38400 baud; rows 24; columns 80; line = 0;
> intr = ^C; quit = <undef>; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
> eol2 = <undef>; start = ^Q; stop = ^S; susp = <undef>; rprnt = ^R; werase
> = ^W;
> lnext = ^V; flush = ^O; min = 0; time = 0;
> -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon
> -ixoff
> -iuclc -ixany -imaxbel
> opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
> vt0 ff0
> isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
> echoctl echoke
>
> It says viewpoint when I do term.
>
> I am thinking this must be a different viewpoint than the one I am using.
>  There are 3 in accuterm, but none work.
>
> I think the stty is what I was looking for.  It says the erase is ^?.  If
> that means <ctrl> ?, that is not doing a backspace.
>
> If I set term to vt100, it works for a while.  I think I need to work with
> it more.  Feel free to provide any suggestions.
>
> On Thursday, April 25, 2013 4:27:09 AM UTC-5, Daniel Klein wrote:
>
>> That 'link' also applies to the 'jsh' prompt for command-line editing.
>> However, it is best to get things working with either 'stty' and/or
>> 'terminfo'.
>>
>> What are the 'stty' settings (stty -a) on this system?
>>
>> What is the terminal emulation being used?
>>
>> What do you mean by 'it does not tell me what it is looking for'?  A
>> specific key is sending a specific character-sequence to the server, the
>> server responds according to the terminfo settings for that emulation. If
>> you want that 'response' to be different then you need to change the
>> terminfo settings. See 
>> this<http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/SUPPORT21.htm>
>>  (especially
>> the Terminal Independence section).
>>
>> Dan
>>
>>
>> On Wed, Apr 24, 2013 at 6:21 PM, troyd1 <[email protected]> wrote:
>>
>>> The link you posted is for JED.  Also, everything works when I am in a
>>> program at an input prompt.  It only does not work at the jsh prompt.  Is
>>> there a way to tell what the jsh prompt is looking for?  The keys function
>>> is fine, but it does not tell me what it is looking for, just what it is
>>> sending.
>>>
>>>
>>> On Wednesday, April 24, 2013 10:55:12 AM UTC-5, troyd1 wrote:
>>>>
>>>> If I do sh, everything works, but when I am at jsh, the backspace does
>>>> not work and the command stacker (up arrow) only works, not the down arrow
>>>> or the line editing.  I am on 3.4 and am using accuterm.
>>>>
>>>> Do I need a different terminal emulation?  If so, how do i set it on
>>>> the jsh side?
>>>>
>>>  --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to [email protected]
>>> To unsubscribe, send email to jBASE-un...@**googlegroups.com
>>>
>>> For more options, visit this group at http://groups.google.com/**
>>> group/jBASE?hl=en <http://groups.google.com/group/jBASE?hl=en>
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jBASE" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jbase+un...@**googlegroups.com.
>>>
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to