* how to change background color when running emacs -nw
@ 2013-08-14 6:54 Lalit Saraswat
2013-08-14 8:35 ` Thorsten Jolitz
2013-08-14 9:14 ` Pascal J. Bourguignon
0 siblings, 2 replies; 4+ messages in thread
From: Lalit Saraswat @ 2013-08-14 6:54 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I am running emacs in no window mode. but emacs dont take konsole's
background color.
How can i change the background colour to white or whatever used by konsole.
Also how can i access Menu items like file/edit/buffers etc in no window
mode.
--------------------------------------------------------------------------------
Thanks & Regards,
Lalit Saraswat
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to change background color when running emacs -nw
2013-08-14 6:54 how to change background color when running emacs -nw Lalit Saraswat
@ 2013-08-14 8:35 ` Thorsten Jolitz
2013-08-14 10:38 ` Marko Vojinovic
2013-08-14 9:14 ` Pascal J. Bourguignon
1 sibling, 1 reply; 4+ messages in thread
From: Thorsten Jolitz @ 2013-08-14 8:35 UTC (permalink / raw)
To: help-gnu-emacs
Lalit Saraswat <leadinglalit@gmail.com> writes:
> Hi,
>
> I am running emacs in no window mode. but emacs dont take konsole's
> background color.
> How can i change the background colour to white or whatever used by konsole.
doesn't something like
,--------------------------------
| $ emacs -nw -fg wheat -bg black
`--------------------------------
work?
> Also how can i access Menu items like file/edit/buffers etc in no window
> mode.
maybe with
,----------------------------------------------------------------------------
| <f10> runs the command menu-bar-open, which is an interactive compiled Lisp
| function in `menu-bar.el'.
|
| It is bound to <f10>.
|
| (menu-bar-open &optional FRAME)
|
| Start key navigation of the menu bar in FRAME.
|
| This function decides which method to use to access the menu
| depending on FRAME's terminal device. On X displays, it calls
| `x-menu-bar-open'; on Windows, `w32-menu-bar-open' otherwise it
| calls `tmm-menubar'.
|
| If FRAME is nil or not given, use the selected frame.
`----------------------------------------------------------------------------
--
cheers,
Thorsten
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to change background color when running emacs -nw
2013-08-14 6:54 how to change background color when running emacs -nw Lalit Saraswat
2013-08-14 8:35 ` Thorsten Jolitz
@ 2013-08-14 9:14 ` Pascal J. Bourguignon
1 sibling, 0 replies; 4+ messages in thread
From: Pascal J. Bourguignon @ 2013-08-14 9:14 UTC (permalink / raw)
To: help-gnu-emacs
Lalit Saraswat <leadinglalit@gmail.com> writes:
> I am running emacs in no window mode. but emacs dont take konsole's
> background color.
> How can i change the background colour to white or whatever used by konsole.
(progn
(set-background-color "white")
(set-foreground-color "black")) C-x C-u
works as well in a terminal than in a windowing environment.
> Also how can i access Menu items like file/edit/buffers etc in no window
> mode.
M-`
--
__Pascal Bourguignon__
http://www.informatimago.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: how to change background color when running emacs -nw
2013-08-14 8:35 ` Thorsten Jolitz
@ 2013-08-14 10:38 ` Marko Vojinovic
0 siblings, 0 replies; 4+ messages in thread
From: Marko Vojinovic @ 2013-08-14 10:38 UTC (permalink / raw)
To: help-gnu-emacs
On Wed, 14 Aug 2013 10:35:21 +0200
Thorsten Jolitz <tjolitz@gmail.com> wrote:
> Lalit Saraswat <leadinglalit@gmail.com> writes:
> >
> > I am running emacs in no window mode. but emacs dont take konsole's
> > background color.
> > How can i change the background colour to white or whatever used by
> > konsole.
>
> doesn't something like
>
> ,--------------------------------
> | $ emacs -nw -fg wheat -bg black
> `--------------------------------
>
> work?
I believe the OP wants emacs to autodetect the background color of a
parent terminal process, and set that same color as its own background
at startup.
Some people use different background colors for user/root/remote
shells, and I can imagine that they would want this color to
propagate into emacs automatically, whatever that color may be in each
particular instance.
Best, :-)
Marko
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-14 10:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14 6:54 how to change background color when running emacs -nw Lalit Saraswat
2013-08-14 8:35 ` Thorsten Jolitz
2013-08-14 10:38 ` Marko Vojinovic
2013-08-14 9:14 ` Pascal J. Bourguignon
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.