escape shortcut and short on history :)


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers escape shortcut and short on history :)
# 1  
Old 06-04-2002
escape shortcut and short on history :)

i am used to press the escape button to automatically fill up the missing words of a file name in an HPUX. how come i cannot do the same thing for Sun? do i have to set anything to activate this? if so is it possible to automatically go to this mode when a user logs in?

how about history? how come i can do this in HPUX and not in Sun? is there anyway to change that?

thanks,
:P
inquirer
# 2  
Old 06-04-2002
Try to download and install the "bash" command prompt.

Regards. Hugo.
# 3  
Old 06-04-2002
This is a shell issue, but my guess is that you're using csh. With sun's csh, you need to use the command:
set filec
to turn this feature on. You may want to add that line to your .cshrc file.
# 4  
Old 06-05-2002
thanks... but how about my history :)

thanks perderabo... it worked fine.

although i'm using sh as my default shell. i just changed my shell to csh and set it to filec and .... whalla!

how about my history problem?

thank you also to hugo for the suggestion.

Smilie
inquirer
# 5  
Old 06-06-2002
Which shell were you using on the HP, It had to be csh or tcsh I would think...

To get history working you need a command like
set history=100
which would give you 100 lines of history. These set commands should probably be put in your .cshrc file so that they happen automatically with every csh that you run.

If you want your history to be preserved in a .history file when your csh exits and then reread when you fire up a new csh, you will also need:
set savehist=100
or whatever.
# 6  
Old 06-06-2002
Computer thanks alot

thanks alot... i really appreciate it!

more power to this site Smilie
inquirer
# 7  
Old 06-09-2002
Just on this points...a useful command to see if a command is set within your profile (i.e. within your PATH)..is 'which'

So you could just type 'which bash'.... to see if your profile already set up with the bash shell. Would save the effort of downloading it if it is already set up.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

The Great History of UNIX (1969-1999) | 30 Years of UNIX History | YouTube Video

I am pleased to announce this new video in 1080 HD for UNIX lovers honoring thirty years of UNIX history spanning from 1969 to 1999 presented in 150 seconds (two and a half minutes) in 1080 HD, celebrating the 50th anniversary of UNIX. The Great History of UNIX (1969-1999) | 30 Years of UNIX... (8 Replies)
Discussion started by: Neo
8 Replies

2. Shell Programming and Scripting

Auto escape script to escape special chars in script args

This is a bit off the wall, but I often need to run scripts where there are argument values that contain special characters. For example, $ ./process.exe -t M -N -o temp.mol.s -i ../molfiles/N,N\',N\'\'-trimethylbis\(hexamethylene\)triamine.mol && sfile_space_to_tab.sh temp.mol.s temp.s It... (1 Reply)
Discussion started by: LMHmedchem
1 Replies

3. UNIX for Dummies Questions & Answers

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (1 Reply)
Discussion started by: sriky86
1 Replies

4. UNIX for Advanced & Expert Users

History to Another file [local user history , but root access]

Hi all, My need is : 1. To know who , when , which command used. 2. Local user should not delete this information. I mean , with an example , i can say i have a user user1 i need to give all the following permissions to user1, : a. A specific directory other than his home... (3 Replies)
Discussion started by: linuxadmin
3 Replies

5. UNIX for Dummies Questions & Answers

How to review the history and the commands that has been done in this history?

Hello every body, Kindly inform me How Do i find out the time I executed a command previously on UNIX Solaris?? To be more specific and more clear about what i want to know is that I want a command the enables me to know the history and which command i run at this history/time. FYI I used... (5 Replies)
Discussion started by: ahmedamer12
5 Replies

6. UNIX for Dummies Questions & Answers

A short history of UNIX by l.madden@ic.ac.uk

<h1>A short history of UNIX</h1> <p>In the late 1960's Ken Thompsom joined the computing-science research group at Bell Laboratories, which is the research arm of the giant American corporation ATT. He and many colleagues had been collaborating with MIT and GE on the development of an... (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question