On Fri, Oct 9, 2015 at 12:10 PM, Mark Pace <[email protected]> wrote:
> When I logon to a linux system > I can start typing a command and press tab and it will autocomplete a file > name or command. > If I press up arrow it will recall previous commands. > > I can't figure out how to do this in Unix System Services using SSH. > Is this a daemon setup, client setup? I've gone through z/OS OpenSSH > User's Guide and I don't see anything that looks like what I am looking > for. > > The history and editing commands are implemented in BASH using an integrated version of "GNU Readline". The tab completion for commands or file selection is a part of BASH itself. My suggestion is to run BASH on z/OS. It is available on the CBTTape (http://www.cbttape.org/cbtdowns.htm), file 918 is the executable only. File 919 contains both the executable and ported source. You can also get the ported source from : https://github.com/JohnArchieMckown/bash or the executables, in a z/OS PAX file, via https://github.com/JohnArchieMckown/bash/blob/bash-4.2-zos/bash-executable.pax.Z As you may have guessed, I am the one who did this port. This is BASH 4.2 patch level 53. This has the "shell shock" fix installed. You can also request an alternate port from RocketSoftware: http://www.rocketsoftware.com/ported-tools/bash-4254 This latter port seems to be one patch level higher than mine. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
