12-13-2006
hot key
Thanks for the advise. I guess I don't understand how to use the alias. I'm in the Command Prompt window. I type alias, then a space, then the letter combination that I want to replace my long string with (example - pri=), then the string that I'm replacing, enter. After that, when I type pri it is the same thing as typing the long string that I was using. This doesn't work. Is there a space or other key I'm missing, or did I mis-understand your instruction?
Thanks.
cwtlr
4 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
I am a new user, using UNIX in a DOS window. Is there a way to code a "Hot Key" for a string of commands?
Thanks. (2 Replies)
Discussion started by: cwtlr
2 Replies
3. What is on Your Mind?
Officially, we had high of 96°F with a relative humidity of 52% here in Rockville Md today. But my car's thermometer said the outside temp was 110° when I first got in this afternoon. After driving for 30 minutes it cooled down to 103°. I actually have a nasty burn on my hand just from leaning... (19 Replies)
Discussion started by: Perderabo
19 Replies
4. Shell Programming and Scripting
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
LEARN ABOUT SUNOS
bcanput
bcanput(9F) Kernel Functions for Drivers bcanput(9F)
NAME
bcanput - test for flow control in specified priority band
SYNOPSIS
#include <sys/stream.h>
int bcanput(queue_t *q, unsigned char pri);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
q Pointer to the message queue.
pri Message priority.
DESCRIPTION
bcanput() searches through the stream (starting at q) until it finds a queue containing a service routine where the message can be
enqueued, or until it reaches the end of the stream. If found, the queue containing the service routine is tested to see if there is room
for a message of priority pri in the queue.
If pri is 0, bcanput() is equivalent to a call with canput(9F).
canputnext(q) and bcanputnext(q, pri) should always be used in preference to canput(q->q_next) and bcanput(q->q_next, pri) respectively.
RETURN VALUES
1 If a message of priority pri can be placed on the queue.
0 If the priority band is full.
CONTEXT
bcanput() can be called from user or interrupt context.
SEE ALSO
bcanputnext(9F), canput(9F), canputnext(9F), putbq(9F), putnext(9F)
Writing Device Drivers
STREAMS Programming Guide
WARNINGS
Drivers are responsible for both testing a queue with bcanput() and refraining from placing a message on the queue if bcanput() fails.
SunOS 5.10 11 Apr 1991 bcanput(9F)