• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xterm shell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xterm shell


  • Subject: Re: xterm shell
  • From: Gaetano Vitale <email@hidden>
  • Date: Tue, 11 Feb 2003 14:40:34 +0100

THANKS!
I just figured it out myself (the argument should be -ls, but it might be aliased to -l (I haven't checked), and I think there's no need of the -e argument if you want to start your default shell).
Thank you very much and have a nice day,
gaetano


Martedl, 11 feb 2003, alle 14:26 Europe/Rome, Fawzi Mohamed ha scritto:

well if you want to execute as a login shell you can pass the -l flag:
	xterm -e tcsh -l
Fawzi

On Tuesday, February 11, 2003, at 02:12 PM, Gaetano Vitale wrote:

Hi Fawzi,
thanks for your reply. Unfortunately, that doesn't seam to fix it, as if I do:


[gvitale:~] % ps
  PID  TT  STAT      TIME COMMAND
 1866  p1  S+     0:00.36 -tcsh (tcsh)
 2106 std  Rs     0:00.24 -csh (tcsh)

(where the 1866 process is the shell of Terminal.app, and 2106 is the xterm shell, started with the "-e tcsh" argument); as you can see xterm still launches as csh, and uses a tcsh subshell. This is not a major issue, but is annoying because I have customised the tcsh in the ~/Library/init/tcsh/*.mine files.
Thanks anyway,
gaetano


Martedl, 11 feb 2003, alle 13:33 Europe/Rome, Fawzi Mohamed ha scritto:

As you can see from the man page
	xterm -e tcsh
should do what you want (you can change the /etc/X11/xinit/xinitrc )

by the way I find Apple's Terminal.app more confortable, you just have to set the DISPLAY variable: add
setenv DISPLAY localhost:0.0
to your .login or .tcshrc or .cshrc


Fawzi
On Tuesday, February 11, 2003, at 01:04 PM, Gaetano Vitale wrote:

Hi all,
sorry if this has already been asked, and thanks in advance for help:
I realized that xterm launches with a csh (even if my default shell is tcsh);
my question is how do I set xterm to launch with a tcsh (or any other shell)?
Thanks again
gaetano
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.





Gaetano Vitale, PhD

Department of Biomedical Sciences and Technologies
Immunology Section
University of Udine
Piazzale Kolbe 4
I-33100 Udine, Italy

Tel (desk): +39 0432 49 4344
Tel (lab): +39 0432 49 4342
Fax: +39 0432 494301
E-mail: email@hidden
web: http://makek.dstb.uniud.it/personal/sezioni/index.htm
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: xterm shell
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: xterm shell
  • Next by Date: ms intellimouse problems
  • Previous by thread: Re: xterm shell
  • Next by thread: Re: xterm shell
  • Index(es):
    • Date
    • Thread