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)
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)
Hi
I have tried to disable the CTRL-Z key inside a shell(sh) script using the command trap "`echo "Ctrl-Z key disabled"`" 20But I am not able to exit from the script after pressing CTRL-Z key.
How to proceed this? Need reply soon (11 Replies)
Hi,
I have file generated in HP-UNIX environment (for Example) with the line feed (i.e $):
a$
b$
C$
Now, I need to append CTRL-M character at the end of each line, but the last line of the file should not have both CTRL-M and Line Feed (i.e ^M and $). The file should look like:
a^M$
b^M$... (2 Replies)
In this script I have, it says press Ctrl+W+? for help, but it doesn't do anything. I looked in the script and it binds: bind ^W meta2_character. How do I make it the Ctrl button so I can do Ctrl+W? (There are some other commands that use Ctrl+W+another character/letter/number.) (4 Replies)
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)
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)
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)
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
LEARN ABOUT SUSE
fvwmconsole
FvwmConsole(1) Fvwm Modules FvwmConsole(1)NAME
FvwmConsole - an fvwm command input interface
SYNOPSIS
Module FvwmConsole [options]
FvwmConsole can only be invoked by fvwm. Command line invocation of the FvwmConsole module will not work.
DESCRIPTION
FvwmConsole allows the user to type fvwm configuration commands interactively, and have them executed immediately. This tool is particu-
larly useful for testing new configuration ideas, or for implementing temporary changes to your environment.
INVOCATION
FvwmConsole must be spawned as a module by fvwm. FvwmConsole takes all xterm(1) options.
FvwmConsole can be invoked by inserting the line 'Module FvwmConsole' in the .fvwm2rc file. This can be placed on a line by itself, if
FvwmConsole is to be spawned during fvwm's initialization, or can be bound to a menu or mouse button or keystroke to invoke it later.
CONFIGURATION OPTIONS
FvwmConsole uses xterm(1). All resources set for xterm are inherited unless overridden by command line options.
Module FvwmConsole -g 40x10 -fg black -bg green3
A different terminal emulator can be specified with the -terminal option. However, only terminal programs that understand the options
-name, -title and -e can be used.
Module FvwmConsole -terminal rxvt
Previous versions of FvwmConsole supported a -e option to choose a different front-end. Although this option is still provided for back-
wards compatibility its use is discouraged unless you know exactly what you are doing.
Module FvwmConsole -e FvwmConsoleC.pl
(see FvwmConsoleC.pl(1)).
Also X resources can be set in your ~/.Xdefaults file:
FvwmConsole*VT100*geometry: 40x4
FvwmConsole*font: 7x14
COMMAND EDITING
There are a few options. If the GNU readline library is available, it can be used.
If Perl5 is installed, FvwmConsoleC.pl can be used as a command editor. This can be accomplished by either copying FvwmConsoleC.pl to
fvwmlib directory as FvwmConsoleC or invoking FvwmConsole with -e option. For example:
Module FvwmConsole -e FvwmConsoleC.pl
If neither one is installed, a simple input reading function which doesn't have editing capabilities is used.
GNU readline and FvwmConsoleC.pl have some frequent used commands in common as default. These commands are similar to emacs. For more
details, refer GNU readline man and info pages, and FvwmConsoleC.pl man page.
Ctrl-A - beginning of line
Ctrl-B - previous char
Ctrl-D - delete char
Ctrl-E - end of line
Ctrl-F - next char
Ctrl-H - backspace
Ctrl-K - erase to the end of line
Ctrl-N - next line
Ctrl-P - previous line
Ctrl-R - search reverse
Ctrl-U - delete line
Meta-B - previous word
Meta-F - next word
Esc < - beginning of history
Esc > - end of history
EXITING
FvwmConsole can be stopped by entering the EOF character (usually CTRL-D).
Note! Do not use the "quit" command, as this is an fvwm builtin: typing "quit" at the FvwmConsole command line will cause fvwm to exit.
COPYRIGHTS
Copyright 1996, Toshi Isogai. No guarantees or warranties are provided. Use this program at your own risk. Permission to use this program
for any purpose is given, as long as the copyright is kept intact.
SEE ALSO xterm(1), FvwmConsoleC.pl(1), GNU Readline library
AUTHOR
Toshi Isogai
3rd Berkeley Distribution 7 May 208 (2.5.26) FvwmConsole(1)