RE: Non-US keyboard (PT) bash problem

2004-12-17 Thread Lino Miguel Martins Tinoco
The --show-control-chars flag worked fine and I've created a new alias for ls. 
The set solution doesn´t work, I've already tried it before.

Also tried to export this variables (have them on my ~/.profile):

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
export LANG LC_ALL LANGUAGE LC_TYPE LC_CTYPE OUTPUT_CHARSET


[EMAIL PROTECTED] is defined in /usr/share/locale/locale.alias as:

portuguese  pt_PT.ISO-8859-1
pt_PT   pt_PT.ISO-8859-1
[EMAIL PROTECTED]  pt_PT.ISO-8859-15
[EMAIL PROTECTED]  pt_PT.ISO-8859-15


And in /usr/X11R6/lib/X11/locale/locale.alias I have:

pt  pt_PT.ISO8859-1
pt_PT   pt_PT.ISO8859-1
pt_PT.88591 pt_PT.ISO8859-1
pt_PT.88591.en  pt_PT.ISO8859-1
pt_PT.iso88591  pt_PT.ISO8859-1
pt_PT.ISO-8859-1pt_PT.ISO8859-1
pt_PT.ISO_8859-1pt_PT.ISO8859-1
pt_PT.iso885915 pt_PT.ISO8859-15
pt_PT.iso-885915pt_PT.ISO8859-15
pt_PT.ISO-8859-15   pt_PT.ISO8859-15
pt_PT.ISO8859-15pt_PT.ISO8859-15
[EMAIL PROTECTED]  pt_PT.ISO8859-15
[EMAIL PROTECTED]  pt_PT.ISO8859-15
pt_PT.utfO  pt_PT.UTF-8
[EMAIL PROTECTED]pt_PT.UTF-8


On /usr/X11R6/lib/X11/locale/locale.dir I also have these 2 lines:

iso8859-1/XLC_LOCALE:   pt_PT.ISO8859-1
iso8859-15/XLC_LOCALE:  pt_PT.ISO8859-15


Still those special characters get displayed as an octal value. This is na 
exaple of what I'm saying:

[EMAIL PROTECTED] ~/My Documents# cd Programa\347\343o/
[EMAIL PROTECTED] ~/My Documents/Programação# 


Thanks,

--Tinoco

--
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: Non-US keyboard (PT) bash problem

2004-12-17 Thread Lino Miguel Martins Tinoco
My ~/.inputrc has all the set you mentioned:

[EMAIL PROTECTED] ~# cat .inputrc 
set meta-flag on
set convert-meta off # to show it as character, not the octal representation
set input-meta on
set output-meta on # to show 8-bit characters

# Mappings para teclado PT
#"\M-g": "ç"
#"\M-G": "Ç"
[EMAIL PROTECTED] ~# 


And bind -V gives:

blink-matching-paren is set to `on'
byte-oriented is set to `on'
completion-ignore-case is set to `off'
convert-meta is set to `off'
disable-completion is set to `off'
enable-keypad is set to `off'
expand-tilde is set to `off'
history-preserve-point is set to `off'
horizontal-scroll-mode is set to `off'
input-meta is set to `on'
mark-directories is set to `on'
mark-modified-lines is set to `off'
mark-symlinked-directories is set to `off'
match-hidden-files is set to `on'
meta-flag is set to `on'
output-meta is set to `off'
page-completions is set to `on'
prefer-visible-bell is set to `on'
print-completions-horizontally is set to `off'
show-all-if-ambiguous is set to `off'
visible-stats is set to `off'
bell-style is set to `audible'
comment-begin is set to `#'
completion-query-items is set to `100'
editing-mode is set to `emacs'
keymap is set to `emacs'


I tried with set meta-flag on and off, the results are the same.

Thanks,

--Tinoco

--
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: Non-US keyboard (PT) bash problem

2004-12-17 Thread Lino Miguel Martins Tinoco
Looking closely to the output of bind -V I found that output-meta is
off. I tried a few things and the problem was the comment after the 'set
output-meta on'. After clearing the comment, it went as expected.

Thanks for the tips and help, and sorry for the trouble (it was all my
fault).

--Tinoco

--
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/



Ported PING

2005-01-13 Thread Lino Miguel Martins Tinoco
Hi!

I've managed to port and compile the original ping code and a version
with a bit more statistical info (with median and and .0 precision on
the percentage of lost packets). I've also a package that compiles and
installs them.

Does it has any interest for anyone?

--Lino Tinoco 

--
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: Ported PING

2005-01-17 Thread Lino Miguel Martins Tinoco
Nope, sorry. It's a port of the first version of ping. The minimum
response time presented is 1ms. Less than that you'll get 0ms. I'ts ok
for checking conectivity and delay on slower links (or a far, far away
host on internet :)) but not that good on fast links.

--Lino Tinoco


Lino Miguel Martins Tinoco wrote:
> I've managed to port and compile the original ping code and a version 
> with a bit more statistical info (with median and and .0 precision on 
> the percentage of lost packets). I've also a package that compiles and

> installs them.

Does it give the improved "time precision" some of Cygwin funzions
benefit?


--
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: bash not functional on laptop with wireless (VPN) Connection

2005-01-20 Thread Lino Miguel Martins Tinoco
Cisco VPN Client has a built-in firewall. Open VPN Client and uncheck
Options -> Stateful Firewall (Always On).

HTW,
--Lino Tinoco

--
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: 1.0-1: ping problem

2005-01-28 Thread Lino Miguel Martins Tinoco
Jason FU wrote:

> $ ping www.cygwin.com
> PING www.cygwin.com (12.107.209.250): 56 data bytes
> sendto: Operation not permitted
> ping: wrote www.cygwin.com 64 chars, ret=-1
> ping: recvfrom: Invalid argument
> ping: recvfrom: Invalid argument
> ...

It seems the packet is assembled but it cannot be sent. Have you any
firewall installed? If so, shut down the firewall and test again.

--Lino Tinoco

--
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/