Found by accident: Cygwin tips that still work (most of them)


 
Thread Tools Search this Thread
Special Forums Windows & DOS: Issues & Discussions Found by accident: Cygwin tips that still work (most of them)
# 1  
Old 05-11-2009
Found by accident: Cygwin tips that still work (most of them)

The link:
Cygwin Tips by zzapper Linux Like Environment for Windows

The tip I found most useful:
Scroll down to this line:
Quote:
# Use mount to make windows paths appear like unix paths
It describes how to add useful Windows-side folders to your Cygwin install by changing them into POSIX paths, accessible via cd /<shortcutname> but invisible to Windows Explorer, unlike soft symlinks and .lnk files. It eliminates the annoyance to treat the spaces in folder names with backwhacks or enclosing the whole path in quotes.

I still have two aliases that point my Cygwin rxvt (or whatever terminal I happen to be using) to my XP Desktop and My Documents folders, and for practical reasons I intend to keep them in my *aliases file, but I doubt if I'll use them as often with these new mount points in place.

BZT
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File not found when using cygwin

files="UserRightAssignment.txt" echo $files echo '1.1.1.2.2.1;' `grep -ai '^Modify an object label' $files`Hi there, I got such an output when using unix,please advise 1.1.1.2.2.1; : No such file or directoryxt I am using sh ura.sh (3 Replies)
Discussion started by: alvinoo
3 Replies

2. UNIX for Advanced & Expert Users

Compiling libcdio-paranoia, gcc found - C compiler doesnt work

Heyas I'm currently trying to make a fresh build from scratch/source of FFMPEG. This said, it brings quite a tail with it, so the use of a script was very obvious. Anyway, i'm currently stuck at named package. Lets ignore the tarball/download line, as the error is after. Commands... (0 Replies)
Discussion started by: sea
0 Replies

3. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies

4. Shell Programming and Scripting

script under cygwin suddenly says command not found

Running bash in cygwin under 2003 Server. I run about 6 shell windows. Every now and then when I check the machine, all of the scripts are scrolling and returning /usr/bin/whatever: command not found. I checked the event log for a windows event that would cause it, but there was nothing. I... (9 Replies)
Discussion started by: gman804s
9 Replies

5. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

I'm using cygwin on win7, What I would like to do is something like this: cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e I know I can start a new instance using either of these: mintty -e ... cygstart tail ... But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies

6. UNIX for Advanced & Expert Users

Accident use of arp -d command:Not able to login to server

Hi , I am working in a Unix Solaris server which has apache installed. I was logged into the server using ssh . I accidentally ran the arp -d command with the hostname of the logged in server and deleted the entry :confused:. Now I am not able to access the server. Is there anyway I can access... (14 Replies)
Discussion started by: Blunder49
14 Replies

7. UNIX for Dummies Questions & Answers

tips

hi... I want some tips for standardizing shell script code... (1 Reply)
Discussion started by: xerox
1 Replies

8. UNIX for Advanced & Expert Users

Remove /dev/sdb partition using fdisk - BY ACCIDENT!

Hello everyone - Please forgive me if I violate the forum's etiquette as this is my very first post. I'm posting this on both the dummies and the advance section with the hope for any responses. I stumbled on this forum while frantically looking for an answer to a dumb, ignorant thing I did... (5 Replies)
Discussion started by: kevindoman
5 Replies

9. UNIX for Dummies Questions & Answers

Remove /dev/sdb partition using fdisk - BY ACCIDENT!

Hello everyone - Please forgive me if I violate the forum's etiquette as this is my very first post. I'm posting this on both the dummies and the advance section with the hope for any responses. I stumbled on this forum while frantically looking for an answer to a dumb, ignorant thing I did... (2 Replies)
Discussion started by: kevindoman
2 Replies

10. Shell Programming and Scripting

how can i check in csh if command found or not found ?

hello all im trying to use in sun Solaris the information received from the top command now i several machines that dont have install the top program so when im running the script im geting error saying after im running this code : set MemoryInfo = `top | grep Memory` if (... (2 Replies)
Discussion started by: umen
2 Replies
Login or Register to Ask a Question
Inline-Support(3)					User Contributed Perl Documentation					 Inline-Support(3)

NAME
Inline-Support - Support Information for Inline.pm and related modules. DESCRIPTION
This document contains all of the latest support information for "Inline.pm" and the recognized Inline Language Support Modules (ILSMs) available on CPAN. SUPPORTED LANGUAGES
The most important language that Inline supports is "C". That is because Perl itself is written in "C". By giving a your Perl scripts access to "C", you in effect give them access to the entire glorious internals of Perl. (Caveat scriptor :-) As of this writing, Inline also supports: - C++ - Java - Python - Tcl - Assembly - CPR - And even Inline::Foo! :) Projects that I would most like to see happen in the year 2001 are: - Fortran - Ruby - Lisp - Guile - Bash - Perl4 SUPPORTED PLATFORMS
"Inline::C" should work anywhere that CPAN extension modules (those that use XS) can be installed, using the typical install format of: perl Makefile.PL make make test make install It has been tested on many Unix and Windows variants. NOTE: "Inline::C" requires Perl 5.005 or higher because "Parse::RecDescent" requires it. (Something to do with the "qr" operator) Inline has been successfully tested at one time or another on the following platforms: Linux Solaris SunOS HPUX AIX FreeBSD OpenBSD BeOS OS X WinNT Win2K WinME Win98 Cygwin The Microsoft tests deserve a little more explanation. I used the following: Windows NT 4.0 (service pack 6) Perl 5.005_03 (ActiveState build 522) MS Visual C++ 6.0 The "nmake" make utility (distributed w/ Visual C++) "Inline::C" pulls all of its base configuration (including which "make" utility to use) from "Config.pm". Since your MSWin32 version of Perl probably came from ActiveState (as a binary distribution) the "Config.pm" will indicate that "nmake" is the system's "make" utility. That is because ActiveState uses Visual C++ to compile Perl. To install "Inline.pm" (or any other CPAN module) on MSWin32 w/ Visual C++, use these: perl Makefile.PL nmake nmake test nmake install Inline has also been made to work with Mingw32/gcc on all Windows platforms. This is a free compiler for Windows. You must also use a perl built with that compiler. The "Cygwin" test was done on a Windows 98 machine using the Cygwin Unix/Win32 porting layer software from Cygnus. The "perl" binary on this machine was also compiled using the Cygwin tool set ("gcc"). This software is freely available from http://sources.redhat.com/cygwin/ If you get Inline to work on a new platform, please send me email email. If it doesn't work, let me know as well and I'll see what can be done. SEE ALSO
For general information about Inline see Inline. For information about using Inline with C see Inline::C. For sample programs using Inline with C see Inline::C-Cookbook. For information on writing your own Inline Language Support Module, see Inline-API. Inline's mailing list is inline@perl.org To subscribe, send email to inline-subscribe@perl.org AUTHOR
Brian Ingerson <INGY@cpan.org> COPYRIGHT
Copyright (c) 2000-2002. Brian Ingerson. Copyright (c) 2008, 2010, 2011. Sisyphus. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.18.2 2012-11-19 Inline-Support(3)