Can't open .term Terminal.app files from command line
Howdy. I use Terminal.app constantly for ssh'ing into numerous remote machines. On my G4 Powerbook I have simply created .term files with customized colors, titlebars, and an appropriate ssh execution string for each machine/userid combination, which I am able to open with "open ~/bin/foo.term". Life is no longer so joyously simple on my new Intel iMac. I create a .term file (via Cmd-s while in a terminal window), but the above command to open foo.term now simply doesn't work on my iMac once a single terminal window has been opened (even after it's been closed) -- I can start one such file only from the finder or via Launchbar or Quicksilver. The only way I can use my .term files is by switching to Terminal and selecting File...Open and clicking on the .term file -- which, being a command line (and Launchbar) junkie, I hate, of course. Applescripts don't work either.
I would be forever grateful if someone could tell me how to fix this problem!
txlogic
Intel iMac Mac OS X (10.4.6)
iMac Mac OS X (10.4.6)
TXLogic
I cannot do it either.
Ah, interesting -- thanks for the input. I had thought the problem might have something to do with the fact that I was using an Intel iMac, but you are using a PPC iBook. The problem isn't with 10.4.6 either, as that is what I'm running on my G4 Powerbook, and the .term files work as expected on that machine.
Initially I thought it was a
problem with permissions, i.e the term file hadn't
the execute bit set (which it did not). Setting the x
bit though did not help at all.
Right, the .term files aren't executable.
A work around was to
save the command(s) into a plain text document in
text edit (not rtf) as a .command file (no txt
extension in this case) and set its execute bit in
terminal (sudo chmod u+x ...).
I don't quite understand the workaround -- what command(s) exactly did you put into the .command file? Could you paste the contents of such a file here?
I have not dealt with term files extensively but I
noticed that .term files are xml ones. Could anyone
shed some light in possible changes in the way
terminal handles them?
Since the .term files work as desired on my Powerbook, it now doesn't appear that Terminal.app has changed its processing of the files. Something else is going on here.
txlogic
Similar Messages
-
I can't open video and picures files from cammera
i can't open video and pictures files from PowerShot SD 780 IS DIGITAL ELPH Cammera
how can i open video and pictures files from my Cammera, i need help!!!!!
== This happened ==
Every time Firefox opened
== EverytimeIf you want to drag and drop ( don;t know why you would do this), you will have to check manually manage music.
Why not just sync?
iPhone User Guide (For iOS 5.0 Software) -
Can I Open an HTMLHelp (*.CHM) File from Java GUI Application?
I ussually use Delphi to develop my applications and I can open an HTMLHelp (*.CHM) file from my application. Can you show me the ways to do it from my Java GUI applications?
Thanks for everyone.
Budi Raharjo
http://budiraharjo.blogspot.comhttp://www.google.com/search?q=java+chm
Seems like there is some 3rd party software available for that. -
Help...
I can not open the mac app store in any way from my mac book pro
please helpLaunch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
View ▹ Show Log List
from the menu bar.
Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
Please do not indiscriminately dump thousands of lines from the log into this discussion.
Important: Some private information, such as your name, may appear in the log. Anonymize before posting. -
Running Unit Test from test manager that run bat file from command line
Hi ,
I am trying to run Jsystem (java framewotk) from command line using runScenario.bat thru unit test that i associated to test in test manager.
the idea is that when i ran the automated test from MTM - it will run the the unit test that will run the appropriate test case in java.
i wrote the code like this :
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTestProject3
[TestClass]
public class UnitTest1
[TestMethod]
public void TestMethod1()
try
String command = "c:\\JSYSTEM\\runner\\runScenario.bat
c:\\Users\\ryeshua\\Source\\Workspaces\\Auto1\\my-tests-project\\target\\classes scenarios\\feature1 RoeySetup.xml ";
System.Diagnostics.ProcessStartInfo procStartInfo =
new System.Diagnostics.ProcessStartInfo("cmd", "/c " + command);
procStartInfo.RedirectStandardOutput = true;
procStartInfo.UseShellExecute = false;
//procStartInfo.CreateNoWindow = true;
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo = procStartInfo;
proc.Start();
string result = proc.StandardOutput.ReadToEnd();
Console.WriteLine(result);
catch (Exception objException)
// Log the exception
and when i ran it from visual studio it worked perfect. and update the Jsystem logs of the junit test in the jsystem/runner/log folder.
but when i added it to associated test and ran it from MTM - it pass but it does not update the logs in jsystem folder.
the problem that i dont know what is not working. i cant see the output of it when i ran from mtm but can see when i ran from VS.
i am using VS 2013 Pro with MTM 2013.
please advice
RoeyHi Roey,
Thank you for posting in MSDN forum.
Based on your issue, could you please tell me how you generate the log file under the jsystem folder?
Generally, I know that when we run unit test from VS IDE, the file will be saved into the local machine. But when we run unit test from MTM, the unit test method will be run on the test agent machine, so the file will be saved into the test agent machine.
Therefore, I suggest you could check if you did not see the updated logs file in jsystem folder on the test agent machine.
In addition, I suggest you could try to copy this unit test project on this test agent machine and then run the unit test method using mstest.exe in command line and then check if you can update the logs file.
https://msdn.microsoft.com/en-us/library/ms182489.aspx?f=255&MSPPError=-2147217396
If you have any updated message about this issue, please tell me.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Run PDF File from command line and goto a bookmark
Hi,
I need to open a pdf file vi command line (WinXP / Win7).
Till this I do not have a problem.
But I need to go to a bookmark in the file direct after opening the file.
I tried "acrord23.exe /a nameddest=BOOKMARK file.pdf" but this opened only the file.
"acrord23.exe /a zoom=50 file.pdf" works fine.
Is there another parameter to go to a bookmark after open a file?
Where is my mistake?
Thanks in advance
Regards
Marc
Message was edited by: mgemmerich - reason: typoHi,
I read the PDF Open Parameters reference. So I tried the nameddest. I think the nameddest is a bookmark, or is this wrong?
The background is, that we have the dokumentation for our application in word. So we save the word as pdf. Each chapter is now a bookmark.
In the application we want to call the pdf and jump to the bookmark. Each frame were you can call "help" is a chapter/bookmark.
Or is there another way to do this?
Regards
Marc -
Can't run JavaFX app as a jar file from command line
I'm trying to build a JavaFX app from scratch (that is, by including the jar file from the JavaFX SDK rather than by using the special JavaFX project type from NetBeans). It runs fine in NetBeans. However, when I try to launch it as a jar file from the command line (using "java -jar dist\TestApp") I get the following. Has anybody seen this before, and if so how can I fix it?:
*** Fallback to Prism SW pipeline
Exception in thread "main" java.lang.RuntimeException: java.lang.UnsatisfiedLink
Error: Can't load library: C:\dev\TestApp\dist\bin\mat.dll
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
289)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:68)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherIm
pl.java:145)
at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:
27)
at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:97)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: C:\dev\RedactionT
oolPrototype\RedactionToolPrototype.Core\dist\bin\mat.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoad
er.java:155)
at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoad
er.java:85)
at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:
30)
at com.sun.glass.ui.Application$1.run(Application.java:28)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:26)
at com.sun.glass.ui.win.WinApplication.<clinit>(WinApplication.java:33)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
Factory.java:20)
at com.sun.glass.ui.win.WinPlatformFactory.createApplication(WinPlatform
Factory.java:17)
at com.sun.glass.ui.Application.Run(Application.java:51)
at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:
279)
... 5 moreUnsatisfied link means that Java is trying to access a native library, but it cannot be found. As to why this error is being thrown, here is my guess:
If you open up one of the sample jars with a zip viewer, you will see that the Manifest file has the following entries:
>
Manifest-Version: 1.0
JavaFX-Version: 2.0
implementation-vendor: Oracle
implementation-title: BrickBreaker
implementation-version: 1.0
JavaFX-Application-Class: brickbreaker.Main
Created-By: JavaFX Packager
Main-Class: com/javafx/main/Main
>
In other words, a JavaFX project works a bit differently than a normal Java project. com/javafx/main/Main is used as the Main class and your "Main" class is called later.
If you are trying to build this from a normal Java project, then com/javafx/main/Main will not be created and it will call your Main class right away. Thus, whatever setup is needed to run JavaFX will not occur. -
Can I open an encrypted pdf file from Dropbox with my iPhone, iPad, or iPad Mini?
Mac OS 10.9.3 encrypts a pdf file using Acrobat XI, then sends it to Dropbox. Mobile device retrieves encrypted file from Dropbox. Then can mobile device user open (unencrypt) the pdf file?
George, you wrote something that encouraged me to try to encrypt a PDF document again using the security icon on the menu bar of my old Acrobat 8 Professional. It worked this time (it wouldn't encrypt on my first try, and I wrongly assumed that it wasn't compatible with Maverick OS). I dropped document into Dropbox, retrieved it with mobile devices; and when I tapped on the document, it simply asked for the password and opened perfectly. When moving to a different screen, then back to the secured PDF file, one must re-enter the password again (which is good).
As far as what PDF viewer -- I don't know. I have the Acrobat Reader APP on my devices, is that the reader the document is using?? I've never figured out which APPs are running at any particular time on these devices.
Many, many thanks for your reply!! -
Adobe Reader X 10.1.1: Can't open or download PDF-file from bank
Hello,
I make internet banking and try to download a PDF-file from the HTTPS-page of my bank. If I click on the Java Script-link to the PDF-file the PDF-file does not open. I can also not download the PDF-file. I talked with the bank support and they told me that they had no such problem.
Thank you for your help.I am getting the exact error trying to down load bank statements but when I go to 'uncheck' the "Do not save encrypted page to disk" box it is ALREADY unchecked. Can't get my bank statements down loaded. Any other suggestions. Need help quick.
-
Can't Open any non-code files from "Local" site list
Dreamweaver 8. . .
When attempting to open any file type from the local file list (.pdf, .doc, .docx, .xls, .mdb, etc.), I get a "Can't find a valid editor for this file extension". I can browse to the application and open it that way, but it doesn't remember this info and I have to do that every time I want to open a local file.
.php, .htm, etc. open just fine in the Dreamweaver editor but there seems to be no associations built from/to the local library. I can open files from Windows Explorer directly without problems.
Any suggestions?
TIA
Tom
Programmer wanna-bePerfect! I had looked at that earlier but couldn't figure out how it worked. You've saved me lots of time. Thanks for the help.
-
I have just installed Maverick. When I use Safari and try and open a Pdf file from a webpage I get a black screen and tells me to download Adobe. I have reinstalled adobe reader but still don't get anywhere. I can open any pdf files I have previously stored or have in downloads or in documents. Any one any ideas what i need to do?
Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
Step 1
If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
Step 2
There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
Step 3
If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
Safari ▹ Preferences... ▹ Security
and check the box marked
Allow Plug-ins
Then click
Manage Website Settings...
and make any required changes to the security settings for the Adobe PDF plugin.
Step 4
Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
Step 5
The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
Step 6
Do as in Step 4 with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari. -
Can I open adobe premiere elements files from Mac on a PC?
Hi, my imac crashed. I'm wondering if I can use my old adobe premiere elements 11 files from my Mac on a new PC?
thanks for any tips.emajor109
You cannot use Premiere Elements Mac project files on Premiere Elements Windows.
And, you cannot use Premiere Elements Windows project files on Premiere Elements Mac.
ATR -
Need help, please. I changed my laptop, but I cant transfer my files from my old laptop to the new one. Im scared they will all be replaced and gone. How do I go about moving them to my new laptop?
Put everything on one computer and sync to that computer.
-
Emacs auctex menus empty when not opening file from command line
I have got a problem with emacs/auctex.
In a running emacs editor, if I am opening a .tex file out of the editor, the menus "LaTeX", "Command" and "Math" are empty. That is, upon clicking on them, there is no dropdown list:
Example: http://img8.imageshack.us/img8/7285/ema … ommand.jpg
If, however, I open a .tex file from the console by invoking emacs
$ emacs file.tex
the menus show up the way they should.
My .emacs
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(inhibit-startup-screen t))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
;; Auctex
(load "auctex.el" nil t t)
(setq TeX-auto-save t)
(setq TeX-parse-self t)
(setq-default TeX-master nil) ; Query for master file.
(setq TeX-PDF-mode t) ;; set pdflatex default, not latex
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) ;; set math mode
What am I missing?
Edit: I am running linux 2.6.31 x86_64, emacs 23.1-3, auctex 11.85-2
Last edited by fubar0 (2009-10-22 22:44:48)Me too. Same kind of problem with Dired also: the menus are empty. I've even gone so far as to reinstall a fresh Archlinux, although not just for this purpose (I just had to try the Beta Fedora 12, but it crashed all over the place. It lasted about an hour on my machine). I know that if I had any business using Emacs I should know how to fix this, but I don't have a clue. It's been happening for a couple weeks now. And just to reiterate, this is a clean install, I haven't messed with it at all, I don't even have a custom .emacs to show. I haven't looked to see if this empty menu thing happens anywhere else or not--these are just the two things I use emacs for.
I don't see a bug report for this, but I don't feel I have the qualifications to submit a good bug report, so I'm hoping someone qualified will hear our crys for help. Forgive my ignorance, this is my first time posting on here. -
Passing arguments to the jsx file from command line
Thanks for taking my question.
I am using the following to be able to run my script from the command line.In case you were wondering on why i would be doing this- i would need to invoke the javascript from a server side code(like java,php etc. in my case it is java)
"c:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" "c:\path to script\myscript.jsx"
Anyways, i have been successful in running the myscript.jsx from the command line but i am not able to figure out how i could pass arguments to "myscript.jsx" from the command line, and be able to refer to these arguments within the script.
I have tried the following
"c:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" "c:\path to script\myscript.jsx" "argument1" "argument2"
and tried to refer these arguments within the script using arguments[0] and arguments[1] . But looks like this does not work.
Any thoughts?????To run JavaScript from the prompt using ExtendScript Toolkit 1.0.3 or 2.0.2 you need to do the following:
Add the line #target indesign to the top of your script otherwise ESTK will open without executing the script. Example:
#target indesign
//MakeDocumentWithParameters.jsx
//An InDesign CS2 JavaScript
//Shows how to use the parameters of the document.open method.
//The first parameter (showingWindow) controls the visibility of the
//document. Hidden documents are not minimized, and will not appear until
//you add a new window to the document. The second parameter (documentPreset)
//specifies the document preset to use. The following line assumes that
//you have a document preset named "Flyer" on your system.
var myDocument = app.documents.add(true, app.documentPresets.item("Flyer"));
//SaveDocumentAs.jsx
//An InDesign CS2 JavaScript
//If the active document has not been saved (ever), save it.
if(app.activeDocument.saved == false){
//If you do not provide a file name, InDesign will display the Save dialog box.
app.activeDocument.save(new File("/c/temp/myTestDocument.indd"));
Ensure Indesign is open. Execute the following command:
"C:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" -run "[path to script]\script.jsx"
For example:
"C:\Program Files\Adobe\Adobe Utilities\ExtendScript Toolkit\ExtendScript Toolkit.exe" -run "C:\Program Files\Adobe\Adobe InDesign CS2\Presets\Scripts\test.jsx"
This command can be easily called from Java or any other third party application of your choice.
It took me a while to find this information, so I thought I'd share it with everyone.
Good luck!
Maybe you are looking for
-
HT4885 how do i use a macbookpro with a thunderbolt display and have an external projector
I bought the latest macbook pro with a 500 gig solid state drive 8 gig ram etc and a thunderbolt display, is use it with lappy lid down and external key board and mouse, so like an imac or tower. i want to add a matrox 3 display splitter in line to
-
Display the all text entered for all folder at Item and Header level of PO
Hi everybody, I have the task like the following : In a PO there are text folders available at Header and Item level. I want POs with type Purchasing document type u2018ZFu2019 ( First Article PO ) should display all the texts entered into any of the
-
Field that is Calculated - Read Only - Capturing output in XML after?
Hello: I have defined a Calculated - Read Only field but I have not successfully bound it or captured its value in XML. In my Object Palette I do not have a Binding tab, so how do I capture its value in XML after? Thanks, Newbie in Adobe
-
An XJC compilation error - Could not load class (..) for type cvsversion
I've got a strange compilation error using NetBeans 4.0 (I'd guess the version does not matter here) and Ant 1.6.2. When the following task is executed, <target name="compile_ofx_schema"> <antcall target="clean-ofx"/> <delete dir="${ofx-jaxb-src.dir}
-
Using external function in xquery
hi all, i'm using the Java Api to access Berkeley dbxml. i'm trying to raise a number, i get from the database,to a power the code i use is : String Query = "declare namespace power = 'java:java.lang.Math';"; Query += "declare function power:pow($thi