Sponsored Content
Top Forums UNIX for Advanced & Expert Users Cygwin <--> CMD App Problem (Terminal Type?) Post 302320999 by deckard on Friday 29th of May 2009 03:17:50 PM
Old 05-29-2009
Better Solution Found: Run SSSU Native to HP-UX

I found a simple solution. There is an SSSU application that is native for HP-UX 11.23 on Itanium servers. Instead of needing to mess with Cygwin, I can just run a native application on Unix. In the process though, I learned the following as sidenotes:

1. According to the Cygwin docs, console applications sometime just won't work in the Cygwin environment. In those cases, they recommend running those applications in plain old CMD and if you need *nix commands, you can use the Cygwin apps from within CMD. This gives you the maximum interoperability possible in that scenario. It would not have worked for me.

2. If you want more unix-like terminal access, use 'rxvt' in Cygwin. Even without the Cygwin X server, it can give you X window cut and paste and a host of other *nix-like functionality.

3. There is an SSH server for Windows called Freesshd that does allow for console apps to work. This may have worked for me, but now that I have a native Unix app, I don't have a reason to try it in this instance. It seems that the only real benefits to Freesshd over Cygwin SSH are the ability to run console mode programs as expected including ANSI color, and a GUI to manage the server that is more applicable to Windows users.

4. There are two devices /dev/conin and /dev/conout in Cygwin which provide some stdio-like functionality but in Windows style rather than *nix. At least as far as I can tell. That was a bit beyond me, so I'll leave it to others to correct me if I'm wrong.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

terminal type problem with cygwin on aix

hey, I use cygwin to connect to AIX 5.2 but when I open vi I get an error saying: ex: 0602-108 cygwin is not a recognized terminal type how can I fix that? I thought cygwin was tty vt100? (1 Reply)
Discussion started by: rein
1 Replies

2. Windows & DOS: Issues & Discussions

Display running 'app' in terminal titlebar?

Hi. I was, not too long ago, an OS X home user. One of the things I remember from using the Apple-installed Terminal is: whenever an executable that took more than a split second to do its thing was running, its name would appear in the title bar in a way similar to "Terminal: ssh" or "Terminal:... (0 Replies)
Discussion started by: SilversleevesX
0 Replies

3. UNIX Desktop Questions & Answers

Terminal title bar tweak discrepancy problem in Cygwin/X

Code for the tweak (not my fave 'running process' but the more popular 'working directory') : case "$TERM" in xterm*|rxvt*|rxvt-unicode*) PROMPT_COMMAND='echo -e "\033]0;$TERM: ${PWD}\007"' ;; *) ;; esac Where it works: rxvt (the one I run 'rootless' outside of ... (0 Replies)
Discussion started by: SilversleevesX
0 Replies

4. Shell Programming and Scripting

open terminal to run cmd using shell script

i want the shell script to open the terminal and in that terminal i want to run a command specified in the script... how can it be done... (2 Replies)
Discussion started by: chandrabhushan
2 Replies

5. Shell Programming and Scripting

Set default app for file type on Mac

Hi there, We have 2 apps on our customers machines that can both open files with the same file extension. Is there any way via shell commands to set which application should be the default? Essentially, I'm hoping to replicate Get Info > Open With > Change All using a shell script, but I just... (0 Replies)
Discussion started by: davewg
0 Replies

6. Solaris

Solaris Cmd to determine type of zone?

I lost my notes on the subject, but I remember running across a single Solaris command that tells you the following Global zone vs local zone Sparse local zone vs Whole Root local zone Can anyone advise? Thanks-In-Advance!! (2 Replies)
Discussion started by: ckmehta
2 Replies

7. UNIX for Dummies Questions & Answers

Increase Font size for text to type in CYGWIN

Please mention "How to increase font size for text to type commands in CYGWIN " ? (2 Replies)
Discussion started by: adirajup
2 Replies

8. AIX

UNIX cmd to check for non expiry type password

Hi, Here's the version of unix that we are working on. > uname -a AIX yyyyyyyy 1 6 00F613E24C00 @:on(cluster303)/iishomea/kmani00-> i have application id: aaabbb Now i need to check whether the password for the application id set to non expiry type or not. Moreover, with that unix... (3 Replies)
Discussion started by: kmanivan82
3 Replies

9. BSD

How to play a song in terminal app in os x?

Just wondering -- is there a way to play a song in iTunes from the terminal app? (1 Reply)
Discussion started by: Straitsfan
1 Replies

10. Shell Programming and Scripting

Differences with gawk on cmd vs cygwin

I have this script (thanks Don!) that runs as expected in cygwin: gawk -F, 'NR == 1{print "Source,Well_Source,Volume,Destination_Well,Destination"; OFS = ","; next}/Ladder/{next}LAST2 && $2 != LAST2{print "PCR_Plate", ++CNT, (SUM > 10)?800/SUM:0, 1, "Deadpool"; SUM = 0}{SUM += ( $4 > 430 && $4 <... (5 Replies)
Discussion started by: Xterra
5 Replies
Xacobeo::App(3pm)					User Contributed Perl Documentation					 Xacobeo::App(3pm)

NAME
Xacobeo::App - Application SYNOPSIS
use Xacobeo::App; my $xacobeo = Xacobeo::App->get_app(); my $window = $xacobeo->new_window(); $window->load_file($source, $type); $xacobeo->load_plugins(); # Start the main loop Gtk2->main(); DESCRIPTION
Instance to the main application. This singleton is used to manage the life-time of the application, its widgets (specially the main windows) and to setup the application. =head1 PROPERTIES The following properties are defined: conf A reference to the main configuration singleton. windows The windows available. METHODS
The package defines the following methods: get_app Returns the current application instance. This class is a singleton so there's no constructor. get_windows Returns the windows created so far. new_window Creates a new window and shows it. load_plugins Loads the plugins that are available. load_plugin Loads a plugin based on the given description file. Parameters: o $file The file describing the plugin. AUTHORS
Emmanuel Rodriguez <potyl@cpan.org>. COPYRIGHT AND LICENSE
Copyright (C) 2008,2009 by Emmanuel Rodriguez. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2011-11-16 Xacobeo::App(3pm)
All times are GMT -4. The time now is 08:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy