similar to: Vi mode in Linux console - how to stop it ?

Displaying 20 results from an estimated 40000 matches similar to: "Vi mode in Linux console - how to stop it ?"

2009 Aug 06
5
Is there a 'vi' mode in R?
Hi, I'm wondering if R provide a vi mode in the command line just like other shells such as bash do. Can somebody let me know? Regards, Peng
2004 Nov 19
1
R (unix) command line editing for native speakers of vi
As an inveterate user of vi, I was pleased to stumble on how to use it for editing R commands. When an interactive R session is launched under unix, the command line editor most likely defaults to emacs. Typing <esc>,<ctrl>+j will switch this to vi editing mode (see below for possible exceptions). excerpted from readline(3) manpage: vi-editing-mode (M-C-j) When in emacs
2011 Jan 31
2
R, Cygwin, & Vi
Hi all, I've been a happy user of R under cygwin for a number of years now. I prefer the bash interface and readline history, and I find Vi to be the most efficient editor. Recently, the edit command has started giving me errors: > edit(file='foo.R') Error in edit(name, file, title, editor) : unable to run editor 'vi' Vi works from bash shell and is in the path.
2007 Sep 24
2
asterisk cli - vi keybindings ?
This might sound lika a "small" issu, but here it goes: I'm a long time unix user and my shell history usage and editing is configured to use vi keybindings; it's something that's already built into my fingers and using different bindings, like the arrow keys to fetch previous lines, really blows me !... :-( Is there any way to setup the asterisk cli to use such
1998 Jan 17
1
R-beta: command-line editing not working in Debian Linux version
I get great flexibility with command-line editing through the "readline" library in the "bash" editor and the "ncftp" tool. S-Plus has this editing and I see in the preliminary "Notes on R: A Programming Environment for Data Analysis and Graphics", page 65, that "R -e" might give this functionality. Typically, one can use either vi or emacs
2011 Mar 04
4
xts POSIXct index format
Hi, I cannot figure out how to change the index format when displaying POSIXct objects. Would like the xts index to display as %H:%M:%OS3 when doing viewing the xts object. Think I am missing the obvious. Cheers, Chris -- View this message in context: http://r.789695.n4.nabble.com/xts-POSIXct-index-format-tp3336136p3336136.html Sent from the R help mailing list archive at Nabble.com.
2010 Jul 01
0
vi readline key bindings -- some work, some don't
Dear R Gurus, I have spent some time in the R mail archive and only found one thread that mentions key binding (http://tolstoy.newcastle.edu.au/R/help/06/03/22481.html). I use R (2.9.2) from the command line using OS X's (10.6.4) Terminal.app. I have spent a fair amount of time trying to understand the relationship between readline and other command line tools (e.g. bash, R, etc.). Following
2001 Sep 07
2
Command-line editing re-visited.
Quick summary: - I got command line editing to work (thanks to all who responded to me), - but now my ``m'' key won't work in R (??!!??!!??), - and I can't find how to get command-line editing to use vi syntax. More detail: This posting consists of (1) a summary and thanks, and (2) some new questions. Summary and thanks: =================== I was having trouble
2009 Jul 22
1
[PATCH ovirt-node-image] alias vi to vi + restorecon
fixes a problem with editing a bindmounted file with vi. The file will not retain the same selinux context due to the way vi copies files around. Resolves rhbz#509082 --- common-post.ks | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/common-post.ks b/common-post.ks index 8a4940a..c85be15 100644 --- a/common-post.ks +++ b/common-post.ks @@ -131,6 +131,11 @@ sed -i
2011 Jan 03
2
Regex to remove last character
Hi, Have been having trouble trying to figure out the right regex parameters to remove the last "." in timestamp with the following format: Convert 09:30:00.377.853 to 09:30:00.377853 Thanks, Chris -- View this message in context: http://r.789695.n4.nabble.com/Regex-to-remove-last-character-tp3172466p3172466.html Sent from the R help mailing list archive at Nabble.com.
2007 Apr 15
2
Difference between vi an vim on Centos5?
Hello, i have a little problem on OS5. On CentOS4 vi an vim are the same programs. On 5 vi have no syntax highlighting while vim have it. Whats wrong? Greetings, Sebastian -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 542 bytes Desc: OpenPGP digital signature URL:
2011 Jan 10
2
Aggragating subsets of data in larger vector with sapply
Have 40,000 rows of buy/sell trade data and am trying to add up the buys for each second, the code works but it is very slow. Any suggestions how to improve the sapply function ? secEP = endpoints(xSym$Direction, "secs") # vector of last second on an XTS timeseries object with multiple entries for each second. d = xSym$Direction s = xSym$Size buySize = sapply(1:(length(secEP)-1),
2001 Mar 07
1
lreadline
I compiled R-1.2.2 on my SuSE 7.1, kernel 2.4.2-2 machine with libreadline.4.1 and although I can use vi commands to scroll on the shell (bash) command line, I CANNOT do it in R. Here's the relevant parts of ./configure (and make): anovo at friedman R-1.2.2 > ./configure | grep readline checking for rl_callback_read_char in -lreadline... yes checking for readline/history.h... yes
2016 Mar 08
1
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color control sequence using write and fsync. Handler is installed only if signal is not being ignored. Patch uses rl_free_line_state and rl_cleanup_after_signal to unhook readline from terminal, then it calls original TSTP handler using approach in URL below and again hooks readline using rl_reset_after_signal. Handling is based on code
2003 Sep 22
2
Weird error when using VI on FreeBSD-4.x
I'm getting this error from time-to-time when using VI under FreeBSD_4.9-prerelease: Error: input: Resource temporarily unavailable Basically, VI just exits/crashes (no core dump). The load average is pretty low: 4:18PM up 10 days, 23:42, 4 users, load averages: 0.13, 0.21, 0.21 And I don't seem to have any other problems with the system. Wondering what this might be, or if
2014 May 15
2
vi : unable to copy text to other file
Hello All, I'm trying to use vi commands instead of using the mouse. I open Gnome-Terminal I open a file : vi /home/jvermeulen/.ssh/id_dsa.pub I select the key with " V " ( visual line ) I type " y " to yank the selected line. I can now use :e otherfile.txt and paste the text in otherfile.txt This is the only way I succeed in copying text to another file in
2016 Apr 27
4
Semi-OT: very weird vi behaviour
This is weird. As in, *deeply* weird. I ssh as root from one box to another (there are keys involved), and I go to vi a file, such as # line 1 # # line 2 # # line 3 # line 4 And what I see in vi is # line 3 # line 4 BUT, if I scroll the cursor over each line with the arrow key... I see all four lines. I've also looked at another file, and same thing. Just checked it out on the server I
2014 Oct 23
6
[PATCH RFC 1/4] virtio_net: pass vi around
Too many places poke at [rs]q->vq->vdev->priv just to get the the vi structure. Let's just pass the pointer around: seems cleaner, and might even be faster. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/net/virtio_net.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/drivers/net/virtio_net.c
2014 Oct 23
6
[PATCH RFC 1/4] virtio_net: pass vi around
Too many places poke at [rs]q->vq->vdev->priv just to get the the vi structure. Let's just pass the pointer around: seems cleaner, and might even be faster. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/net/virtio_net.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/drivers/net/virtio_net.c
2010 Jan 01
3
which program/command (perl, vi, or sed) is better
Hi I have apache log file around 7.6G and record half year Which program/command (perl, vi, or sed) is better to extract the data by date? and finally I can remove that big file and still keep the record. I have problem when using vi and it uses up the server memory Thank you for your help __________________________________________________________________ Get a sneak peak at messages