image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old March 12th, 2003, 02:30 PM
Registered User
 
Join Date: May 2001
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Cow Loon is on a distinguished road
emacs: standard input is not a tty

I'm trying to add emacs to apple's cocoa wm menu. For my local machine if I simply add "emacs" I get an error on the console that standard input is not a tty when I try to run it. I cluelessly tried:

emacs -t /dev/tty

with no change.

Any thoughts?
Reply With Quote
  #2  
Old March 12th, 2003, 02:47 PM
lurk's Avatar
Mitä?
 
Join Date: Mar 2002
Location: Land o' skeeterz
Posts: 2,076
Thanks: 0
Thanked 0 Times in 0 Posts
lurk is on a distinguished road
Which emacs are you trying to add? The terminal version that came with OSX? One of the Xwindows versions? The Carbonized version?

-Eric
__________________
Wenn ist das Nunstruck git und Slotermeyer? Ja!...
Beiherhund das Oder die Flipperwaldt gersput!
Reply With Quote
  #3  
Old March 12th, 2003, 02:51 PM
Registered User
 
Join Date: May 2001
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Cow Loon is on a distinguished road
Quote:
Originally posted by lurk
Which emacs are you trying to add? The terminal version that came with OSX? One of the Xwindows versions? The Carbonized version?

-Eric
The X Windowing System version
Reply With Quote
  #4  
Old March 12th, 2003, 02:57 PM
Registered User
 
Join Date: May 2001
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Cow Loon is on a distinguished road
The emacs in question comes from Fink.

I should point out that what I've been doing since my attempts at putting it in the menu are failing, is running xterm and then running emacs from there (which successfully runs the X11 version of emacs which is in my path).
Reply With Quote
  #5  
Old March 12th, 2003, 10:05 PM
lurk's Avatar
Mitä?
 
Join Date: Mar 2002
Location: Land o' skeeterz
Posts: 2,076
Thanks: 0
Thanked 0 Times in 0 Posts
lurk is on a distinguished road
Try using the explicit path I think it is picking up the terminal version. That is add /sw/bin/emacs to the menu. You may also have to add (push "/sw/bin" exec-path) to your .emacs to get all the goodies to work.

-Eric
__________________
Wenn ist das Nunstruck git und Slotermeyer? Ja!...
Beiherhund das Oder die Flipperwaldt gersput!
Reply With Quote
  #6  
Old March 12th, 2003, 11:12 PM
Registered User
 
Join Date: May 2001
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Cow Loon is on a distinguished road
That's it. Thanks!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running a standard tool SAbsar Software Programming & Web Scripting 8 September 14th, 2003 01:16 PM
View & input east-language with Indesign2 brentking Design & Media 0 April 14th, 2003 03:58 AM
Change sound input? VicF Apple News, Rumors & Discussion 2 March 24th, 2002 01:53 PM
popen(), standard input, output etc. ??? MacImage Mac OS X System & Mac Software 2 December 21st, 2001 10:18 AM
Emacs yukio Mac OS X System & Mac Software 8 February 5th, 2001 11:08 PM


All times are GMT -5. The time now is 08:55 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.