Re: Is it possible to redraw screen after doing a charset change?
On (13/03/18 09:58), Kevin J. McCarthy put forth the proposition: On Tue, Mar 13, 2018 at 02:20:19PM +, David Woodfall wrote: I have a couple of binds to change charset between UTF-8/ISO-8859-1. The problem is that I need to exit from the pager and then reopen the message to see the changes, so I added those commands to the macro, which works fine. However, this doesn't work in the index, so is there a way to redraw the screen after a charset change? I don't see anything in the manual about it. I think the mailbox may need to be reopened for mutt to reprocess the headers, because they are stored in memory. In version 1.8.0 and higher, the function can be used to save your place, and the value in $mark_macro_prefix to restore it: macro index ,r "a^'a" That does sound like the way. I'll upgrade. Thanks.
Re: Is it possible to redraw screen after doing a charset change?
On Tue, Mar 13, 2018 at 02:20:19PM +, David Woodfall wrote: > I have a couple of binds to change charset between UTF-8/ISO-8859-1. > The problem is that I need to exit from the pager and then reopen the > message to see the changes, so I added those commands to the macro, > which works fine. > > However, this doesn't work in the index, so is there a way to redraw > the screen after a charset change? I don't see anything in the manual > about it. I think the mailbox may need to be reopened for mutt to reprocess the headers, because they are stored in memory. In version 1.8.0 and higher, the function can be used to save your place, and the value in $mark_macro_prefix to restore it: macro index ,r "a^'a" -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Re: Is it possible to redraw screen after doing a charset change?
On (13/03/18 15:12), Dave Woodfall put forth the proposition: On (13/03/18 11:02), Jude DaShiell put forth the proposition: In ssh try tilde-r. On Tue, 13 Mar 2018, David Woodfall wrote: It doesn't do anything. I set EscapeChar ~ in ~/.ssh/config, but I think my terminal must be grabbing it. Maybe there's a screen command to do it? Well C-l redraws the screen, but the characters don't change. I think it's mutt that needs to redraw, not ssh or screen. Date: Tue, 13 Mar 2018 10:55:18 From: David Woodfall To: mutt-users@mutt.org Subject: Re: Is it possible to redraw screen after doing a charset change? On (13/03/18 10:38), Jude DaShiell put forth the proposition: Going assumption is you're running a g.u.i. That being the case, try running xrefresh. On Tue, 13 Mar 2018, David Woodfall wrote: I'm using mutt over ssh on a headless server. No X. Date: Tue, 13 Mar 2018 10:20:19 From: David Woodfall To: mutt-users@mutt.org Subject: Is it possible to redraw screen after doing a charset change? I have a couple of binds to change charset between UTF-8/ISO-8859-1. The problem is that I need to exit from the pager and then reopen the message to see the changes, so I added those commands to the macro, which works fine. However, this doesn't work in the index, so is there a way to redraw the screen after a charset change? I don't see anything in the manual about it. -- --
Re: Is it possible to redraw screen after doing a charset change?
On (13/03/18 11:02), Jude DaShiell put forth the proposition: In ssh try tilde-r. On Tue, 13 Mar 2018, David Woodfall wrote: It doesn't do anything. I set EscapeChar ~ in ~/.ssh/config, but I think my terminal must be grabbing it. Maybe there's a screen command to do it? Date: Tue, 13 Mar 2018 10:55:18 From: David Woodfall To: mutt-users@mutt.org Subject: Re: Is it possible to redraw screen after doing a charset change? On (13/03/18 10:38), Jude DaShiell put forth the proposition: Going assumption is you're running a g.u.i. That being the case, try running xrefresh. On Tue, 13 Mar 2018, David Woodfall wrote: I'm using mutt over ssh on a headless server. No X. Date: Tue, 13 Mar 2018 10:20:19 From: David Woodfall To: mutt-users@mutt.org Subject: Is it possible to redraw screen after doing a charset change? I have a couple of binds to change charset between UTF-8/ISO-8859-1. The problem is that I need to exit from the pager and then reopen the message to see the changes, so I added those commands to the macro, which works fine. However, this doesn't work in the index, so is there a way to redraw the screen after a charset change? I don't see anything in the manual about it. -- --
Re: Is it possible to redraw screen after doing a charset change?
In ssh try tilde-r. On Tue, 13 Mar 2018, David Woodfall wrote: Date: Tue, 13 Mar 2018 10:55:18 From: David Woodfall To: mutt-users@mutt.org Subject: Re: Is it possible to redraw screen after doing a charset change? On (13/03/18 10:38), Jude DaShiell put forth the proposition: Going assumption is you're running a g.u.i. That being the case, try running xrefresh. On Tue, 13 Mar 2018, David Woodfall wrote: I'm using mutt over ssh on a headless server. No X. Date: Tue, 13 Mar 2018 10:20:19 From: David Woodfall To: mutt-users@mutt.org Subject: Is it possible to redraw screen after doing a charset change? I have a couple of binds to change charset between UTF-8/ISO-8859-1. The problem is that I need to exit from the pager and then reopen the message to see the changes, so I added those commands to the macro, which works fine. However, this doesn't work in the index, so is there a way to redraw the screen after a charset change? I don't see anything in the manual about it. -- --
Re: Is it possible to redraw screen after doing a charset change?
Going assumption is you're running a g.u.i. That being the case, try running xrefresh. On Tue, 13 Mar 2018, David Woodfall wrote: Date: Tue, 13 Mar 2018 10:20:19 From: David Woodfall To: mutt-users@mutt.org Subject: Is it possible to redraw screen after doing a charset change? I have a couple of binds to change charset between UTF-8/ISO-8859-1. The problem is that I need to exit from the pager and then reopen the message to see the changes, so I added those commands to the macro, which works fine. However, this doesn't work in the index, so is there a way to redraw the screen after a charset change? I don't see anything in the manual about it. --
Re: Is it possible to redraw screen after doing a charset change?
On (13/03/18 10:38), Jude DaShiell put forth the proposition: Going assumption is you're running a g.u.i. That being the case, try running xrefresh. On Tue, 13 Mar 2018, David Woodfall wrote: I'm using mutt over ssh on a headless server. No X. Date: Tue, 13 Mar 2018 10:20:19 From: David Woodfall To: mutt-users@mutt.org Subject: Is it possible to redraw screen after doing a charset change? I have a couple of binds to change charset between UTF-8/ISO-8859-1. The problem is that I need to exit from the pager and then reopen the message to see the changes, so I added those commands to the macro, which works fine. However, this doesn't work in the index, so is there a way to redraw the screen after a charset change? I don't see anything in the manual about it. --
Is it possible to redraw screen after doing a charset change?
I have a couple of binds to change charset between UTF-8/ISO-8859-1. The problem is that I need to exit from the pager and then reopen the message to see the changes, so I added those commands to the macro, which works fine. However, this doesn't work in the index, so is there a way to redraw the screen after a charset change? I don't see anything in the manual about it.