It is currently Tue, 30 Nov 2021 18:32:06 GMT



 
Author Message
 Looking for "DOSKEY" function under Bourne shell
Are there any software utilities perform the function like
"DOSKEY" in PC.

Thank you for any advices.



 Wed, 22 Jul 1998 03:00:00 GMT   
 Looking for "DOSKEY" function under Bourne shell
: Are there any software utilities perform the function like
: "DOSKEY" in PC.

: Thank you for any advices.

Simon,

Everyone has their own shell pref, but mine is tcsh, which includes many
functions such as the 'doskey'-like command history 'scrolling' which you
are looking for.

*************************************************************************
DR.QUINN
MEDICINE MAN!!
*************************************************************************



 Wed, 22 Jul 1998 03:00:00 GMT   
 Looking for "DOSKEY" function under Bourne shell
history and you can access them very easily by pressing ESC-K and then  
you keep pressing k or j until you get the desired command you wish to
repeat

--------------------------------------------------------
       P R O F E S S O R    P O P O U T U N I X
           SCO UNIX/WINDOWS/Linux SUPPORT
 email: cdup...@limestone.kosone.com   fax: 613-546-8859
---------------------------------------------------------



 Thu, 23 Jul 1998 03:00:00 GMT   
 Looking for "DOSKEY" function under Bourne shell

 >Simon Liaw (sim...@hk.super.net) wrote:
 >: Are there any software utilities perform the function like
 >: "DOSKEY" in PC.

 >: Thank you for any advices.

 >Simon,

 >Everyone has their own shell pref, but mine is tcsh, which includes many
 >functions such as the 'doskey'-like command history 'scrolling' which you
 >are looking for.

ksh, included with Solaris 2.x, includes the ability to scroll through
command history and to edit the current line using either vi or emacs key
strokes, depending on the setting.  ksh does not support the arrow keys,
which is pretty braindead, however.  You can put the following lines in your
ENV file:

alias __A=^P
alias __D=^B
alias __B=^N
alias __C=^F

(the control characters have to be literal)

Note that none of the shells with builtin editing will work with cmdtool.

 >*************************************************************************
 >DR.QUINN
 >MEDICINE MAN!!
 >*************************************************************************
--
  R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765   ___________________
  Humanities & Social Science,  GMI Eng.& Mgmt. Inst.    /   _____  ______
  Flint, MI 48504      el...@nova.gmi.edu               /        / /  /  / /
  Web admin:  chimera,nn,tin,jove,kermit - free's best!/________/ /  /  / /



 Thu, 23 Jul 1998 03:00:00 GMT   
 Looking for "DOSKEY" function under Bourne shell

The bash (bourne-again) shell from GNU also has some useful features to go through previous commands,
similar to DOSKEY.

Greg Beard
Bristol University, England



 Sun, 26 Jul 1998 03:00:00 GMT   
 Looking for "DOSKEY" function under Bourne shell
You might try "ile" and/or "9term", to get similar functionality,
without the streams module.

In article <mkl.823530...@demi.rob.cs.tu-bs.de.rob.cs.tu-bs.de>,
Mario Klebsch DG1AM <m...@rob.cs.tu-bs.de> wrote:
<
<>Are there any software utilities perform the function like
<>"DOSKEY" in PC.
<
<You can write a streams module with this funtionality and push it onto
<stdin. I would like to see a usable command line editing line
<discipline in UNIX. This would be much better than including readline
<in every program. Unfortunately I never had the time to try this :-(.
<
<73, Mario
<--
<Mario Klebsch, DG1AM, M.Kleb...@tu-bs.de              +49 531 / 391 - 7457
<Institut fuer Robotik und Prozessinformatik der TU Braunschweig
<Hamburger Strasse 267, 38114 Braunschweig, Germany



 Fri, 31 Jul 1998 03:00:00 GMT   
 Looking for "DOSKEY" function under Bourne shell
In article <mkl.823530...@demi.rob.cs.tu-bs.de.rob.cs.tu-bs.de>, m...@rob.cs.tu-bs.de (Mario Klebsch DG1AM) writes:
|> Simon Liaw <sim...@hk.super.net> writes:
|>
|> >Are there any software utilities perform the function like
|> >"DOSKEY" in PC.
|>
|> You can write a streams module with this funtionality and push it onto
|> stdin. I would like to see a usable command line editing line
|> discipline in UNIX. This would be much better than including readline
|> in every program. Unfortunately I never had the time to try this :-(.

There have been programs which do something like this, "ile" and
"atty". Unfortunately both are very BSD specific and I couldn't
compile them for Solaris. The original authors couldn't help either.
So hopefully you'll find the time to do this eventually... :-)

----------------------------------------------------------------------
       Richard Czech                      e-mail: Richard.Cz...@gmd.de
         GMD-SET
   Schloss Birlinghoven                   phone:    (+49) 2241 14 2039
53754 St. Augustin, Germany               fax:      (+49) 2241 14 2342
----------------------------------------------------------------------



 Fri, 31 Jul 1998 03:00:00 GMT   
 Looking for "DOSKEY" function under Bourne shell
If you are using the Kron shell, you can set the "vi line editor"

command:   set -o vi

This will allow the use of the native vi commands (h,j,k,l for left,
up, down and right) when preceded by an ESCAPE key at the command
line.  The vi search "/" character also works when preceded by ESCAPE.

Close to DOSKEY, maybe...



 Sun, 02 Aug 1998 03:00:00 GMT   
 
   [ 8 post ] 

Similar Threads

1. Bourne shell: "no stack space" problem

2. Bourne shell "trip test"?

3. Bourne shell "read line"

4. Bourne shell equivilant of "source"

5. Q about Bourne shell "read" command

6. Bourne Shell Script to "C" Converter

7. "unset" variables under ultrix bourne shell

8. Unix "doskey"???

9. "doskey" under solaris


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