RE: cygwin bash profile / Windows ME

2004-02-23 Thread John Morrison
Thanks Sandro, I've made a slight change to your suggestion, > From: Sandro Bonazzola > > Under Windows ME the 'uname -s' command reports: "CYGWIN_ME-4.90". > The /etc/profile file says: > CYGWIN_9?-* | CYGWIN_ME-*) PRINTER="`regtool -q get '\config\System\CurrentControlSet\Control\Print

cygwin bash profile / Windows ME

2004-02-22 Thread Sandro Bonazzola
Under Windows ME the 'uname -s' command reports: "CYGWIN_ME-4.90". The /etc/profile file says: # Define default printer case "`uname -s`" in CYGWIN_NT-*) PRINTER="`regtool -q get '\user\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device' | sed 's/,.*$//'`" ;; CYGWIN_9?-*)