unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* mks ksh and emacs
@ 2002-09-24 23:06 Neal Yin
  2002-09-24 23:24 ` David Masterson
  0 siblings, 1 reply; 2+ messages in thread
From: Neal Yin @ 2002-09-24 23:06 UTC (permalink / raw)


Hi,

I am use emacs 21.2.1 with MKS toolkit 7.5 on Windows 2000.   I'd like emacs
to use sh as it's shell, so in .emacs I added (setq explicit-shell-file-name
"sh"). The problem is I need to start a interactive shell with "sh -L" not
just plain "sh",  how can I do that?    (setq explicit-shell-file-name
"sh -L") doesn't work.

Thanks

-Neal

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

* Re: mks ksh and emacs
  2002-09-24 23:06 mks ksh and emacs Neal Yin
@ 2002-09-24 23:24 ` David Masterson
  0 siblings, 0 replies; 2+ messages in thread
From: David Masterson @ 2002-09-24 23:24 UTC (permalink / raw)


>>>>> Neal Yin writes:

> I am use emacs 21.2.1 with MKS toolkit 7.5 on Windows 2000.  I'd
> like emacs to use sh as it's shell, so in .emacs I added (setq
> explicit-shell-file-name "sh"). The problem is I need to start a
> interactive shell with "sh -L" not just plain "sh", how can I do
> that?  (setq explicit-shell-file-name "sh -L") doesn't work.

It would appear that you do:

(setq explicit-sh-args "-L")

There may be other args that you need with this as well (like "-i").

-- 
David Masterson                David DOT Masterson AT synopsys DOT com
Sr. R&D Engineer               Synopsys, Inc.
Software Engineering           Sunnyvale, CA

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

end of thread, other threads:[~2002-09-24 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-24 23:06 mks ksh and emacs Neal Yin
2002-09-24 23:24 ` David Masterson

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).