Re: Switching Default Text Type

2005-12-15 Thread Igor Pechtchanski
On Thu, 15 Dec 2005, Shankar Unni wrote:

> Lennart Borgman wrote:
> > What is the minimum sequence of operations needed to switch default
> > text type in Cygwin?
>
> mount -m > commands.sh
>
> # edit commands.sh, and change -t to -b or vice versa
>
> sh commands.sh

Or, in one shot:

Text->Binary:

eval "`mount -m | sed '/ -s /s/ -t / -b /'`"

Binary->Text:
eval "`mount -m | sed '/X11/!{/ -s /s/ -b / -t /}'`"

(See ).
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Switching Default Text Type

2005-12-15 Thread Shankar Unni

Lennart Borgman wrote:
What is the minimum sequence of operations needed to switch default text 
type in Cygwin?


mount -m > commands.sh

# edit commands.sh, and change -t to -b or vice versa

sh commands.sh


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Switching Default Text Type

2005-12-15 Thread Lennart Borgman

Lennart Borgman wrote:

What is the minimum sequence of operations needed to switch default 
text type in Cygwin? 


I answer myself here: It seems to me to be to start setup.exe and run it 
to its end. Maybe it would be good to make it a bit more clear?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Switching Default Text Type

2005-12-15 Thread Lennart Borgman
What is the minimum sequence of operations needed to switch default text 
type in Cygwin?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/