Bind keys using unix

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Bind keys using unix
# 8  
Old 09-20-2011
So you connect yourself to a solaris box... then what do you do?
For a shell will not accept like that mappings and if you do so, you wont be able to use those keys anymore e.g. to type text or commands... So my question is more "your need come from an application, if so which? Or are you talking of command line in your current shell which means we could, not map keys ( I tell you - bad idea...) but create word aliases: You type <word> it will display what you want... For that we need to know the shell you are using:
echo $SHELL
 echo $0

This User Gave Thanks to vbe For This Post:
# 9  
Old 09-20-2011
echo $SHELL gave me: /bin/csh

Also, when I typed 'uname -a' I got: SunOS pinotgris 5.10 Generic_138888-03 sun4v sparc SUNW,SPARC-Enterprise-T5220 (incase that helps...)

It's command line stuff, not an application.

Last edited by bucksnotts; 09-20-2011 at 11:25 AM..
# 10  
Old 09-20-2011
It will be helpful if you can set aliases in your .profile file.

Try it.
# 11  
Old 09-20-2011
How would I set an alias and what would it do?
# 12  
Old 09-20-2011
you can open you .profile file which is in your home directory and insert one alias stating
alias pq="<value>" and execute it.

next time when you will use it , it will give you the value.
Let me know if it works.
This User Gave Thanks to Abhishek_1984 For This Post:
# 13  
Old 09-20-2011
Typed it in and nothing happened
# 14  
Old 09-20-2011
That is because the syntax given applies to ksh... you are using csh... And I know nothing (completely forgot...) on csh..
Try to launch a korn shell by typing just

 echo $0

This User Gave Thanks to vbe For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users


Hi All I need to do bind of exiting filesystem to new storage allocated mount --bind /prod/OpenCSS /var/lib/test echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab will this command just work ? (2 Replies)
Discussion started by: anil529
2 Replies

2. UNIX for Dummies Questions & Answers

Can't bind to IP

When you get the message can't bind to ip already in use. is there a command to search to see everything that is using that IP? I've already check the host and hostname files (2 Replies)
Discussion started by: mchelle_99
2 Replies

3. UNIX for Dummies Questions & Answers

SFTP - UNIX to Windows without keys

When I try to SFTP from our UNIX box to an outside vendor using passwords - no keys, I am immediately get disconnected. We have the FIREWALL open because I get prompted for the password. Here's the error: sftp Connecting to's... (5 Replies)
Discussion started by: blt123
5 Replies

4. Shell Programming and Scripting

What are public keys in ssh and how do we create the public keys??

Hi All, I am having knowledge on some basics of ssh and wanted to know what are the public keys and how can we create and implement it in connecting server. Please provide the information for the above, it would be helpful for me. Thanks, Ravindra (1 Reply)
Discussion started by: ravi3cha
1 Replies

5. Shell Programming and Scripting

sftp from unix to windows using keys

I'm working on setting up an automated script on a unix server to secure ftp (get) a file from a remote host which is a windows server with Vshell . I understand in order for the paswword-less authentication to work , I need to copy the authorization keys of our server(Solaris) to the remote host... (1 Reply)
Discussion started by: thrashers
1 Replies

6. UNIX for Dummies Questions & Answers

How do I set the public keys up correctly for a migration from an HP-UNIX server to I

I am getting the error message "Permission denied (publickey). lost connection" when I attempt to do an scp migration. I know how to generate the public keys in both IIS and UNIX, and I believe they are both suppose to have the same public key - but where are they each suppose to be stored (I... (1 Reply)
Discussion started by: whs2k
1 Replies

7. UNIX for Dummies Questions & Answers

how do I get my arrow keys to work for looking thru my PREVIOUS UNIX COMMANDS

how do I make my arrow keys behave like they are on DOS. ALSO i need editing on command promt like it is on DOS on my UNIX prompt can anyone help pl.. (11 Replies)
Discussion started by: spotnis
11 Replies

8. UNIX for Dummies Questions & Answers

Adding MS 2000 FSMO Roles to Unix Bind

In a Windows 2000 active directory environment (using Unix DNS), is it possible to create entries in Unix Bind to point Microsoft Workstations to specific Microsoft servers, depending on their Microsoft FSMO roles (i.e. Domain Naming Master, PDC Emulator, RID, Infrastructure Master)? In other... (0 Replies)
Discussion started by: breffkin
0 Replies

9. UNIX for Dummies Questions & Answers

arrow keys / special keys

how to use the arrow keys in shell scripting. is there any special synatax / command for this. i just want to use the arrow keys for navigation. replies appreciated raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies
Login or Register to Ask a Question