[opensuse] help! How did EDITOR=/usr/bin/joe get set and how do I get vi back -- permanently?
Listmates, Gremlins in my 10.3 server again. I went to edit a crontab and to my surprise, a blue screen editor appeared and I had no idea how to get out of it so I just hit ctrl+c to exit. Further investigation revealed that "joe" was now my default editor? joe who? [00:57 nirvana/var/backup] # set | grep EDITOR EDITOR=/usr/bin/joe [00:57 nirvana/var/backup] # export EDITOR=/usr/bin/vi [00:57 nirvana/var/backup] # set | grep EDITOR EDITOR=/usr/bin/vi _=EDITOR Now I have an additional piece of environment set to "_=EDITOR". I killed it with "unset _". More troubling is how did "EDITOR=/usr/bin/joe" get set in the first place? This is a basic 10.3 server (Linux nirvana 2.6.22.18-0.2-default). I like vi, I wouldn't change it. More frustrating, this seems to be set every time I open a new shell. I exit a shell, su to reopen another, and the thing is set to joe again. Where do I fix this for good? Thanks. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-07-31 at 01:37 -0500, David C. Rankin wrote:
Listmates,
Gremlins in my 10.3 server again. I went to edit a crontab and to my surprise, a blue screen editor appeared and I had no idea how to get out of it so I just hit ctrl+c to exit. Further investigation revealed that "joe" was now my default editor? joe who?
[00:57 nirvana/var/backup] # set | grep EDITOR EDITOR=/usr/bin/joe [00:57 nirvana/var/backup] # export EDITOR=/usr/bin/vi [00:57 nirvana/var/backup] # set | grep EDITOR EDITOR=/usr/bin/vi _=EDITOR
Okay... :-)
Now I have an additional piece of environment set to "_=EDITOR". I killed it with "unset _".
Forget it, that's just the last command you run.
More troubling is how did "EDITOR=/usr/bin/joe" get set in the first place? This is a basic 10.3 server (Linux nirvana 2.6.22.18-0.2-default). I like vi, I wouldn't change it.
I would look at the chair keyboard-interface(s) for a culprit :-p
More frustrating, this seems to be set every time I open a new shell. I exit a shell, su to reopen another, and the thing is set to joe again. Where do I fix this for good? Thanks.
Just: grep EDITOR * and undo the changed file; should be .bashrc or .profile. If not there, did you per chance "su" to root, without "-"? Then look at the settings for the user. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIkY9WtTMYHG2NR9URAkdOAJ0bpPsHB5D1fHK9hbxhDd1p1JZX8ACfW9ZE QUyTaltd7BxdxGFqCWtB7x0= =PSK+ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
The Thursday 2008-07-31 at 01:37 -0500, David C. Rankin wrote:
Listmates,
Gremlins in my 10.3 server again. I went to edit a crontab and to my surprise, a blue screen editor appeared and I had no idea how to get out of it so I just hit ctrl+c to exit. Further investigation revealed that "joe" was now my default editor? joe who?
I would look at the chair keyboard-interface(s) for a culprit :-p
That is always the prime suspect in these cases.
More frustrating, this seems to be set every time I open a new shell. I exit a shell, su to reopen another, and the thing is set to joe again. Where do I fix this for good? Thanks.
Just:
grep EDITOR *
Thanks Carlos, I found it: /etc/hxtools.conf:EDITOR="/usr/bin/joe"; $%$@#G%^ Jan! Why don't you use vi like a normal ultimate super-human kernel hacker??? -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Thursday 2008-07-31 at 09:42 -0500, David C. Rankin wrote:
Just:
grep EDITOR *
Thanks Carlos, I found it:
/etc/hxtools.conf:EDITOR="/usr/bin/joe";
$%$@#G%^ Jan! Why don't you use vi like a normal ultimate super-human kernel hacker???
Wow! What's that file? I don't have it. [...] I can't find it using pin, but webpin says it is part of aaa_base (10.3) in the repo of "suser-jengelh". What's that for? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIkg/7tTMYHG2NR9URAjq6AJoDVJGjl47nwzRorkyvbGGJi68i6wCglACo 4qfH0lP43jZHxUBj1Obc2rk= =pSaS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
The Thursday 2008-07-31 at 09:42 -0500, David C. Rankin wrote:
Just:
grep EDITOR *
Thanks Carlos, I found it:
/etc/hxtools.conf:EDITOR="/usr/bin/joe";
$%$@#G%^ Jan! Why don't you use vi like a normal ultimate super-human kernel hacker???
Wow! What's that file? I don't have it.
[...]
I can't find it using pin, but webpin says it is part of aaa_base (10.3) in the repo of "suser-jengelh".
What's that for?
aaa_base is pulled in whenever you load one of Jan's kernels. If I recall, when I was having MCE problems with the Tyan motherboard in the server I installed one of Jan's kernels to see if the problem was kernel/E820_bios handling related. That's how aaa_base got installed. The server ran so well after the motherboard replacement, I haven't had to tweak anything that invoked the default editor until I went to change a cron entry and that's when I discovered the blue screen of joe. So you hit the nail on the head, the problem was part of hxtools.conf installed with aaa_base ---- Jan.... -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
The Thursday 2008-07-31 at 09:42 -0500, David C. Rankin wrote:
Just:
grep EDITOR *
Thanks Carlos, I found it:
/etc/hxtools.conf:EDITOR="/usr/bin/joe";
$%$@#G%^ Jan! Why don't you use vi like a normal ultimate super-human kernel hacker???
You have obviously never worked with Wordstart or one of it off shoots in dos
On Thursday 31 July 2008, David C. Rankin wrote: then cus joe follows the same keyboard shortcuts / functions joe is great drn vi is way way way too much like edlin to be used nightmares are made of lesser things . Pete . -- SuSE Linux 10.3-Alpha3. (Linux is like a wigwam - no Gates, no Windows, and an Apache inside.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
peter nikolic wrote:
Carlos E. R. wrote:
The Thursday 2008-07-31 at 09:42 -0500, David C. Rankin wrote:
Just:
grep EDITOR * Thanks Carlos, I found it:
/etc/hxtools.conf:EDITOR="/usr/bin/joe";
$%$@#G%^ Jan! Why don't you use vi like a normal ultimate super-human kernel hacker??? You have obviously never worked with Wordstart or one of it off shoots in dos
On Thursday 31 July 2008, David C. Rankin wrote: then cus joe follows the same keyboard shortcuts / functions joe is great drn vi is way way way too much like edlin to be used nightmares are made of lesser things .
Pete .
It looked a lot like dos wordperfect... I was fine once I found ^k+h ;-) -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-08-01 at 20:37 -0500, David C. Rankin wrote:
kernel hacker??? You have obviously never worked with Wordstart or one of it off shoots in dos then cus joe follows the same keyboard shortcuts / functions joe is great drn vi is way way way too much like edlin to be used nightmares are made of lesser things .
It looked a lot like dos wordperfect... I was fine once I found ^k+h ;-)
Now you know how we feel when we suddenly find ourselves inside vi, till we learn about "[esc]:q!" or "killall vi" if we dont! >:-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIk74ztTMYHG2NR9URAtULAJ4gq6YYS8YpTbMCvA+S/Bl1M5ssewCfQdMt qhTjNlBqzh8tDPvodL0gnSo= =wX6z -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 02 August 2008, Carlos E. R. wrote:
The Friday 2008-08-01 at 20:37 -0500, David C. Rankin wrote:
kernel hacker???
You have obviously never worked with Wordstart or one of it off shoots in dos then cus joe follows the same keyboard shortcuts / functions joe is great drn vi is way way way too much like edlin to be used nightmares are made of lesser things .
It looked a lot like dos wordperfect... I was fine once I found ^k+h ;-)
Now you know how we feel when we suddenly find ourselves inside vi, till we learn about "[esc]:q!" or "killall vi" if we dont! >:-)
-- Cheers, Carlos E. R.
I always end up resorting to the latter even had the man page up but ho humm . -- SuSE Linux 10.3-Alpha3. (Linux is like a wigwam - no Gates, no Windows, and an Apache inside.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2008-08-02 at 08:31 +0100, peter nikolic wrote:
On Saturday 02 August 2008, Carlos E. R. wrote:
The Friday 2008-08-01 at 20:37 -0500, David C. Rankin wrote:
> kernel hacker???
You have obviously never worked with Wordstart or one of it off shoots in dos then cus joe follows the same keyboard shortcuts / functions joe is great drn vi is way way way too much like edlin to be used nightmares are made of lesser things .
It looked a lot like dos wordperfect... I was fine once I found ^k+h ;-)
Now you know how we feel when we suddenly find ourselves inside vi, till we learn about "[esc]:q!" or "killall vi" if we dont! >:-)
-- Cheers, Carlos E. R.
I always end up resorting to the latter even had the man page up but ho humm .
I used to use Joe for the Wordperfect reasons - until my job turned full time Solaris support - then I had to learn vi - and it ain't that difficult to be able to the basics - which cover you for about 90+% of the things you would do in an editor. Sometimes when you are on an old DEC serial terminal - with a dead machine - only vi will understand the terminal properly Now - I can't stand anything else!!!!! AM -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 02 August 2008, David C. Rankin wrote:
peter nikolic wrote:
On Thursday 31 July 2008, David C. Rankin wrote:
Carlos E. R. wrote:
The Thursday 2008-07-31 at 09:42 -0500, David C. Rankin wrote:
Just:
grep EDITOR *
Thanks Carlos, I found it:
/etc/hxtools.conf:EDITOR="/usr/bin/joe";
$%$@#G%^ Jan! Why don't you use vi like a normal ultimate super-human kernel hacker???
You have obviously never worked with Wordstart or one of it off shoots in dos then cus joe follows the same keyboard shortcuts / functions joe is great drn vi is way way way too much like edlin to be used nightmares are made of lesser things .
Pete .
It looked a lot like dos wordperfect... I was fine once I found ^k+h ;-)
-- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
Have to say i found joe the easiest editor to use by far i have tried vi several times and always end up with fried brain syndrome . Think i may even still have an early version of WP lurking wonder if it would run in one of the dos emulators have to have a play one time . Pete . -- SuSE Linux 10.3-Alpha3. (Linux is like a wigwam - no Gates, no Windows, and an Apache inside.) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Angus MacGyver
-
Carlos E. R.
-
David C. Rankin
-
peter nikolic