It is currently Thu, 20 Jan 2022 03:50:04 GMT



 
Author Message
 ZSH and AIX 4.1.4 under XTERM

I have an Apple Network Server 500 with AIX 4.1.4 which I am slowly adding
things to to make my AIX stay more enjoyable. ksh gives me a headache.

I have tried compiling zsh-3.0.2 and it works fine from a non-X session.
Inside an xterm if I hit the delete key on this Mac Keyboard (Same as
Backsspace, I'm told) in a command line, the shell acts as if the letters
are deleted from the line, but instead of visually erasing the characters,
the cursor moves to the RIGHT! This is annoying as hell. How can I get X to
display this correctly. This happens in Xter,, as well as dtterm, and
aixterm. It also happens with ANY TERM= setting.

HELP!

-----------------------------------------
Chris Thompson  | Fight Entropy Now
c...@mail.org     | http://www.**-**.com/
-----------------------------------------



 Sun, 22 Aug 1999 03:00:00 GMT   
 ZSH and AIX 4.1.4 under XTERM

: I have an Apple Network Server 500 with AIX 4.1.4 which I am slowly adding
: things to to make my AIX stay more enjoyable. ksh gives me a headache.

: I have tried compiling zsh-3.0.2 and it works fine from a non-X session.
: Inside an xterm if I hit the delete key on this Mac Keyboard (Same as
: Backsspace, I'm told) in a command line, the shell acts as if the letters
: are deleted from the line, but instead of visually erasing the characters,
: the cursor moves to the RIGHT! This is annoying as hell. How can I get X to
: display this correctly. This happens in Xter,, as well as dtterm, and
: aixterm. It also happens with ANY TERM= setting.
: HELP!
: --
: Chris Thompson  | Fight Entropy Now
: c...@mail.org     | http://www.extropy.org

The problem (with one caveat) is not with ksh (or any other shell) but
with the line discipline parameters. It would have been at lot easier
to debug your situation if you could have submitted a listing of the
output of the "stty -a" command, which prints this information out. The
caveat is the default line discipline that the shell expects and in
some cases key-bindings the shell can use to remap default line-
disciplines as desired.

"The Kornshell Command and Programming Language" technical reference
states the minimal requirements for command line editting being (among
other things:  I am quoting from memory here) a destructive space
emitted by the ERASE character (usually ^H).

So, experiment first by setting some canonical input mode:

stty sane ek dec

Hopefully this does not make the situation worse than it already is.
Then experiment by giving some combination of the following parameters:

stty -echoe -echoprt
stty -echoe echoprt
stty echoe -echoprt
stty echoe echoprt

This _should_ work :-)

: Chris Thompson  | Fight Entropy Now
: c...@mail.org     | http://www.extropy.org

Fight entropy now? Do you mean: now, or Now, or NOW, or .... ??

-Brian
--
   ,---.     ,---.     ,---.     ,---.     ,---.     ,---.     ,---.  
  /  _  \   /  _  \   /  _  \   /  _  \   /  _  \   /  _  \   /  _  \  
.'  / \  `.'  / mailto:bsh20...@challenger.atc.fhda.edu \  `.'  / \  `.
__,'   `.___,'   `.___,'   `.___,'   `.___,'   `.___,'   `.___,'   `.__



 Mon, 23 Aug 1999 03:00:00 GMT   
 ZSH and AIX 4.1.4 under XTERM

Brian S Hiles (bsh20...@news.fhda.edu) wrote:
:
: The problem (with one caveat) is not with ksh (or any other shell) but
: with the line discipline parameters. It would have been at lot easier
: to debug your situation if you could have submitted a listing of the
: output of the "stty -a" command, which prints this information out. The

[cat001@paradigm ~] % stty -a
speed 9600 baud; 24 rows; 80 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl echoprt e{*filter*}-flusho -pending iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel

That's from inside an Xterm, not an AIXterm.

: So, experiment first by setting some canonical input mode:
:
: stty sane ek dec
:
: Hopefully this does not make the situation worse than it already is.
: Then experiment by giving some combination of the following parameters:
:
: stty -echoe -echoprt
: stty -echoe echoprt
: stty echoe -echoprt
: stty echoe echoprt

None of these worked. :)
Also, I've tried stty erase ^H, to no avail.

-Chris



 Thu, 26 Aug 1999 03:00:00 GMT   
 ZSH and AIX 4.1.4 under XTERM

: Brian S Hiles (bsh20...@news.fhda.edu) wrote:
...

I can't give you any more help; it's time to inquire of the zsh authors
if this is a known problem.

-Brian
--
   ,---.     ,---.     ,---.     ,---.     ,---.     ,---.     ,---.  
  /  _  \   /  _  \   /  _  \   /  _  \   /  _  \   /  _  \   /  _  \  
.'  / \  `.'  / mailto:bsh20...@challenger.atc.fhda.edu \  `.'  / \  `.
__,'   `.___,'   `.___,'   `.___,'   `.___,'   `.___,'   `.___,'   `.__



 Fri, 27 Aug 1999 03:00:00 GMT   
 
   [ 4 post ] 

Similar Threads

1. zsh: problem starting zsh xterm after upgrading glibc

2. strange xterm & zsh behaviour

3. zsh 2.3.1 core dump under xterm

4. Problems with zsh 2.5.0 and xterm

5. Where to get Intro to zsh.ps and zsh.info

6. Redhat7.1 remote xterm on AIX loses AltGr

7. Maddening loss of xterm's auto-wraparound under AIX

8. Xterm / AIX 4.3.3 ML6 and Linux

9. Aix 4.3.3 xterm bug with keyboards setting group state modifier


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software