09-03-2002
You should be able to put a "set -o vi" in your .bashrc...
I think you will have to press [Esc] first to put it in edit mode...
Try it out.
Type "set -o" to get a list of options - the only downside is that you won't be in emacs mode anymore, so arrows won't work (to scroll up, you'll have to type "[Esc]" then "k" for example).
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello everyone. I have been reading a lot about the various different text editors at my disposal through Unix, but I just can't seem to close the deal for what I am trying to do. Is there a way to issue a single line command to edit a file where pattern=x, and do it non-destructively AND in-place?... (1 Reply)
Discussion started by: gator76
1 Replies
2. UNIX for Dummies Questions & Answers
hi. i'm using ksh with set -o vi. if i am far down in a directory and try to edit the command line (esc-k to retrieve previous command) the cursor is being positioned over to the left on top of the directory text making the text very difficult to read or work with. seems to be problem with long... (2 Replies)
Discussion started by: jeffa123
2 Replies
3. AIX
Server: IBM p770
OS: AIX 6.1 TL5 SP1
When one of our develoeprs types "bash" on the command line to switch shells, it hangs. For some reason, two bash processes are created....the first bash process spawns a second bash process in the same console, causing a hang. Anyone have any idea what... (2 Replies)
Discussion started by: wjssj
2 Replies
4. UNIX for Dummies Questions & Answers
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Discussion started by: Straitsfan
5 Replies
5. Shell Programming and Scripting
I have one script calling another with a set of strings that includes white space. Script A calls Script B with these input strings: one two "th ree"
Script B pulls apart the arguments correctly:
arg0 = one, arg1 = two, arg2 = "th ree"
if I call it from within Script A like so:... (10 Replies)
Discussion started by: skippyV
10 Replies
6. Shell Programming and Scripting
I have been trying this a lot of different ways and haven't found too much online. Here's what I've got so far:
j=0
declare -a first
zero=(`cat $tmpfile`)
for i in "${zero}"
do
command $i >> "${first}"
... (4 Replies)
Discussion started by: Azrael
4 Replies
7. Shell Programming and Scripting
The below command moves all the .vcf files into the directory.
cp /home/cmccabe/Desktop/test/vcf/overall/stats/*.vcf /home/cmccabe/Desktop/NGS/annovar
When I use a bash wrapper the target.txt gets created but the text files do not get copied. All the paths are the same, but not sure why... (2 Replies)
Discussion started by: cmccabe
2 Replies
8. Shell Programming and Scripting
How to run several bash commands put in bash command line without needing and requiring a script file.
Because I'm actually a windows guy and new here so for illustration is sort of :
$ bash "echo ${PATH} & echo have a nice day!"
will do output, for example:... (4 Replies)
Discussion started by: abdulbadii
4 Replies
9. UNIX for Beginners Questions & Answers
OS : RHEL / Oracle Linux 6.8
In bash shell, how can I replace a character under the cursor with another character ?
In the below example , after I typed the following line, I realized that I meant 7013 and not 2013. So I move the cursor to the left and keep it on top of 2 (of 2013) and I want... (7 Replies)
Discussion started by: kraljic
7 Replies
LEARN ABOUT DEBIAN
ioquake3
IOQUAKE3(6) Games Manual IOQUAKE3(6)
NAME
ioquake3 - ioQuake3 game engine (client)
SYNOPSIS
/usr/lib/ioquake3/ioquake3 [+set option value]...
DESCRIPTION
This manual page documents briefly the ioquake3 command.
ioquake3 is the game engine client for ioQuake3 based games.
The version provided in Debian is not usually useful to run directly, and is not included in the PATH. The openarena and quake3 Debian
packages provide wrapper scripts to launch particular games.
OPTIONS
Any console command can be prefixed with + and used as a command-line option (press Shift+Esc to access the in-game console), including:
+set option value
Set an option (see below for some options)
+connect server[:port]
Connect to a server
Options which can be set using +set include:
r_fullscreen <bool>
1: Play in fullscreen mode; 0: Play in window mode
r_mode <num>
Sets the screen resulotion mode. Set num to -1 to use a customized resolution. See also r_customheight and r_customwidth!
r_customwidth <pixels>
Use pixels as width if r_mode is set to -1.
r_customheight <pixels>
Use pixels as height if r_mode is set to -1.
SEE ALSO
ioquake3-server(6), openarena(6), quake3(6), /usr/share/doc/ioquake3
AUTHOR
ioquake3 was written by id Software Inc. and the ioQuake3 Team.
This manual page was written by Bruno "Fuddl" Kleinert <fuddl@debian.org> and Simon McVittie <smcv@debian.org>, for the Debian project (but
may be used by others).
2010-10-15 IOQUAKE3(6)