Starting terminal with shortcut key combination


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Starting terminal with shortcut key combination
# 1  
Old 08-29-2010
Starting terminal with shortcut key combination

How can the shortcut keys be defined that would open up a terminal window? When using a kvm switch, the mouse sometimes does not work, but the keyboard does, and by opening up a terminal window using a shortcut key combination, the mouse can be restarted by entering the predefined mouserestart alias.

Operating system is FreeBSD by the way.

Thank you in advance
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Error starting terminal in Ubuntu 14.04.3

I am unfamiliar with below error and how to fix it, it happens when I start the terminal in Ubuntu 14.04.3. I do not send any command only press crtl+alt+T. It seems to indicate that something is missing from PATH but I’m not really sure what. Thank you :). Command 'lesspipe' is... (24 Replies)
Discussion started by: cmccabe
24 Replies

2. Windows & DOS: Issues & Discussions

Method to run a shell script using shortcut key in keyboard with out logging to putty

Dear All, I want to run a shell script with out logging to putty but configuring it to a keyboard short cut it windows PC. Can this be done? I want this to rename a log in a specified folder in a system Thanks (8 Replies)
Discussion started by: Chi_SL
8 Replies

3. Windows & DOS: Issues & Discussions

Start X Server without starting a terminal

when I run C:\cygwin\bin\run C:\cygwin\bin\startxwin.exe it fires up a terminal by default. Can I eliminate that terminal and start the x server as a service silently and sits in my status bar just there? Thanks Jack (0 Replies)
Discussion started by: lucky7456969
0 Replies

4. Ubuntu

Avoid typing long filenames in terminal, shortcut for selecting files?

You probably know the answer to this, because I know it exists. I have super long filenames with md5 hashes and I sucks to type the whole hash in the console. Because... just because :P What is the shortcut for selecting a file in the current directory? Like you get a sort of loop through the... (1 Reply)
Discussion started by: hellfire1
1 Replies

5. Shell Programming and Scripting

Detecting key combination in bash

I need to grab key combination from a bash script and store it in a variable. Is there any way to do this? Thanks in advance! (1 Reply)
Discussion started by: prism1
1 Replies

6. OS X (Apple)

Copy entire line in bash (terminal) - keyboard shortcut

how can I do that? I can paste a line with ctrl+p; but I dont know how to copy it? ctrl+y - just deletes etc. (2 Replies)
Discussion started by: c_lady
2 Replies

7. Shell Programming and Scripting

How to display message when starting a terminal

Hello all, I would like a message to be displayed on the shell when someone opens up the terminal - something like a welcome msg with date and time. I know how to do this by running the shell commands but dont know how to display it when a user opens up the terminal? Thanks in advance (27 Replies)
Discussion started by: mrudula009
27 Replies

8. Programming

Detecting a key combination

Could anybody tell me how I can detect a particular key combination and perform a particular task on that event. e.g. if I press Ctrl + L on the shell then it clears the screen. Please tell me how it can be performed on my shell. And how the Arrow Keys can be detected. I tried but pressing a key... (11 Replies)
Discussion started by: mobile01
11 Replies

9. SuSE

Disabling interrupt function of Control-C key combination

I am using informix RDBMS over SUSE LINUX. In linux if you press control-c it acts as an interrupt key. In my program I have used control-c to perform certain functions but it is being overriden by interrupt function of control-c key combination of SUSE LINUX. Kindly suggest me a solution by which... (1 Reply)
Discussion started by: V.V.KUMAR
1 Replies

10. UNIX for Advanced & Expert Users

All Shortcut key combinations

Hi, I am using the Korn-Shell (ksh) and would like to know all the shortcut keys. For example: Shift + Insert etc. Thank you very much. Take care (0 Replies)
Discussion started by: --crimson--
0 Replies
Login or Register to Ask a Question
getch(3cur)															       getch(3cur)

Name
       getch, mvgetch, mvwgetch, wgetch - read character

Syntax
       #include <cursesX.h>

       int getch()

       int wgetch(win)
       WINDOW *win;

       int mvgetch(y, x)
       int y, x;

       int mvwgetch(win, y, x)
       WINDOW *win;
       int y, x;

Description
       The routine reads a character from the terminal associated with the default window.

       The routine reads a character from the terminal associated with the specified window.

       The routine reads a character from the terminal associated with the default window at the specified position.

       The routine reads a character from the terminal associated with the specified window at the specified position.

       The  following information applies to all the routines.	In mode, if there is no input waiting, the integer is returned.  In mode, the pro-
       gram waits until the system passes text through to the program.	Usually the program will restart after one character or  after	the  first
       newline, but this depends on how is set.  The character will be echoed on the designated window unless has been set.

       If is and a function key is pressed, the token for that function key is returned instead of the raw characters.	Possible function keys are
       defined in the header file with integers beginning with 0401.  The function key names begin with KEY_.  Function keys and their	respective
       integer values are described in the Guide to X/Open Curses Screen-Handling (R)

       If  a character is received that could be the beginning of a function key (such as escape), sets a timer.  If the remainder of the sequence
       does not come within the designated time, the character will be passed through, otherwise the  function	key  value  is	returned.   Conse-
       quently, there may be a delay after a user presses the escape key before the escape is returned to the program.

       Using the escape key for a single character function is discouraged.

       The routines and are macros.

Return Values
       Upon successful completion, the and functions return the character read.

       If in delay mode and no data is available, ERR is returned.

See Also
       cbreak(3cur), keypad(3cur), nodelay(3cur), noecho(3cur)
       Guide to X/Open Curses Screen-Handling

																       getch(3cur)