Charles Curley wrote on 7/1/26 2:09 PM:


What editor are you expecting?

$VISUAL. Set to be "kate -n".

Where does it show up, and is it showing

It shows up on the screen; I'm not sure what you are really asking there.

up where you expect it to show up?

Yep.

How are you specifying your choice
of editors to crontab?

crontab (I think) uses $VISUAL if it exists, and perhaps $EDITOR otherwise. [Oh, I see you talk about sensible-editor later...]

Ah... now that's interesting. If I set:
 "export VISUAL=''"
and then:
  crontab -e
I get:
  [Z:~] crontab -e
Select an editor.  To change later, run select-editor again.
  1. /bin/nano        <---- easiest
  2. /usr/bin/mcedit
  3. /usr/bin/vim.tiny

Choose 1-3 [1]: 1

And then I CAN see and edit the crontab file with nano.

Something here is obviously really screwy (and yes, it all worked fine before the change from bookworm to trixie).

Well, for now, I'll just set VISUAL='nano'. I have no idea why kate isn't doing the right thing -- it's working fine for this task on one other machine...

Hmmmm...

On the machine where it works, I have VISUAL='/usr/bin/kate -b -n'... and... if I do exactly the same on the machine that I just upgraded, "crontab -e" suddenly works. Yay!!! Dark magic!

Thank you very much for pointing me in what turned out to be the right direction :-) Although why the behaviour changed between bookworm and trixie is a mystery. I suspect some change in kate, which is always a bit of a moving target.

  Doc

--
Web:  http://enginehousebooks.com/drevans

Reply via email to