<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 13, 2023, 11:04 PM Gedare Bloom <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Zack,<br>
<br>
This is very close but I think something is still going strangely with<br>
your patch commit message or with your git-send-email. The subject<br>
line of the git-send-email should inherit from the first line of your<br>
commit message, so either your commit message has "medit issue" as its<br>
first line, or there is something strange in how your patch is being<br>
emailed.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Copy and pasted in an email? Rather than git send-email or attaching it?</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can you either check your configuration and command for<br>
git-send-email, or just send the patch as a diff/.patch file?<br>
<br>
Gedare<br>
<br>
On Fri, Feb 10, 2023 at 7:35 PM zack leung <<a href="mailto:zakthertemsdev@gmail.com" target="_blank" rel="noreferrer">zakthertemsdev@gmail.com</a>> wrote:<br>
><br>
> libmisc/shell: User can't cut using ctrl e and x in medit<br>
><br>
> Closes #4557<br>
> ---<br>
>  cpukit/libmisc/shell/main_edit.c | 3 +--<br>
>  1 file changed, 1 insertion(+), 2 deletions(-)<br>
><br>
> diff --git a/cpukit/libmisc/shell/main_edit.c b/cpukit/libmisc/shell/main_edit.c<br>
> index 6e954639e2..8317452b7b 100644<br>
> --- a/cpukit/libmisc/shell/main_edit.c<br>
> +++ b/cpukit/libmisc/shell/main_edit.c<br>
> @@ -1713,7 +1713,6 @@ static void copy_selection(struct editor *ed) {<br>
>    ed->env->clipboard = (unsigned char *) realloc(ed->env->clipboard, ed->env->clipsize);<br>
>    if (!ed->env->clipboard) return;<br>
>    copy(ed, ed->env->clipboard, selstart, ed->env->clipsize);<br>
> -  select_toggle(ed);<br>
>  }<br>
><br>
>  static void cut_selection(struct editor *ed) {<br>
> @@ -2132,7 +2131,7 @@ static void edit(struct editor *ed) {<br>
><br>
>          case ctrl('e'): select_toggle(ed); break;<br>
>          case ctrl('a'): select_all(ed); break;<br>
> -        case ctrl('c'): copy_selection(ed); break;<br>
> +        case ctrl('c'): copy_selection(ed);select_toggle(ed); break;<br>
>          case ctrl('f'): find_text(ed, 0); break;<br>
>          case ctrl('l'): goto_line(ed); break;<br>
>          case ctrl('g'): find_text(ed, 1); break;<br>
> --<br>
> 2.39.1<br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></div>