On Wed 2022-10-19 (02:01), Backwoods BC wrote:
> On Tue, Oct 18, 2022 at 11:59 PM Ulli Horlacher
> wrote:
>
> >
> > With Linux I am using xclip to read the X11 clipboard.
> > Is there a cygwin equivalent to read the Windows clipboard?
>
> There are 2
With Linux I am using xclip to read the X11 clipboard.
Is there a cygwin equivalent to read the Windows clipboard?
My use case is:
The user copies file names to the clipboard and then starts a program
which processes these files.
--
Ullrich Horlacher Server und Virtualisierung
On Thu 2021-07-08 (16:46), Marco Atzeri via Cygwin wrote:
> On 08.07.2021 15:53, Ulli Horlacher wrote:
>
> > On Thu 2021-07-08 (13:13), Jon Turney wrote:
> >> On 08/07/2021 09:45, Ulli Horlacher wrote:
> >>
> >>> Is it possible from an inte
On Thu 2021-07-08 (13:13), Jon Turney wrote:
> You could possibly build something equivalent using 'cygcheck -p' and
> then processing it's output
This part was easy:
W10dev:/usr/local/bin: cygsearch ksh
Found 449 matches for ksh
kshisen-debuginfo-17.04.3-1 - kshisen-debuginfo: Debug info for
On Thu 2021-07-08 (13:13), Jon Turney wrote:
> On 08/07/2021 09:45, Ulli Horlacher wrote:
>
> > Is it possible from an interactive bash to search for cygwin packages (by
> > substring match) and install them?
> >
> > I tried "/setup-x86_64
Is it possible from an interactive bash to search for cygwin packages (by
substring match) and install them?
I tried "/setup-x86_64.exe -h" but cannot see any options for it.
In the past I used apt-cyg for this task, but it is depreciated and it
does not work any more.
--
Ullrich Horlacher
On Sun 2020-09-06 (19:11), Brian Inglis wrote:
> If using unattended (--quiet) mode, you have to specify everything else:
>
> $ ./setup-x86_64 -gq -R "$rootdir" -l "$pkgdir" -s $site
>
> otherwise try semi-attended (--package-manager) chooser-only mode:
>
> $ ./setup-x86_64 -gM -R
On Sun 2020-09-06 (19:11), Brian Inglis wrote:
> > cygstart /setup-x86_64.exe --quiet-mode
> >
> > But this does not upgrade my cygwin installation in my users windows home,
> > but does a new installation in c:\cygwin64
>
> Download:
>
> $ curl -OJR https://cygwin.com/setup-x86_64.exe
On Sun 2020-09-06 (16:27), Brian Inglis wrote:
> On 2020-09-06 16:11, Ulli Horlacher wrote:
>
> > I need an UNIX-alike update shell script, without clicky-pointy.
> > Is this a correct way:
> > apt-cyg update-setup
> > apt-cyg update
> > apt-cyg dist-upgrade
I need an UNIX-alike update shell script, without clicky-pointy.
Is this a correct way:
apt-cyg update-setup
apt-cyg update
apt-cyg dist-upgrade
?
I have testet it that way and it LOOKS ok, but maybe I am missing
something?
--
Ullrich Horlacher Server und Virtualisierung
On Sun 2020-09-06 (16:11), René Berber via Cygwin wrote:
> > I have installed cygwin with cygwin-portable-installer (recommendation
> > from this mailing-list). Everything seems fine, but when I run rsync I get:
> >
> > W10dev:~: rsync -h
> > C:/Users/admin/cygwin/bin/rsync.exe: error while
I have installed cygwin with cygwin-portable-installer (recommendation
from this mailing-list). Everything seems fine, but when I run rsync I get:
W10dev:~: rsync -h
C:/Users/admin/cygwin/bin/rsync.exe: error while loading shared libraries:
cyglz4-1.dll: cannot open shared object file: No
On Mon 2020-02-03 (18:01), BGINFO4X wrote:
> > > https://vegardit.github.io/cygwin-portable-installer/
> >
> > Looks great!
> >
> > But when running I get:
> >
> > (...)
> > Creating updater [C:\Users\admin\cygwin-portable-updater.cmd]...
> > Disabling default Cygwin launcher
On Sat 2020-02-01 (12:21), BGINFO4X wrote:
> What about something like this?
>
> https://vegardit.github.io/cygwin-portable-installer/
Looks great!
But when running I get:
(...)
Creating updater [C:\Users\admin\cygwin-portable-updater.cmd]...
Disabling default Cygwin launcher
On Fri 2020-01-31 (08:06), KARL BOTTS wrote:
>
> >>> Cygwin is totally portable! You can simply copy the installation folder to
> >>> another PC, copy the shortcut (edit target if needed) and it will work.
>
> >> How do you copy it?
> >> Which archive container do you use?
>
> I have been using
On Fri 2020-01-31 (13:54), Thomas Wolff wrote:
>
> On 31.01.2020 12:29, Ulli Horlacher wrote:
>
> > On Fri 2020-01-31 (11:24), Ulli Horlacher wrote:
> >
> >> On Mon 2020-01-20 (19:28), Brent Epp wrote:
> >>
> >>> Cygwin is totally po
On Fri 2020-01-31 (12:29), Ulli Horlacher wrote:
> > On Mon 2020-01-20 (19:28), Brent Epp wrote:
> >
> > > Cygwin is totally portable! You can simply copy the installation folder
> > > to
> > > another PC, copy the shortcut (edit target if needed) a
On Fri 2020-01-31 (11:24), Ulli Horlacher wrote:
> On Mon 2020-01-20 (19:28), Brent Epp wrote:
>
> > Cygwin is totally portable! You can simply copy the installation folder to
> > another PC, copy the shortcut (edit target if needed) and it will work.
>
> How do you
On Mon 2020-01-20 (19:28), Brent Epp wrote:
> Cygwin is totally portable! You can simply copy the installation folder to
> another PC, copy the shortcut (edit target if needed) and it will work.
How do you copy it?
Which archive container do you use?
I have tried it with:
/: cat zip.bat
cd
On Thu 2020-01-30 (12:26), Eric Blake wrote:
> > Are this directory hard links?
>
> No, rather they are parallel mount points (the same directory mounted
> under two different names).
/: mount
C:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin64/lib on /usr/lib type ntfs
(I am a UNIX senior admin, but have VERY few knowledge on Windows)
UNIX does not support hard links on directories (in opposite to Windows?).
I found:
/: uname -a
CYGWIN_NT-10.0 W10dev 3.1.2(0.340/5/3) 2019-12-21 15:25 x86_64 Cygwin
/: ls -ldi /bin /usr/bin
281474976929589 drwxr-xr-x+ 1 admin
On Fri 2019-12-13 (00:51), Jürgen Wagner wrote:
> - Run cygserver-config as an administrator.
~: cygserver-config
Generating /etc/cygserver.conf file
Warning: The following function requires administrator privileges!
Do you want to install cygserver as service?
(Say "no" if it's already
On Thu 2019-12-12 (17:06), L A Walsh wrote:
> On 2019/12/12 13:40, Eliot Moss wrote:
>
> > Ah! I think what you want is a tmpfs or ramfs.
> > Not sure if cygwin supports that ...
> >
>
> Easiest thing might be to use /dev/shm. I used it during
> development to store intermediate
On Fri 2019-12-13 (07:27), Jürgen Wagner wrote:
> And regarding the tmpfs (RAM disk) , you can use /dev/shm.
>
> # date > /dev/shm/key
> # cat /dev/shm/key
> Fri Dec 13 07:26:03 CET 2019
/dev/shm ist not a tmpfs on cygwin:
/dev/shm: df -TH /dev/shm
Filesystem Type Size Used Avail Use%
On Fri 2019-12-13 (00:03), Jürgen Wagner wrote:
> 1. You create a RAM disk
How do I do it with cygwin?
> 2. You encrypt the data with a ephemeral key
This is exactly what I want to share between processes!
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
On Thu 2019-12-12 (17:45), Erik Soderquist wrote:
> This is very hacky, but I believe you can get the effect you want by
> having an admin process auto-start at host startup, identify itself,
> and then set parts of its own /proc/ process ID tree as world
> read/write.
It is not possible to
On Thu 2019-12-12 (21:59), Buchbinder, Barry (NIH/NIAID) [E] via cygwin wrote:
> If the temp file was created by mktemp and the name saved in an
> environmental variable, each bash shell could have its own file with not
> risk that an instance of bash would erase another instance's file.
I need
On Thu 2019-12-12 (14:18), Eliot Moss wrote:
> > I need to store some data (a few kB) non-persistant.
> > On a real UNIX I would use /var/run, because after a shutdown all its
> > content is lost.
> > But on cygwin /var/run is stored on disk.
> >
> I would think of temp directories, such as
I need to store some data (a few kB) non-persistant.
On a real UNIX I would use /var/run, because after a shutdown all its
content is lost.
But on cygwin /var/run is stored on disk.
I cannot use an environment variable, because different processes need to
read/write the data.
/proc is
On Thu 2018-08-30 (15:55), Ulli Horlacher wrote:
> On Thu 2018-08-30 (11:43), Andrey Repin wrote:
>
> > > This script would run setup-x86_64.exe which asks a lot of questions
> > > (mirror site, proxy, installation directory, etc) in the first run.
> > &
On Thu 2018-08-30 (11:43), Andrey Repin wrote:
> > This script would run setup-x86_64.exe which asks a lot of questions
> > (mirror site, proxy, installation directory, etc) in the first run.
> > This will overcharge my users!
>
> setup --help
There is no command line option for "Choose A
On Sat 2018-07-14 (16:31), Achim Gratz wrote:
> > I have several 100 users, none of them is able to install cygwin and
> > the packages they need the official way, they are way to *CENSORED* for
> > this job :-}
>
> If they can follow your current instructions, they can surely start some
>
On Fri 2018-08-17 (20:28), Achim Gratz wrote:
> > This install script must first download the cygwin base package, install
> > it and then run setup with all needed cygwin packages.
> > But at the very beginning, I do not have a shell at all?
>
> Use either CMD or PowerShell as appropriate.
I
On Fri 2018-08-17 (12:29), john doe wrote:
> On 8/17/2018 12:01 PM, Ulli Horlacher wrote:
>
> > I need to run some scripts with full administrator rights (for chown,
> > chmod, setfacl).
> > Is there a cygwin equivalent to su or sudo?
> >
>
> https://stac
I need to run some scripts with full administrator rights (for chown,
chmod, setfacl).
Is there a cygwin equivalent to su or sudo?
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de
On Sat 2018-07-14 (16:31), Achim Gratz wrote:
> >> You have to install Cygwin, not "transfer".
> >
> > I have several 100 users, none of them is able to install cygwin and
> > the packages they need the official way, they are way to *CENSORED* for
> > this job :-}
>
> If they can follow your
On Mon 2018-07-09 (05:18), Andrey Repin wrote:
> > SIGH. I was hoping a 32 bit cygwin with 32 bit self compiled programs will
> > run on 64 bit Windows, too. But I was wrong.
> > Meanwhile I have 4 VMs:
> > Windows 32 bit with 32 bit cygwin
> > Windows 32 bit with 32 bit cygwin for compiling
> >
To resume my mail:
On Wed 2018-05-30 (12:57), Ulli Horlacher wrote:
>
> One of my Perl programs produces strange runtime errors on a Windows 7
> system (CYGWIN_NT-6.1 32bit) of my colleague:
>
> 0 [main] perl 4232 child_info_fork::abort: address space needed
>
On Fri 2018-06-08 (19:41), Andrey Repin wrote:
> >> 2.) Do a Cygwin build and copy cygwin1.dll
>
> > I already have a /usr/bin/cygwin1.dll on the Windows 8 target system.
>
> It's a wrong architecture. You need a 32-bit one for your 32-bit program.
>
> > Do I have to replace it?
>
> No.
>
I am really short of disk space and I am looking for files I can
delete without trouble.
/lib/debug/usr/bin/cygwin1.dbg has 24 MB. Does cygwin really need it or is
it just for debugging purposes, in which case I could delete it?
I already have deleted /usr/share/doc/gtk3/ChangeLog with 14 MB...
On Fri 2018-06-08 (09:34), cyg Simple wrote:
> On 6/8/2018 9:19 AM, Ulli Horlacher wrote:
>
> >
> > I have compiled the application with gcc from cygwin.
> > It runs without problems on Windows 7 32 bit but on Windows 8 64 bit it
> > does not output ANYTHIN
lready occupied
Can't fork, trying again in 5 seconds at /client/bin/fexsend line 106.
1 [main] perl 5484 child_info_fork::abort: address space needed
by 'Encode.dll' (0x37) is already occupied
Can't fork, trying again in 5 seconds at /client/bin/fexsend line 106.
See my mai
On Fri 2018-06-08 (09:37), cyg Simple wrote:
> On 6/8/2018 9:30 AM, Ulli Horlacher wrote:
>
> [-- TOFU entsorgt --]
>
> -^^
> THIS isn't 32bit Cygwin.
>
> You cannot run a 32bit Cygwin
On Fri 2018-06-08 (15:30), Ulli Horlacher wrote:
> Transfered to Windows 8 32 bit:
Sorry, typo! It is Windows 8 64 bit!
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de
Allmandring
On Wed 2018-06-06 (16:12), cyg Simple wrote:
> > On Windows 7 32 bit I have compiled some binaries by myself.
>
> Help us help you by giving us how you compiled these and with what set
> of tools.
jed comes with a BIG makefile.
When I start it, it outputs:
/sw/src/jed-0.99.20-116: make
cd src;
On Thu 2018-06-07 (01:04), Andrey Repin wrote:
> Then I'm at a loss to explain the behavior. If he ran ldd on the same system
> he had built it (and where it is running properly), then there's environmental
> conditions involved.
Windows 7 32 bit build system:
On Wed 2018-06-06 (20:49), Andrey Repin wrote:
> Greetings, Soegtrop, Michael!
>
> > Dear Ulli,
>
> > for MinGW (your ldd dump didn't include Cygwin dlls, so I assume you are
> > doing MinGW builds)
>
> It did not include cygwin1.dll because he ran ldd on a system, where that
> library was
On Wed 2018-06-06 (17:49), Marco Atzeri wrote:
> >> No, it's most likely (or should be, anyway) an XS library for the Encode
> >> module of Perl. The address it gets loaded to is awfully low, so it's
> >> either BLODA or you're using another library that's occupying the reabse
> >> space for
On Wed 2018-06-06 (19:02), Andrey Repin wrote:
> > On Windows 7 32 bit I have compiled some binaries by myself.
> > I can run them there but not on a Windows 8 64 bit: no (error) message,
> > nothing happens.
>
>
> > Do I have to install some 32 bit libs?
>
> Of course. Did you read the
On Mon 2018-06-04 (21:24), Achim Gratz wrote:
> Ulli Horlacher writes:
>
> > /client/bin is a directory which I have created.
> > It should not collide with anything.
>
> So what's in there, is in PATH etc. pp.
In /client/bin are my own programs, mostly Perl scripts
On Windows 7 32 bit I have compiled some binaries by myself.
I can run them there but not on a Windows 8 64 bit: no (error) message,
nothing happens.
admin@WIN-7T5P92ALEEB:/sw/cygwin-7_32/jed-0.99-20_116/bin: uname -a
CYGWIN_NT-6.3 WIN-7T5P92ALEEB 2.10.0(0.325/5/3) 2018-02-02 15:16 x86_64
On Wed 2018-05-30 (21:56), Achim Gratz wrote:
> Ulli Horlacher writes:
>
> > Line 106 in /client/bin/fexsend is:
>
> That path looks suspiciously like something not properly packaged for
> Cygwin. If so, it may use DLL that are not rebased and collide with
>
One of my Perl programs produces strange runtime errors on a Windows 7
system (CYGWIN_NT-6.1 32bit) of my colleague:
0 [main] perl 4232 child_info_fork::abort: address space needed
by 'Encode.dll' (0x37) is already occupied
Can't fork, trying again in 5 seconds at
On Thu 2018-05-03 (20:57), Brian Inglis wrote:
> On 2018-05-03 15:46, Ulli Horlacher wrote:
>
> > I need to know if a file is opened by another process, but there is no
> > lsof cygwin package.
> > Is there an alternative?
>
> Program fuser in package psmisc.
On Thu 2018-05-03 (11:36), Richard H Lee wrote:
> On 03/05/2018 10:35, Ulli Horlacher wrote:
>
> > Is there a similar service "tell me of new files in this directory tree"
> > in Windows which I can use instead?
>
> Windows does have its own file and directory w
I need to know if a file is opened by another process, but there is no
lsof cygwin package.
Is there an alternative?
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de
Allmandring 30a
I have written a program, which uses inotify(wait) to send new created or
modified files.
Since inotify is a Linux kernel service, my program does not run with
Cygwin.
Is there a similar service "tell me of new files in this directory tree"
in Windows which I can use instead?
--
Ullrich
On Thu 2018-03-29 (22:21), Marco Atzeri wrote:
> as it seems you have not done so, likely you have another
> ssh server than cygwin one running on your pc.
Late feedback: this was the case!
Thanks for the hint!
I have now disabled the foreign sshd, reinstalled cygwin openssh server,
opened port
On Fri 2018-04-20 (07:25), Brian Inglis wrote:
> Cygwin supports Windows ACLs as POSIX ACLs, which are also supported by
> Linux. Use setfacl to set similar default ACLs (DACLs) on a Linux
> directory, rerun your test there, and you should see similar results.
(How) can I completly remove ACLs
On Thu 2018-04-19 (17:28), Brian Inglis wrote:
> cygstart .../setup-x86 --quiet-mode ... && sleep 1 && kill -9 $$ $PPID
Ahh... cygstart does the trick! :-)
I was not aware of this helper program. Good to know!
--
Ullrich Horlacher Server und Virtualisierung
Rechenzentrum TIK
cygwin umask does not work as expected:
/tmp: uname -a; umask; rm -f zz; touch zz; ls -l zz
Linux diaspora 4.4.0-119-generic #143-Ubuntu SMP Mon Apr 2 16:08:24 UTC 2018
x86_64 x86_64 x86_64 GNU/Linux
0022
-rw-r--r-- 1 framstag users 0 Apr 20 12:00 zz
/tmp: uname -a; umask; rm -f zz; touch zz;
I have an update script which calls "setup-x86 --quiet-mode".
So far, this works great, but now it tries to install a new mintty.exe,
but one mintty still running (where I started setup-x86), so setup-x86
kills this process... and setup-x86.exe is killed, too, which resulted in
a damaged cygwin
On Tue 2018-04-17 (18:10), Achim Gratz wrote:
> Ulli Horlacher writes:
> > There is no information about the hardware (system platform)
>
> ls /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/HardwareConfig/Current/
/proc/registry/HKEY_LOCAL_MACHINE/SYSTEM: ls -l
total 0
dr-xr- 7
I want to start a cygwin program via a cmd batch script.
I have:
C:\cygwin>type runcmd.bat
@echo off
C:
chdir C:\cygwin\bin
bash --login -c "%*"
echo.
pause
But when I start it I get:
C:\cygwin>runcmd.bat xxx \cygwin\runcmd.bat
xxx: cannot read cygwinruncmd.bat
Press any key to continue
On Tue 2018-04-17 (12:49), Marco Atzeri wrote:
> > framstag@diaspora:~: sysinfo
> > System:Linux diaspora 4.4.0-119-generic x86_64
> > Distribution: Ubuntu 16.04.4 LTS
> > Hardware: FUJITSU ESPRIMO_P956
> > CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8 x 4000 MHz
> >
I want to port my sysinfo program to cygwin:
framstag@diaspora:~: sysinfo
System:Linux diaspora 4.4.0-119-generic x86_64
Distribution: Ubuntu 16.04.4 LTS
Hardware: FUJITSU ESPRIMO_P956
CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8 x 4000 MHz
RAM: 16213 MB
On Thu 2018-03-29 (13:00), Erik Soderquist wrote:
> On Thu, Mar 29, 2018 at 10:24 AM, Ulli Horlacher wrote:
>
> >
> > I have installed cygwin openssh and the sshd is running.
> > When I log in, I get a "DOS shell":
> >
> > ~: uname -a
> > CYGWIN
I have installed cygwin openssh and the sshd is running.
When I log in, I get a "DOS shell":
~: uname -a
CYGWIN_NT-6.1 WIN-LS0QDOSDIBL 2.10.0(0.325/5/3) 2018-02-02 15:21 i686 Cygwin
~: ssh localhost
admin@localhost's password:
C:\users\admin>
But I want bash as login shell. How can I
I am a new subscriber to this list.
I know https://cygwin.com/ml/cygwin/ but I prefer to have the list archive
locally in mbox format (for mutt).
If anybody has the mailing list in mbox format, he can send it to me via:
http://fex.rus.uni-stuttgart.de/fup?ukey=W3gb6KKf
Thanks in advance!
--
69 matches
Mail list logo