Let me try to answer 1. Using putty 2. no other .zshrc changes needed 3. putty to z/OS has issue but putty to ubuntu does not 4. same issue using windows command window ssh to z/OS and ubuntu is still good
Lionel B. Dyck <>< Github: https://github.com/lbdyck System Z Enthusiasts Discord: https://discord.gg/sze “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Rick Troth Sent: Tuesday, June 18, 2024 1:52 PM To: [email protected] Subject: Re: IBM z/OS 3.1 zsh command delete issue > # Fix Delete Key > bindkey '^[[3~' delete-char Is this sufficient? Once that's added to~.zshrc is there any other work needed? If that addition makes it work then I'd say run with it and don't flag it as a ZSH bug. The reason I say this is that delete key has been a pain in the arse on Unix systems for decades. BASH gets around the problem by having its own belt-and-suspenders logic for handling a variety of byte sequences for "delete". Though I'm surprised you don't run into the same problem on Linux. Probably need more context: what terminal emulation is happening? I mean, are you using GNOME term on Linux and PuTTY on Windows (for SSH into USS)? The root of the problem is in the terminal device driver logic. Historically there was >one< keystroke which was assigned to "delete" and perhaps another for "backspace". But more than that, the musical terminals (and now mostly emulators) amplify the challenge. We're not all on a VT100 anymore. Also, can one have multiple bindings in ~.zshrc? Dunno if this helps, but a fun topic. -- R; <>< On 6/18/24 7:18 AM, Lionel B. Dyck wrote: > When using the new zsh the delete key does not work properly as it > replaces the deleted characters with a ~. > > IBM Idea ZOS-I-4046 requesting IBM to fix this has been marked as 'Not > under consideration' while providing in the comments a workaround: > > Add the following to your .zshrc file: > > # Fix Delete Key > bindkey '^[[3~' delete-char > > Note: I have not had to do this on any other zsh implementation (think > several flavors of Linux). > > > Lionel B. Dyck <>< > Github:https://github.com/lbdyck > System Z Enthusiasts Discord:https://discord.gg/sze > > “Worry more about your character than your reputation. Character is > what you are, reputation merely what others think you are.” - - - > John Wooden > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send > email [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
