Sponsored Content
Full Discussion: CTRL/C does not work
Top Forums UNIX for Dummies Questions & Answers CTRL/C does not work Post 302256407 by zam on Sunday 9th of November 2008 08:45:21 PM
Old 11-09-2008
CTRL/C does not work

Hi

My CTRL/C does not work thought the STTY setting looks Ok
Appreciate your assistance



$stty -a

speed 38400 baud;
rows = 24; columns = 80; ypixels = 0; xpixels = 0;
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crtscts -crtsxoff -parext
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
ixon -ixany ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

my ctrl+c doesn't work

it seams that my ctrl+c and my ctrl+d don't work. if I type a bunch of jiberish on a line and ctrl+c I expect the command to be cancelled and to be given a fresh prompt, but instead it just putts ^C at the end of the line. Also, ctrl+d should close the session, but instead mine just puts ^D at... (3 Replies)
Discussion started by: yankee428
3 Replies

2. AIX

Disable ctrl-c,ctrl-d,ctrl-d in ksh script

I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Discussion started by: wtofu
6 Replies

3. Shell Programming and Scripting

Catching ctrl-C or ctrl-D

Hi there, I'm using HP-UX 11 machine. I am running a script, thats gonna take a long time to execute. When I press ctrl-c to come out of my script, I have to catch that signal(ctrl-c) and display that ctrl-c had been pressed. How can I do it. Thanks in advance (2 Replies)
Discussion started by: sendhilmani123
2 Replies

4. UNIX for Dummies Questions & Answers

ctrl-o in bash on os X leopard -- how does it work exactly?

I'm going through "learning the bash shell" by newham and rosenblatt. I'm trying to ctro-O to execute and then go on to the next command in the history list, ctrl-o again, etc. (I'm just trying to get a feel for it in case I want to use it). But ctrl-o does nothing. Can someone help me out as to... (5 Replies)
Discussion started by: Straitsfan
5 Replies

5. UNIX for Dummies Questions & Answers

Ctrl-enter doesn't work when running Midnight Commander in xterm

When running MC in xterm or gnome-terminal, it doesn't seem to allow the use of Ctrl-enter and Ctr-shift-enter to copy marked files to the command line. Does anyone know of another way to cause this to happen or a way to enable it under xterm/gnome-term? With thanks, Narnie (0 Replies)
Discussion started by: Narnie
0 Replies

6. Shell Programming and Scripting

Ctrl-C or Ctrl-Z causing exit the session

H! I have written script where it need to invoke the perl script in background, then write the pid in temp file then bring back the job to foreground. whenever the Ctrl-C or Ctrl-Z is pressed in the script has to exit and prompt should be dispalyed. but this script causing exit from shell session... (2 Replies)
Discussion started by: jramesh1
2 Replies

7. Shell Programming and Scripting

How to handle CTRL+Z or CTRL+C in shells script?

Hi, while executing shell script, in the middle of the process, if we kill the shell script( ctrl+z or ctrl+c), script will be killed and the files which using for the script will be in the folder. How to handle those scenarios. Is there any possibilities, if user breaks the script, I need to... (3 Replies)
Discussion started by: ckchelladurai
3 Replies

8. UNIX for Dummies Questions & Answers

Ctrl-V + Ctrl-J for newline character does not work inside vi editor

Hi friends, I am trying to add a newline char ('\n') between the query and the commit statement in the following shell script. #! /bin/sh echo "select * from tab; commit;" > data.sql I have tried typing in "Ctrl-V + Ctrl-J" combination which has inserted ^@ (NUL) character but the commit... (1 Reply)
Discussion started by: royalibrahim
1 Replies

9. Shell Programming and Scripting

Automation of keyboard inputs..like Ctrl+d and Ctrl+a

Hi..! I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited.. So i'm trying to use command 'screen'. which is doing exactly what i wanted, But the problem is automation of the same. i will have to press Ctrl+a and Ctrl+d for... (2 Replies)
Discussion started by: chandana hs
2 Replies

10. Red Hat

"/usr/sbin/hpacucli ctrl all show" command does not work

Dear Concern, We have observed that following command stuck/does not work in some RedHat nodes. Please advise us to troubleshoot the issue. /usr/sbin/hpacucli ctrl all show Note: HP Array Configuration Utility CLI for Linux 64-bit With Best Regards, Md. Abdullah-Al Kauser (3 Replies)
Discussion started by: makauser
3 Replies
trans(1int)															       trans(1int)

Name
       trans - translation tool for use with source message catalogs

Syntax
       trans [ -c ] [ -o name ] file.msf

Description
       The command assists in the translation of source message catalogs.  The command reads input from file.msf and writes its output to either a
       file named or a file you name on the command line.  The command displays file.msf in a multiple window screen that lets you  simultaneously
       see  the  original message, the translated text you enter, and any messages from the command.  This multiple window screen is easier to use
       for translating messages than a single window screen.

       The top window in the multiple window screen displays the text in the message source file file.msf.  The editor displays the  current  mes-
       sage in reverse video.

       In  the	center window, displays a prompt that asks you to enter a translated message.  You use a control key editor to move the cursor and
       delete text in the center window.  The control key sequences are defined as follows:

       ------------------------------------------
       Key Sequence   Meaning
       ------------------------------------------
       CTRL/k	      Display control key help
       CTRL/h	      Back space
       CTRL/l	      Forward space
       CTRL/w	      Back word
       CTRL/f	      Forward word
       CTRL/e	      Move to end of input
       CTRL/b	      Move to beginning of input
       CTRL/n	      Next line
       CTRL/p	      Previous line
       CTRL/u	      Delete input
       CTRL/i	      Insert mode (default)
       CTRL/r	      Replace mode
       DEL	      Delete previous character
       ------------------------------------------

       If you need to span more than one line with the translated text, type a backslash () and press the RETURN key to enable line continuation.
       After you finish entering the translated text, press the RETURN key to signal that you have finished translating that message.

       The  bottom  window  displays  any messages generated by If an error occurs, prompts you to re-enter the entire line, including the message
       label or number.

Options
       -c   Display comment lines beginning with a dollar sign ($) for translation, in addition to messages.

       -o   Call the output file name.	The default is output file name is

Restrictions
       Your terminal must be 80 columns by 24 lines for to display its three-window screen.

       You cannot interrupt a session and restart it at the point you stopped. You must complete the all the changes to a file	before	exiting  a
       file.

See Also
       intro(3int), extract(1int), gencat(1int), strextract(1int), strmerge(1int)
       Guide to Developing International Software

																       trans(1int)
All times are GMT -4. The time now is 02:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy