Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Shell stuff
@ 2000-03-05  5:00 Pascal Dorion
  2000-03-05  5:00 ` Jesper Frank Nemholt
  2000-03-06  5:00 ` Bob Koehler
  0 siblings, 2 replies; 7+ messages in thread
From: Pascal Dorion @ 2000-03-05  5:00 UTC (permalink / raw)


Hi,

I'm a Linux guy now working in a shop that uses Digital Unix v4.
I'm looking for a way to go back commands like under Linux using the up
and down keys. Is there a way to do this with OSF? Using what shell?

I use Reflection X too.

Thanks.


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Shell stuff
  2000-03-05  5:00 Shell stuff Pascal Dorion
@ 2000-03-05  5:00 ` Jesper Frank Nemholt
  2000-03-05  5:00   ` Ed Wensell III
  2000-03-06  5:00   ` Pascal Dorion
  2000-03-06  5:00 ` Bob Koehler
  1 sibling, 2 replies; 7+ messages in thread
From: Jesper Frank Nemholt @ 2000-03-05  5:00 UTC (permalink / raw)


Pascal Dorion wrote:
> 
> Hi,
> 
> I'm a Linux guy now working in a shop that uses Digital Unix v4.
> I'm looking for a way to go back commands like under Linux using the up
> and down keys. Is there a way to do this with OSF? Using what shell?

Use ksh as shell (sh is default). You can either just type ksh on the
command line, or use vipw to edit /etc/passwd and change it.

Then do a "set -o emacs".

...now you have history, command completion and stuff like that.


l8r/Jspr



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Shell stuff
  2000-03-05  5:00 ` Jesper Frank Nemholt
@ 2000-03-05  5:00   ` Ed Wensell III
  2000-03-06  5:00   ` Pascal Dorion
  1 sibling, 0 replies; 7+ messages in thread
From: Ed Wensell III @ 2000-03-05  5:00 UTC (permalink / raw)


Jesper Frank Nemholt wrote:
> 
> Pascal Dorion wrote:
> >
> > Hi,
> >
> > I'm a Linux guy now working in a shop that uses Digital Unix v4.
> > I'm looking for a way to go back commands like under Linux using the up
> > and down keys. Is there a way to do this with OSF? Using what shell?
> 
> Use ksh as shell (sh is default). You can either just type ksh on the
> command line, or use vipw to edit /etc/passwd and change it.
> 
> Then do a "set -o emacs".
> 
> ...now you have history, command completion and stuff like that.
> 
> l8r/Jspr

Or if you prefer csh, put this in your .login:

	set editmode=emacs
	set history=64

Change the set history= to suite your needs...

Other shells probably have something similar. Check their man pages to
see how it's setup...

-- 
Until soon...
Ed Wensell III



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Shell stuff
  2000-03-05  5:00 ` Jesper Frank Nemholt
  2000-03-05  5:00   ` Ed Wensell III
@ 2000-03-06  5:00   ` Pascal Dorion
  1 sibling, 0 replies; 7+ messages in thread
From: Pascal Dorion @ 2000-03-06  5:00 UTC (permalink / raw)


Thanks! What does this do exactly?


I
n article <38C2A1A7.259DF8E2@dassic.com>,
  Jesper Frank Nemholt <jfn@dassic.com> wrote:
> Pascal Dorion wrote:
> >
> > Hi,
> >
> > I'm a Linux guy now working in a shop that uses Digital Unix v4.
> > I'm looking for a way to go back commands like under Linux using
the up
> > and down keys. Is there a way to do this with OSF? Using what shell?
>
> Use ksh as shell (sh is default). You can either just type ksh on the
> command line, or use vipw to edit /etc/passwd and change it.
>
> Then do a "set -o emacs".
>
> ...now you have history, command completion and stuff like that.
>
> l8r/Jspr
>


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Shell stuff
  2000-03-05  5:00 Shell stuff Pascal Dorion
  2000-03-05  5:00 ` Jesper Frank Nemholt
@ 2000-03-06  5:00 ` Bob Koehler
  2000-03-06  5:00   ` Jack Patteeuw
  1 sibling, 1 reply; 7+ messages in thread
From: Bob Koehler @ 2000-03-06  5:00 UTC (permalink / raw)


In article <89ttsr$2sg$1@nnrp1.deja.com>, Pascal Dorion <pdorion@latinmail.com> writes:
> I'm a Linux guy now working in a shop that uses Digital Unix v4.
> I'm looking for a way to go back commands like under Linux using the up
> and down keys. Is there a way to do this with OSF? Using what shell?

I believe the standard csh on DU is now based on tcsh, which recognizes
up and down arrows; if not then you can get and use tsch.  You can also
switch to ksh which offers both vi and emacs style editting on any real
ksh on nay platform.  Make sure you have history turned on or there
won't be anything to recall in ksh.

You're probably using bash on Linux, bash shoudl run fine on DU.

----------------------------------------------------------------------
Bob Koehler                     | Computer Sciences Corporation
Hubble Space Telescope Payload  | Federal Sector, Civil Group
 Flight Software Team           | please remove ".aspm" when replying



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Shell stuff
  2000-03-06  5:00 ` Bob Koehler
@ 2000-03-06  5:00   ` Jack Patteeuw
  2000-03-07  5:00     ` Hans Schwengeler
  0 siblings, 1 reply; 7+ messages in thread
From: Jack Patteeuw @ 2000-03-06  5:00 UTC (permalink / raw)


Bob Koehler wrote:

> I believe the standard csh on DU is now based on tcsh, which recognizes
> up and down arrows; 



Nope !



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Shell stuff
  2000-03-06  5:00   ` Jack Patteeuw
@ 2000-03-07  5:00     ` Hans Schwengeler
  0 siblings, 0 replies; 7+ messages in thread
From: Hans Schwengeler @ 2000-03-07  5:00 UTC (permalink / raw)


In article <38c47e5f$0$40231@news.voyager.net>,
Jack Patteeuw <jjpatteeuw@voyager.net> writes:
> Bob Koehler wrote:
> 
>> I believe the standard csh on DU is now based on tcsh, which recognizes
>> up and down arrows; 
> 
> 
> 
> Nope !

Although it's true that the DEC csh is not tcsh, it nevertheless supports arrow keys for history
recall. Just put the following lines into your ~/.cshrc file:
set history = 100
set editmode = emacs

Yours, Hans.
-- 
===============================================================================
Hans Schwengeler                
Astronomical Institute		INTERNET:	schweng@astro.unibas.ch
University of Basel                             Hans.Schwengeler@unibas.ch
Venusstrasse 7
CH-4102 Binningen               PHONE:    +41 61 20 55 422
Switzerland                     FAX:      +41 61 20 55 455
===============================================================================



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-03-07  5:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-05  5:00 Shell stuff Pascal Dorion
2000-03-05  5:00 ` Jesper Frank Nemholt
2000-03-05  5:00   ` Ed Wensell III
2000-03-06  5:00   ` Pascal Dorion
2000-03-06  5:00 ` Bob Koehler
2000-03-06  5:00   ` Jack Patteeuw
2000-03-07  5:00     ` Hans Schwengeler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox