... I just tried using longjmp() yesterday. That works, but the problem is that we need to get a signal for the out-of-stack situation, so that we can jump...
Bram Moolenaar
Bram@...
Mar 1, 2005 10:56 am
39152
... Yes, it can be changed. In WinNT the system's command processor, cmd.exe, accepts pseudo-ANSI codes in an environmental variable. E.g., "set COLOR=70"...
Alejandro López-Va...
dradul@...
Mar 1, 2005 12:26 pm
39153
Call me crazy, but I could have sworn ... aaaaa ... a since \%(\) groups, but doesn't create submatches, whereas \(\) does.... If I change \+ to * it returns...
Johnny Blaze
pyromancer@...
Mar 1, 2005 6:01 pm
39154
... Unbounded recursion is a really bad idea. (I assume that's the underlying problem.) Why not explicitly manage the recursion state on a custom stack,...
George V. Reilly
george@...
Mar 1, 2005 7:10 pm
39155
Hi, a couple of years ago, I hacked the vim 6.1 source code to "enhance" rvim to have what I call "paranoid" mode. This mode prevents a user from operating on...
Collins, Kevin (MindW...
KCollins@...
Mar 1, 2005 8:10 pm
39156
Does it / should it also prevent stuff like ... ?...
TongKe Xue
tongke@...
Mar 1, 2005 8:27 pm
39157
That is already prevented with "standard" rvim - subshells / shell commands are not allowed. I'm sure there may be other cases I have not thought of, but at...
Collins, Kevin (MindW...
KCollins@...
Mar 1, 2005 8:33 pm
39158
... Of course. But there are projects that will *never* have interfaces like this. Try getting Sun to write a interface for dbx, or HPUX to write one for xdb. ...
Edward Peschko
esp5@...
Mar 1, 2005 8:48 pm
39159
I have the dubious pleasure of working with code that is indented in a strange way - such that the opening brace of a function is not in column 0, but rather ...
Ron Aaron
ron@...
Mar 1, 2005 9:04 pm
39160
... Yes, there is: 'help ]]' pointed it out. Nevertheless, it would be nice if vim would obey cinoptions for this. -- My GPG public key is at...
Ron Aaron
ron@...
Mar 1, 2005 9:11 pm
39161
... I think it's useful in some situations. Would you still allow access to the help files? Are you 99.9% sure it's impossible to edit another file? I am...
Bram Moolenaar
Bram@...
Mar 1, 2005 9:54 pm
39162
... We would still run out of stack. Or do you mean that we would know how large the stack is and we can check that it's almost full? We actually already...
Bram Moolenaar
Bram@...
Mar 1, 2005 9:56 pm
39163
... You can use a pipe in between the command and the display. It's not simple, since you need a pseudo-tty (pty) to do it properly. Might not work on...
Bram Moolenaar
Bram@...
Mar 1, 2005 9:57 pm
39164
... This is very likely caused by my change to allow potentially empty matches inside the \(\). I'll look into it (after I fix my burned down PC :-( ). -- ...
Bram Moolenaar
Bram@...
Mar 1, 2005 9:57 pm
39165
The help still works fine. I am pretty certain its impossible to edit/squash another file, but I am not a vim expert :) Besides :e, :w, :!, :r! and :redir what...
Collins, Kevin (MindW...
KCollins@...
Mar 1, 2005 10:08 pm
39166
... I'm not sure I got them all. Best regards, Tony....
A. J. Mechelynck
antoine.mechelynck@...
Mar 1, 2005 10:27 pm
39167
The :new, :split both use (if I remember correctly) the :e code underneath and so are also prevented. The :saveas appears to use the :w code. I just tested all...
Collins, Kevin (MindW...
KCollins@...
Mar 1, 2005 10:36 pm
39168
... Thank you sir. -- . o O pyromancer O o ....
Johnny Blaze
pyromancer@...
Mar 1, 2005 10:53 pm
39169
... well, that's the way that vimshell does it, through pipes via a pty. It just so happens that its integrated with vim in a very nice, compact fashion. ... ...
Edward Peschko
esp5@...
Mar 1, 2005 11:26 pm
39170
FYI, I was able to fix the various ":arg" commands pretty quickly... Can anyone else think of other ways to subvert this security? It would be really nice to...
Collins, Kevin (MindW...
KCollins@...
Mar 1, 2005 11:44 pm
39171
On Tue, 2005-03-01 at 15:43 -0800, Collins, Kevin (MindWorks) wrote: [...] ... Not following too closely, have you caught plugins like :Explore? And how about...
Steve Hall
digitect@...
Mar 2, 2005 2:07 am
39172
... Have you considered file marks: 'A to 'Z, '0 to '9 and their backquote counterparts? (Or have you disabled viminfo completely?) -- Matthew Winn...
Matthew Winn
matthew@...
Mar 2, 2005 8:27 am
39173
... and :badd and :split and i suppose much more -- Mgr. Marián Csontos programátor POS AXA, a.s. Radničné námestie 4 821 05 Bratislava tel. +421 2 4829...
Marian Csontos
csontos@...
Mar 2, 2005 8:34 am
39174
... I second this. I remember a post to this list not too long ago from Vince Negri saying something about Bram being hesitant to accept patches that extend...
Nazri Ramliy
ayie@...
Mar 2, 2005 9:04 am
39175
... You don't sound very sure that there can't be another way. Instead of looking in the docs, perhaps you should check the source code where readfile() and...
Bram Moolenaar
Bram@...
Mar 2, 2005 11:14 am
39176
... The ]] command comes from Vi. I prefer to keep it Vi-compatible. It's not difficult to make a mapping to have ]] search for where you want the cursor to...
Bram Moolenaar
Bram@...
Mar 2, 2005 11:15 am
39177
... Maybe there are hidden ones (as 'program used for diff mode' or similar ideas). I think it is not a vim problem, it should be an OS problem. If you want to...
Milan Vancura
milanek@...
Mar 2, 2005 11:32 am
39178
Milan Vancura wrote: [...] ... I wonder what kind of gvim your employer had got installed for you. I've always been able to use :!commandname, :r !commandname...
A. J. Mechelynck
antoine.mechelynck@...
Mar 2, 2005 3:42 pm
39179
... Surely. But you haven't anything (=anything useful) to write after :! if you don't have cygwin or some unixutils package installed :-) Milan Vancura...
Milan Vancura
milan@...
Mar 2, 2005 4:09 pm
39180
I am not familiar with either of those, but I would have to suspect that under the covers they are just using vim builtin mechanisms (like :e, etc) to...