am working on a java(tomcat) app. that sometimes writes to stdout. But I notice that indic languages(say, kannada) turn out as ?????? characters on the std. windows console(terminal) on Windows Vista (SP1 Home premium 64-bit).
I know that I could run tomcat from within emacs(GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6001)) so I could see th...
How do i launched Terminal from air 2 passing arguments and command as well?
...
Hi. Is it possible to compress a folder and create a .zip on my server through a command in terminal via FTP? Is there a archive command? Thanks.
...
Hello all,
I want to invoke terminal.app from a php script is this possible if not then how do we invoke terminal using applescript/shell script. I want to use php because there is no other option for me. also after invoking terminal i want to navigate to a folder and run xcodebuild command from there. Does someone knows about it?
...
Hello everyone,
I need to add this section into my application where the user would enter in a terminal command for example "killall SpringBoard" and when the user presses the button it would run the command. I know that if you use the System("") function you can run the terminal command. But how about from a textbox?
My next questio...
When you run git clone, it updates progress in place. For example, the percentage of the objects received changes in place.
user@athena:~/cloj/src$ git clone git://git.boinkor.net/slime.git
Initialized empty Git repository in /home/user/cloj/src/slime/.git/
remote: Counting objects: 15936, done.
remote: Compressing objects: 100% (5500/5...
I am planning on developing an Mxmlc to Textmate formatter, one that formats mxmlc errors as clickable links, so you can open them up quickly in Textmate as Textmate has a url scheme e.g.: txmt://open/?url=file://~/.bash_profile&line=11&column=2.
I am wondering if it is possible to display links in your OSX terminal, that are also clic...
I want to print columnar output from a ruby program, but in order to take full advantage of the available screen space, I need to determine the character width of the terminal the program is running in. How does one do this?
...
Hi,
I'm trying to "shadow" a session within a session opened through AxMSTCLib (using c# app), but I get ejected. Is this normal with TS2008 ?
If so, as anyone ressource explaining how to open a shawod rdp session using managed code ?
Regards,
Stéphane
...
On WTS I need to write a secured application which gets connected by different users but needs to use a single secured user credentials to access files on the server folders
...
I want to implement a progress bar showing elapsed seconds in bash. For this, i need to erase the last line shown on the screen ( command "clear" erases all the screen, i need to erase only the line of the progress bar and replace it with the new informations ).
Final result should look like :
"Elapsed time 5 seconds"
...
I have a readline-based application with a prompt, however I'd like it to not show when the input is not interactive.
$ ./readline-app < command-list > result
$ cat result
prompt> Output line 1
prompt> Output line 2
prompt>
$
How can I make the prompt to not print in this case?
...
Consider this simple example (which displays in red):
echo -e "\033[31mHello World\033[0m"
It displays on the terminal correctly in red. Now consider:
watch echo -e "\033[31mHello World\033[0m"
It does not display the color.
Note: I am aware that it is easy to write a loop that mimics the basic behavior by clearing and rerunning. How...
Hi,
I found this project which seems to make it possible to run an iPhone app from command line !
http://github.com/jhaynie/iphonesim
Unfortunately there is almost no documentation and i'm stuck at building this project :
I download all sources
I run MakeFile and i get these errors :
admin$ ./Makefile
./Makefile: line 4: -Werror:...
I'm new to git, using it via Terminal on Snow Leopard.
When I run "git pull" I often want to know what changed between the last version of a file and the new one. Say I want to know what someone else committed to a particular file.
How is that done?
I'm assuming it's "git diff" with some parameters for commit x versus commit y but I ...
I am unable to open the " terminal dialogue box" by clicking APPLICATIONS--> ACCESSORIES--> TERMINAL, ALSO I AM UNABLE TO OPEN IT BY CLIKING, APPLICATIONS-->SYSTEMTOOLS-->TERMINAL. That to do ?
...
In bash, I believe it is possible to enable tab completion on the terminal for terms that are specific to the executable being invoked.
For example, given an executable "eat" with valid arguments {cake, carrot, banana}, typing 'eat car' should complete to 'eat carrot'.
I believe this is possible because I have seen it with 'ant' tab-c...
I need to grab the duration of a video file via python as part of a larger script. I know I can use ffmpeg to grab the duration, but I need to be able to save that output as a variable back in python. I thought this would work, but it's giving me a value of 0:
cmd = 'ffmpeg -i %s 2>&1 | grep "Duration" | cut -d \' \' -f 4 | sed s/,//' %...
I want to implement the command line features like in a linux terminal. I saw this in ftp command also.
If I press tab I need to list the commands.
If I press control characters I need to get that characters based on that I will do some action.
And if I give any commands it should execute.
For this I tried with Term::ReadKey that i...
I used Term::ShellUI and almost every thing
is working as expected but the issue is when I pressed Ctrl-C I want to
print:
Please use ctrl+d to exit the shell
For that I handle the signal but the message print only after I pressed the new line
How to resolve this?
...