unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs font-lock-mode issues in solaris 10
@ 2009-06-18 13:05 jk
  2009-06-18 13:10 ` jk
  2009-06-18 14:01 ` Anselm Helbig
  0 siblings, 2 replies; 7+ messages in thread
From: jk @ 2009-06-18 13:05 UTC (permalink / raw)
  To: help-gnu-emacs

I'm having two issues with solaris 10 and emacs.

1) font-lock-mode fails with "X windows are not in use or not
initialized"
2) backspace works in the shell, but fails inside emacs.  Instead, it
pulls up the "*help*"

TERM is set to xterm
stty:
speed 9600 baud; evenp hupcl
rows = 46; columns = 71; ypixels = 694; xpixels = 658;
erase = ^h; swtch = <undef>;
-inpck -istrip icrnl -ixany ixoff onlcr
echo echoe echok echoctl echoke iexten

Thanks in advance,

jk


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs font-lock-mode issues in solaris 10
  2009-06-18 13:05 emacs font-lock-mode issues in solaris 10 jk
@ 2009-06-18 13:10 ` jk
  2009-06-18 14:01 ` Anselm Helbig
  1 sibling, 0 replies; 7+ messages in thread
From: jk @ 2009-06-18 13:10 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 18, 9:05 am, jk <jk.lists.questi...@gmail.com> wrote:
> I'm having two issues with solaris 10 and emacs.
>
> 1) font-lock-mode fails with "X windows are not in use or not
> initialized"
> 2) backspace works in the shell, but fails inside emacs.  Instead, it
> pulls up the "*help*"
>
> TERM is set to xterm
> stty:
> speed 9600 baud; evenp hupcl
> rows = 46; columns = 71; ypixels = 694; xpixels = 658;
> erase = ^h; swtch = <undef>;
> -inpck -istrip icrnl -ixany ixoff onlcr
> echo echoe echok echoctl echoke iexten
>
> Thanks in advance,
>
> jk

Also, I should have mentioned, I'm running emacs as "emacs -nw".


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs font-lock-mode issues in solaris 10
  2009-06-18 13:05 emacs font-lock-mode issues in solaris 10 jk
  2009-06-18 13:10 ` jk
@ 2009-06-18 14:01 ` Anselm Helbig
  2009-06-18 14:20   ` jk
  1 sibling, 1 reply; 7+ messages in thread
From: Anselm Helbig @ 2009-06-18 14:01 UTC (permalink / raw)
  To: help-gnu-emacs

Hi!

> 1) font-lock-mode fails with "X windows are not in use or not
> initialized"
> 2) backspace works in the shell, but fails inside emacs.  Instead, it
> pulls up the "*help*"
> 
> TERM is set to xterm
> stty:
> speed 9600 baud; evenp hupcl
> rows = 46; columns = 71; ypixels = 694; xpixels = 658;
> erase = ^h; swtch = <undef>;
> -inpck -istrip icrnl -ixany ixoff onlcr
> echo echoe echok echoctl echoke iexten

I can't help with 1), but 2) is actually a FAQ. This command fixed it
for me:

  stty erase '^?'

See
http://www.gnu.org/software/emacs/emacs-faq.html#Backspace-invokes-help

HTH, 

Anselm


-- 
Anselm Helbig 
mailto:anselm.helbig+news2009@googlemail.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs font-lock-mode issues in solaris 10
  2009-06-18 14:01 ` Anselm Helbig
@ 2009-06-18 14:20   ` jk
  2009-06-18 15:29     ` Anselm Helbig
  2009-06-18 19:01     ` Peter Dyballa
  0 siblings, 2 replies; 7+ messages in thread
From: jk @ 2009-06-18 14:20 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 18, 10:01 am, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:
> Hi!
>
> > 1) font-lock-mode fails with "X windows are not in use or not
> > initialized"
> > 2) backspace works in the shell, but fails inside emacs.  Instead, it
> > pulls up the "*help*"
>
> > TERM is set to xterm
> > stty:
> > speed 9600 baud; evenp hupcl
> > rows = 46; columns = 71; ypixels = 694; xpixels = 658;
> > erase = ^h; swtch = <undef>;
> > -inpck -istrip icrnl -ixany ixoff onlcr
> > echo echoe echok echoctl echoke iexten
>
> I can't help with 1), but 2) is actually a FAQ. This command fixed it
> for me:
>
>   stty erase '^?'
>
> Seehttp://www.gnu.org/software/emacs/emacs-faq.html#Backspace-invokes-help
>
> HTH,
>
> Anselm
>
> --
> Anselm Helbig
> mailto:anselm.helbig+news2...@googlemail.com
Adding (keyboard-translate ?\C-h ?\C-?) to my .emacs resolved issue
#2.

Anyone have any ideas on issue #1?

Thanks.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs font-lock-mode issues in solaris 10
  2009-06-18 14:20   ` jk
@ 2009-06-18 15:29     ` Anselm Helbig
  2009-06-18 17:47       ` jk
  2009-06-18 19:01     ` Peter Dyballa
  1 sibling, 1 reply; 7+ messages in thread
From: Anselm Helbig @ 2009-06-18 15:29 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]

Hi!

> > > 1) font-lock-mode fails with "X windows are not in use or not
> > > initialized"
> > > 2) backspace works in the shell, but fails inside emacs.  Instead, it
> > > pulls up the "*help*"
> >
> > > TERM is set to xterm
> > > stty:
> > > speed 9600 baud; evenp hupcl
> > > rows = 46; columns = 71; ypixels = 694; xpixels = 658;
> > > erase = ^h; swtch = <undef>;
> > > -inpck -istrip icrnl -ixany ixoff onlcr
> > > echo echoe echok echoctl echoke iexten
> >
> > I can't help with 1), but 2) is actually a FAQ. This command fixed it
> > for me:
> >
> >   stty erase '^?'
> >
> > Seehttp://www.gnu.org/software/emacs/emacs-faq.html#Backspace-invokes-help
>
> Adding (keyboard-translate ?\C-h ?\C-?) to my .emacs resolved issue
> #2.

Yes, this works, too, but you can not use C-h anymore to get help. For
this reason I'd rather use stty to have the correct terminal
settings. 

Regards, 

Anselm


-- 
Anselm Helbig 
mailto:anselm.helbig+news2009@googlemail.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs font-lock-mode issues in solaris 10
  2009-06-18 15:29     ` Anselm Helbig
@ 2009-06-18 17:47       ` jk
  0 siblings, 0 replies; 7+ messages in thread
From: jk @ 2009-06-18 17:47 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 18, 11:29 am, Anselm Helbig <anselm.helbig
+news2...@googlemail.com> wrote:
> Hi!
>
>
>
>
>
> > > > 1) font-lock-mode fails with "X windows are not in use or not
> > > > initialized"
> > > > 2) backspace works in the shell, but fails inside emacs.  Instead, it
> > > > pulls up the "*help*"
>
> > > > TERM is set to xterm
> > > > stty:
> > > > speed 9600 baud; evenp hupcl
> > > > rows = 46; columns = 71; ypixels = 694; xpixels = 658;
> > > > erase = ^h; swtch = <undef>;
> > > > -inpck -istrip icrnl -ixany ixoff onlcr
> > > > echo echoe echok echoctl echoke iexten
>
> > > I can't help with 1), but 2) is actually a FAQ. This command fixed it
> > > for me:
>
> > >   stty erase '^?'
>
> > > Seehttp://www.gnu.org/software/emacs/emacs-faq.html#Backspace-invokes-help
>
> > Adding (keyboard-translate ?\C-h ?\C-?) to my .emacs resolved issue
> > #2.
>
> Yes, this works, too, but you can not use C-h anymore to get help. For
> this reason I'd rather use stty to have the correct terminal
> settings.
>
> Regards,
>
> Anselm
>
> --
> Anselm Helbig
> mailto:anselm.helbig+news2...@googlemail.com- Hide quoted text -
>
> - Show quoted text -

In Solaris, ^H is the default for backspace.  Changing it with stty
erase to ^? may resolve the emacs issues, but it will break the xterm.

-jk


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: emacs font-lock-mode issues in solaris 10
  2009-06-18 14:20   ` jk
  2009-06-18 15:29     ` Anselm Helbig
@ 2009-06-18 19:01     ` Peter Dyballa
  1 sibling, 0 replies; 7+ messages in thread
From: Peter Dyballa @ 2009-06-18 19:01 UTC (permalink / raw)
  To: jk; +Cc: help-gnu-emacs


Am 18.06.2009 um 16:20 schrieb jk:

> Anyone have any ideas on issue #1?


See which result you get when you add -q or -Q to -nw when launching  
GNU Emacs. They avoid loading your own or your and the system's init  
files.

--
Greetings

   Pete

There are two major products that come out of Berkeley: LSD and UNIX.  
We don't believe this to be a coincidence.
				- Jeremy S. Anderson







^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-06-18 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 13:05 emacs font-lock-mode issues in solaris 10 jk
2009-06-18 13:10 ` jk
2009-06-18 14:01 ` Anselm Helbig
2009-06-18 14:20   ` jk
2009-06-18 15:29     ` Anselm Helbig
2009-06-18 17:47       ` jk
2009-06-18 19:01     ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).