> Was this issue ever resolved (I still observe it...)?

I do not think there is anything to resolve on the Vim side.  You need
to check your setup for where the problem is coming from.
For me it works as the help says.  If it works differently you must have
made some settings to make that happen.  I can add tags for t_ti and
t_te in the help there, so the reader has a hint about alternatives.

>> > On the other hand, if 't_ti' and 't_te' are set to default, Vim uses 
>> > alternate screen, then `:silent !{cmd}` shows a blank screen after
>> > the execution of the command (even the command didn't display
>> > anything). User still needs to 

I don't know what "set to default" means here.  I can only imagine
values coming from tercamp/terminfo, and that's a configuration thing,
not under control of Vim.

There were hints in previous message about what might be the problem for you.

>> > How about restoring the Vim screen automatically when alternate screen is 
>> > enabled? E.g.: 
>> > 
>> > --- a/src/ex_cmds.c 
>> > +++ b/src/ex_cmds.c 
>> > @@ -1469,6 +1469,8 @@ do_shell( 
>> >          wait_return(term_console ? -1 : msg_silent == 0); // see below 
>> >  # else 
>> >          wait_return(msg_silent == 0); 
>> > +        if (swapping_screen() && msg_silent > 0) 

There is no swapping_screen() function and I have no clue how to write
that.  Parsing the termcap codes and guessing what they mean?  Not a
good plan.


-- 
hundred-and-one symptoms of being an internet addict:
18. Your wife drapes a blond wig over your monitor to remind you of what she
    looks like.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20221104194848.BF71D1C0739%40moolenaar.net.

Raspunde prin e-mail lui