You can do up arrow command recall using /bin/sh. Make sure you are
using emacs rather than vi as your command entry editor and set the
up-arrow key to CTRL-p, down arrow to CTRL-n. In OS/X, you need
to set that in the Settings tab of Terminal | Preferences.


In article <[email protected]> 
you wrote:
> > -----Original Message-----
> > From: IBM Mainframe Discussion List 
> > [mailto:[email protected]] On Behalf Of Mark Post
> > Sent: Wednesday, July 22, 2009 2:59 PM
> > To: [email protected]
> > Subject: Re: Telnet & Unix System Services
> > 
> > >>> On 7/22/2009 at  3:41 PM, "McKown, John" 
> > <[email protected]> wrote: 
> > -snip-
> > > I am not 100% sure, but I think those are differences in 
> > /bin/sh on z/OS 
> > > UNIX, which is based on the Korn Shell, and the use of BASH 
> > as the default 
> > > shell on Linux.
> > 
> > I would tend to agree.  It's one of the reasons I compiled 
> > and installed bash on USS many years ago.
> > 
> > 
> > Mark Post

> Ah! So you're running BASH on z/OS UNIX and still getting the differences? I 
> have Bash 2.03 on my z/OS 1.10 system. The "up arrow" key works fine on my 
> telnet emulator. I run Hummingbird under Windows XP. The tab also does file 
> completion. I got it from: 
> http://www-03.ibm.com/servers/eserver/zseries/zos/unix/bpxa1ty1.html

> I also used the telnet client that is on my Linux/Intel box. It also works, 
> but not quite properly. It "works" but does not display properly. I.e. I type 
> in "ls -l x4" and get a good display. I press "up arrow" and ^[[A displays. I 
> then press enter and get the response from the previous command. IOW - the 
> "up arrow" using this client does not redisplay the actual command line that 
> it fetched into the buffer. Most weird.

> --
> John McKown 
> Systems Engineer IV
> IT

> Administrative Services Group

> HealthMarkets(r)
-- 
Don Poitras - SAS Development  -  SAS Institute Inc. - SAS Campus Drive
[email protected]           (919) 531-5637                Cary, NC 27513

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to