On Tue, Mar 01, 2005 at 05:45:08PM -0500, A. Khattri wrote:
> I usually do
>
> :set noautoindent
>
> from within vi when I need to paste in insert mode.
In vim at least, I believe
:set noai
also works as a nice short hand.
Another nice command is
:set paste
which implies noai but also prev
On Tue, 1 Mar 2005, darren kirby wrote:
> quoth the Bill Roberts:
>
> >
> > Alternately, is there some way of copying nicely into vim from code I
> > find on the internet.
>
> Edit /etc/vim/vimrc and comment out with a double quote mark --> " the line:
> set ai " Always set auto-
quoth the Bill Roberts:
>
> Alternately, is there some way of copying nicely into vim from code I
> find on the internet.
Edit /etc/vim/vimrc and comment out with a double quote mark --> " the line:
set ai " Always set auto-indenting on
Now code will paste properly.
> Thanks in
On 17:01 Tue 01 Mar , Ulrich Anhalt wrote:
> normally it should work with sudo. Please comment out the line
> Defaults env_reset
> in your /etc/sudoers (if it isn't) and try again
>
Ulli
Your suggestion for /etc/sudoers solved the problem for gvim, but
firefox was very unhappy, r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Bill Roberts wrote:
| When I'm logged on as a user, and I try to open gvim or firefox by
| su'ing or sudo'ing as root, I get the following error.
|
| E233: cannot open display
|
| I used to be able to do this, but there was a tightening of security
| at
Hi Bill,
normally it should work with sudo. Please comment out the line
Defaults env_reset
in your /etc/sudoers (if it isn't) and try again
Ulli
Am Dienstag, den 01.03.2005, 10:25 -0500 schrieb Bill Roberts:
> On 10:02 Tue 01 Mar , Christopher Fisk wrote:
> > On Tue, 1 Mar 200
On Tue, 1 Mar 2005, Bill Roberts wrote:
When I'm logged on as a user, and I try to open gvim or firefox by
su'ing or sudo'ing as root, I get the following error.
E233: cannot open display
I used to be able to do this, but there was a tightening of security
at some point, and now I cannot. I am usin
On Tue, 1 Mar 2005 10:25:12 -0500, Bill Roberts wrote:
> I've also stayed away from xhosts for security reasons. Is there any
> secure way of using it?
emerge sux
Note: that is a command, not an opinion ;-)
--
Neil Bothwick
Use Microsoft . . . . .
pgpK2XULr39Yg.pgp
Description: PGP signatu
On Tue, 1 Mar 2005, Bill Roberts wrote:
I've also stayed away from xhosts for security reasons. Is there any
secure way of using it?
You could (as root) copy the mit-magic cookie to root's directory (/root).
This is usually the recommended way, from a security point of view. X
clients scan the ho
Hi!
If you're not on an outside machine and security is not really a concern for
the moment you can try "xhost +" as the user and then su to root. This
disables access control; you might want to be careful. When you are done you
can reenable it by "xhost -" after root logged off. This is a rath
On 10:02 Tue 01 Mar , Christopher Fisk wrote:
> On Tue, 1 Mar 2005, Bill Roberts wrote:
>
> >When I'm logged on as a user, and I try to open gvim or firefox by
> >su'ing or sudo'ing as root, I get the following error.
> >
> >E233: cannot open display
>
> This is an X security thing. Instead
> When I'm logged on as a user, and I try to open gvim or firefox by
> su'ing or sudo'ing as root, I get the following error.
>
> E233: cannot open display
By default X.org disables tcp access.
To enable root (or another user) to open windows on the display you need to:
1. remove the "-nolisten
On Tue, 1 Mar 2005, Bill Roberts wrote:
When I'm logged on as a user, and I try to open gvim or firefox by
su'ing or sudo'ing as root, I get the following error.
E233: cannot open display
This is an X security thing. Instead of launching Firefox from a su'd
session, why not install sudo and run s
13 matches
Mail list logo