Bind keys using unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Bind keys using unix
# 1  
Old 09-19-2011
Question Bind keys using unix

I am using unix and I want to bind a key so that when I press it, text appears in the command line:

Eg: Press '=' and 'verbatim18 centres_show' appears.

Can anyone help me? I have tried as many combinations as I have found on the internet, but it just keeps saying either 'Command not found' or 'No match'

Am somewhat at a loss as to what to do. Any help would be greatly appreciated!
# 2  
Old 09-19-2011
It would help to know what your system and shell is...

I don't think you're going to be able to rename = as anything. You need that.

Last edited by Corona688; 09-19-2011 at 12:51 PM..
# 3  
Old 09-19-2011
I'm using PuTTY (I think?) Sorry, it's on my work computer...not sure how else to tell.

---------- Post updated at 04:57 PM ---------- Previous update was at 04:53 PM ----------

I guess PuTTY is the system...how can I tell the shell?

---------- Post updated at 04:59 PM ---------- Previous update was at 04:57 PM ----------

I was only using = as an example, I was planning on binding other keys Smilie
# 4  
Old 09-19-2011
Don't mistake the picture for the computer, 'PUTTY' isn't your system, 'PUTTY' is the terminal emulator you use to talk to the system.

If that's not what you want to do, what do you actually want to do?

Try uname -a.
This User Gave Thanks to Corona688 For This Post:
# 5  
Old 09-20-2011
When I typed

uname -a } verbatim18

This appeared:

usage: uname [-snrvmapiX]
uname [-S system_name]


I want to be able to bind a key on my keyboard so that when I push it text appears on the command line for me to add to.

For example I need to type out 'verbatim18 centres_show' plus about 70 different optional endings about 50 times a day.

eg: 'verbatim18 centres_show 7021 - 1 To 1 QC 1 ET 1 EA 1 Title 1 Surname'

If all I had to type was } 7021 - 1 To 1 QC 1 ET 1 EA 1 Title 1 Surname that would cut the time down greatly. Ideally I would like to bind several keys so all I had to do was type } = * & and the text I required would appear. This way it would save me (and my colleagues) lots of time!

And I didn't realise that about Putty. How could I go about finding out what the system and shell are?

And thank you for your help! It is appreciated!
# 6  
Old 09-20-2011
Start by doing what was asked: Type just
Code:
uname

and give us the output
# 7  
Old 09-20-2011
SunOS
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Bind

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 userid@sftp.test.com Connecting to sftp.test.com... userid@sftp.test.com'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