Sponsored Content
Full Discussion: Hot Keys
Top Forums UNIX for Dummies Questions & Answers Hot Keys Post 302098246 by cwtlr on Friday 1st of December 2006 12:50:16 PM
Old 12-01-2006
hot key

Thank you for your reply. You are correct in my usage. However, I'm looking for a way to set a hot key that will replace a series of characters that I have to type for each entry. Example: a hot key that would replace "aaaaBbbbbCdddd".
 

4 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Hot Keys

I am a new user, using Unix in a DOS window. Can I set up Hot Keys to run a script? Example - A12.1.13.15 aaaaBbbbCccc Thank you, cwtlr (8 Replies)
Discussion started by: cwtlr
8 Replies

3. What is on Your Mind?

Too Hot Here

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

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
NG_TTY(4)						   BSD Kernel Interfaces Manual 						 NG_TTY(4)

NAME
ng_tty -- netgraph node type that is also a TTY hook SYNOPSIS
#include <sys/types.h> #include <sys/ttycom.h> #include <netgraph/ng_tty.h> DESCRIPTION
The tty node type is both a netgraph node type and a TTY hook. The node has a single hook called hook. Incoming bytes received on the tty device are sent out on this hook, and frames received on hook are transmitted out on the tty device. No modification to the data is performed in either direction. While the hook is installed on a tty, the normal read and write operations are unavailable, returning EIO. Incoming data is delivered directly to ng_tty via the tty bypass hook as a buffer pointer and length, this is converted to a mbuf and passed to the peer. The node supports an optional ``hot character''. If the driver can not deliver data directly to the tty bypass hook then each character is input one at a time. If set to non-zero and bypass mode is unavailable, incoming data from the tty device is queued until this character is seen. This avoids sending lots of mbufs containing a small number of bytes, but introduces potentially infinite latency. The default hot character is 0x7e, consistent with hook being connected to a ng_async(4) type node. The hot character has no effect on the transmission of data. HOOKS
This node type supports the following hooks: hook tty(4) serial data contained in mbuf structures, with arbitrary inter-frame boundaries. CONTROL MESSAGES
This node type supports the generic control messages, plus the following: NGM_TTY_SET_HOTCHAR This command takes an integer argument and sets the hot character from the lower 8 bits. A hot character of zero disables queueing, so that all received data is forwarded immediately. NGM_TTY_GET_HOTCHAR Returns an integer containing the current hot character in the lower eight bits. NGM_TTY_SET_TTY This command takes integer process ID and file descriptor of open tty and registers the tty hooks. SHUTDOWN
This node shuts down when the corresponding device is closed. SEE ALSO
ioctl(2), netgraph(4), ng_async(4), tty(4), ngctl(8) HISTORY
The ng_tty node type was implemented in FreeBSD 4.0. AUTHORS
Archie Cobbs <archie@FreeBSD.org> Andrew Thompson <thompsa@FreeBSD.org> BUGS
The serial driver code also has a notion of a ``hot character''. Unfortunately, this value is statically defined in terms of the line disci- pline and cannot be changed. Therefore, if a hot character other than 0x7e (the default) is set for the ng_tty node, the node has no way to convey this information to the serial driver, and sub-optimal performance may result. BSD
December 25, 2008 BSD
All times are GMT -4. The time now is 11:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy