all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gregor Zattler <telegraph@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: [REQ]Light/dark toggle for terminal emacs
Date: Fri, 04 Sep 2020 10:00:12 +0200	[thread overview]
Message-ID: <87y2lqx983.fsf@no.workgroup> (raw)
In-Reply-To: <834koeuili.fsf@gnu.org>

Hi Eli, Steve, emacs users,
* Eli Zaretskii <eliz@gnu.org> [2020-09-04; 10:06]:
>> From: Steve Greenburg <beethoven3322@hotmail.com>
>> Date: Thu, 3 Sep 2020 20:00:46 +0000
>>
>> I was using emacs -nw in a terminal the other day and
>> noticed that only the tsdh-light theme was able to give
>> me a light background/dark text out of all the themes in
>> etc/themes. This was a freebsd terminal where the default
>> term has limited colors, and tsdh-light was the only
>> theme that didn't check for a minimum of 80 something
>> colors. It wasn't great but it was much more readable,
>> and faster than setting -fg or -bg on the command line.
>>
>> I think it would be a good idea to have a menu option in
>> terminal emacs at least to toggle light/dark for easy of
>> editing. My vision is impaired and I work best with light
>> terminals most of the time. Probably the Options menu
>> before Multilingual Environment. Someone said
>> (invert-face 'default) can do this but I don't expect a
>> casual user on bsd or otherwise would know about
>> this. Possibly a command line option like -light or -dark
>> might also work.
>
> There's a command-line option -rv, did you try it?

nice, I didn't know, this is for X though.


I have this in my .Xdefaults:

!; provide inverse video
URxvt.keysym.M-plus: command:\033]11;15\007\033]10;0\007
!; provide normal video
URxvt.keysym.M-numbersign: command:\033]11;0\007\033]10;15\007

this allows me to select normal or inverse video within
urxvt with ALT++ and ALT+# respectively.  But this works
only with rvxt-unicode as terminal emulator.  Actually I
don't use it any more, because other configurations I have
made, provide colours and this does not work well in reverse
video.

Ciao; Gregor
--
 -... --- .-. . -.. ..--.. ...-.-




  reply	other threads:[~2020-09-04  8:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-03 20:00 [REQ]Light/dark toggle for terminal emacs Steve Greenburg
2020-09-04  7:06 ` Eli Zaretskii
2020-09-04  8:00   ` Gregor Zattler [this message]
2020-09-04  8:10     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2020-09-04 21:15 Steve Greenburg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2lqx983.fsf@no.workgroup \
    --to=telegraph@gmx.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.