public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: line drawing chars in Midnight Commander
@ 2002-07-10  6:21 BStrohhaecker
  2002-07-10  6:27 ` Tony Arnold
  0 siblings, 1 reply; 10+ messages in thread
From: BStrohhaecker @ 2002-07-10  6:21 UTC (permalink / raw)
  To: cygwin; +Cc: cygwin

Von: Pavel Tsekov [mailto:ptsekov@syntrex.com]
Gesendet: Mittwoch, 10. Juli 2002 14:09

> BHHc> HowTo display line drawing chars in mc ?
> 
> BHHc> In a normal shell it looks like I would get ANSI- not ASCII-chars.
> 
> Add 'codepage:oem' (without quotes) to your CYGWIN variable.

Works fine, thanks a lot

Bernd

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: line drawing chars in Midnight Commander
  2002-07-10  6:21 line drawing chars in Midnight Commander BStrohhaecker
@ 2002-07-10  6:27 ` Tony Arnold
  2002-07-10  7:48   ` Re[2]: " Pavel Tsekov
  0 siblings, 1 reply; 10+ messages in thread
From: Tony Arnold @ 2002-07-10  6:27 UTC (permalink / raw)
  To: cygwin; +Cc: cygwin

This does not work for me when using rxvt, only when using a cmd prompt
window. I'm running XP.

Is there a particular font I should be using in rxvt for the line
drawing characters to work properly?

Regards,
Tony.

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com] On Behalf Of 
> BStrohhaecker@Hueller-Hille.com
> Sent: 10 July 2002 13:31
> To: cygwin@cygwin.com
> Cc: cygwin@cygwin.com
> Subject: Re: line drawing chars in Midnight Commander
> 
> 
> Von: Pavel Tsekov [mailto:ptsekov@syntrex.com]
> Gesendet: Mittwoch, 10. Juli 2002 14:09
> 
> > BHHc> HowTo display line drawing chars in mc ?
> > 
> > BHHc> In a normal shell it looks like I would get ANSI- not 
> > BHHc> ASCII-chars.
> > 
> > Add 'codepage:oem' (without quotes) to your CYGWIN variable.
> 
> Works fine, thanks a lot
> 
> Bernd
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[2]: line drawing chars in Midnight Commander
  2002-07-10  6:27 ` Tony Arnold
@ 2002-07-10  7:48   ` Pavel Tsekov
  2002-07-10  8:19     ` Tony Arnold
  2002-07-10  9:36     ` rotaiv
  0 siblings, 2 replies; 10+ messages in thread
From: Pavel Tsekov @ 2002-07-10  7:48 UTC (permalink / raw)
  To: Tony Arnold; +Cc: cygwin, BStrohhaecker

Hello Tony,

Wednesday, July 10, 2002, 2:49:26 PM, you wrote:

TA> This does not work for me when using rxvt, only when using a cmd prompt
TA> window. I'm running XP.

TA> Is there a particular font I should be using in rxvt for the line
TA> drawing characters to work properly?

Check this: http://www.cygwin.com/ml/cygwin/2002-01/msg00523.html

I verified that MC looks ok if you follow the steps described above.
NOTE: For me setting the TERM variable to 'rxvt-cygwin-native' is required.

Btw the link to the font has changed since the original post -
now it is: http://www.neuro.gatech.edu/users/cwilson/cygutils/bashprompt/luconP.zip

P.S. Thanks, Charles! :))


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Re[2]: line drawing chars in Midnight Commander
  2002-07-10  7:48   ` Re[2]: " Pavel Tsekov
@ 2002-07-10  8:19     ` Tony Arnold
  2002-07-10  9:36     ` rotaiv
  1 sibling, 0 replies; 10+ messages in thread
From: Tony Arnold @ 2002-07-10  8:19 UTC (permalink / raw)
  To: cygwin

Many thanks for this advice. It now works! I was missing the correct
setting of the TERM variable.

Regards,
Tony.

> Wednesday, July 10, 2002, 2:49:26 PM, you wrote:
> 
> TA> This does not work for me when using rxvt, only when using a cmd 
> TA> prompt window. I'm running XP.
> 
> TA> Is there a particular font I should be using in rxvt for the line 
> TA> drawing characters to work properly?
> 
> Check this: http://www.cygwin.com/ml/cygwin/2002-01/msg00523.html
> 
> I verified that MC looks ok if you follow the steps described above.
> NOTE: For me setting the TERM variable to 
> 'rxvt-cygwin-native' is required.
> 
> Btw the link to the font has changed since the original post 
> - now it is: 
> http://www.neuro.gatech.edu/users/cwilson/cygutils/bashprompt/
luconP.zip

P.S. Thanks, Charles! :))


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[2]: line drawing chars in Midnight Commander
  2002-07-10  7:48   ` Re[2]: " Pavel Tsekov
  2002-07-10  8:19     ` Tony Arnold
@ 2002-07-10  9:36     ` rotaiv
  2002-07-10  9:38       ` Re[3]: " Pavel Tsekov
  1 sibling, 1 reply; 10+ messages in thread
From: rotaiv @ 2002-07-10  9:36 UTC (permalink / raw)
  To: cygwin

At 7/10/2002  10:18 AM, Pavel Tsekov wrote:

>Check this: http://www.cygwin.com/ml/cygwin/2002-01/msg00523.html
>
>I verified that MC looks ok if you follow the steps described above.
>NOTE: For me setting the TERM variable to 'rxvt-cygwin-native' is required.

I downloaded the Lucinda font and set the variables as suggested but rxvt 
is still displaying the incorrect line draw characters with mc on my XP Pro 
machine.  Here is my cygwin.bat file:

set term=rxvt-cygwin-native
set cygwin=binmode ntsec tty codepage:oem
rxvt -sr -sl 9999 -fn "Lucida ConsoleP-14" -bg black -fg grey -e bash --login

Is there something else I need to do?  If use puTTY and SSH to my machine 
mc works just fine.

Regards,

rotaiv



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[3]: line drawing chars in Midnight Commander
  2002-07-10  9:36     ` rotaiv
@ 2002-07-10  9:38       ` Pavel Tsekov
  2002-07-10  9:49         ` rotaiv
  0 siblings, 1 reply; 10+ messages in thread
From: Pavel Tsekov @ 2002-07-10  9:38 UTC (permalink / raw)
  To: rotaiv; +Cc: cygwin

Hello rotaiv,

Wednesday, July 10, 2002, 6:03:41 PM, you wrote:

r> I downloaded the Lucinda font and set the variables as suggested but rxvt
r> is still displaying the incorrect line draw characters with mc on my XP Pro 
r> machine.  Here is my cygwin.bat file:

r> set term=rxvt-cygwin-native
r> set cygwin=binmode ntsec tty codepage:oem

Use CYGWIN and TERM instead. Btw rxvt does not read the TERM variable
- at least it seem so.

r> rxvt -sr -sl 9999 -fn "Lucida ConsoleP-14" -bg black -fg grey -e bash --login

Add '-tn rxvt-cygwin-native' option to the rxvt command line.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[3]: line drawing chars in Midnight Commander
  2002-07-10  9:38       ` Re[3]: " Pavel Tsekov
@ 2002-07-10  9:49         ` rotaiv
  2002-07-10 10:40           ` Re[4]: " Pavel Tsekov
  0 siblings, 1 reply; 10+ messages in thread
From: rotaiv @ 2002-07-10  9:49 UTC (permalink / raw)
  To: Pavel Tsekov

Pavel,

It still does not work - here is what I have now in my CYGWIN.BAT file:

set TERM=rxvt-cygwin-native
set CYGWIN=binmode ntsec tty codepage:oem
rxvt -sr -sl 9999 -fn "Lucida ConsoleP-14" -tn rxvt-cygwin-native -bg black 
-fg grey -e bash --login

Here is a directory listeing my font file:

    Directory of C:\WINDOWS\Fonts
    02/07/2000  01:27 AM           116,336 luconP.ttf

When I double click on the font file, I get the following information:

    OpenType Font, Digitally Signed, TrueType Outlines
    Typeface name: Lucida ConsoleP
    File size: 114 KB
    Version: Version 1.60
    Copyright © 1993 Bigelow & Holmes Inc. All rights reserved.

Do you have any other suggestions on what I could try?

rotaiv


At 7/10/2002  12:11 PM, Pavel Tsekov wrote:

>Hello rotaiv,
>
>Wednesday, July 10, 2002, 6:03:41 PM, you wrote:
>
>r> I downloaded the Lucinda font and set the variables as suggested but rxvt
>r> is still displaying the incorrect line draw characters with mc on my XP 
>Pro
>r> machine.  Here is my cygwin.bat file:
>
>r> set term=rxvt-cygwin-native
>r> set cygwin=binmode ntsec tty codepage:oem
>
>Use CYGWIN and TERM instead. Btw rxvt does not read the TERM variable
>- at least it seem so.
>
>r> rxvt -sr -sl 9999 -fn "Lucida ConsoleP-14" -bg black -fg grey -e bash 
>--login
>
>Add '-tn rxvt-cygwin-native' option to the rxvt command line.
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re[4]: line drawing chars in Midnight Commander
  2002-07-10  9:49         ` rotaiv
@ 2002-07-10 10:40           ` Pavel Tsekov
  0 siblings, 0 replies; 10+ messages in thread
From: Pavel Tsekov @ 2002-07-10 10:40 UTC (permalink / raw)
  To: rotaiv; +Cc: cygwin

Hello rotaiv,

Wednesday, July 10, 2002, 6:23:16 PM, you wrote:

r> set TERM=rxvt-cygwin-native
r> set CYGWIN=binmode ntsec tty codepage:oem
r> rxvt -sr -sl 9999 -fn "Lucida ConsoleP-14" -tn rxvt-cygwin-native -bg black 
r> -fg grey -e bash --login

Just tried the command line here and it works fine.

r> Here is a directory listeing my font file:

r>     Directory of C:\WINDOWS\Fonts
r>     02/07/2000  01:27 AM           116,336 luconP.ttf

Have you just copied the file into the fonts directory ? If so, it is not
correct - you have to install the font.

Control Panel -> Fonts -> File menu -> Install new font


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: line drawing chars in Midnight Commander
  2002-07-10  5:36 BStrohhaecker
@ 2002-07-10  5:49 ` Pavel Tsekov
  0 siblings, 0 replies; 10+ messages in thread
From: Pavel Tsekov @ 2002-07-10  5:49 UTC (permalink / raw)
  To: BStrohhaecker; +Cc: cygwin

BHHc> HowTo display line drawing chars in mc ?

BHHc> In a normal shell it looks like I would get ANSI- not ASCII-chars.

Add 'codepage:oem' (without quotes) to your CYGWIN variable.

BHHc> In rxvt with an ASCII-font ('rxvt -fn "Lucida ConsoleP-14" ...') I get
BHHc> some other strange char's (looking like 'O' or '0').

I don't know about this - I will check and report back.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* line drawing chars in Midnight Commander
@ 2002-07-10  5:36 BStrohhaecker
  2002-07-10  5:49 ` Pavel Tsekov
  0 siblings, 1 reply; 10+ messages in thread
From: BStrohhaecker @ 2002-07-10  5:36 UTC (permalink / raw)
  To: cygwin

HowTo display line drawing chars in mc ?

In a normal shell it looks like I would get ANSI- not ASCII-chars.

In rxvt with an ASCII-font ('rxvt -fn "Lucida ConsoleP-14" ...') I get
some other strange char's (looking like 'O' or '0').

FWIW, in X, with both xterm and rxvt, mc works fine.

Bernd

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-07-10 16:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-10  6:21 line drawing chars in Midnight Commander BStrohhaecker
2002-07-10  6:27 ` Tony Arnold
2002-07-10  7:48   ` Re[2]: " Pavel Tsekov
2002-07-10  8:19     ` Tony Arnold
2002-07-10  9:36     ` rotaiv
2002-07-10  9:38       ` Re[3]: " Pavel Tsekov
2002-07-10  9:49         ` rotaiv
2002-07-10 10:40           ` Re[4]: " Pavel Tsekov
  -- strict thread matches above, loose matches on Subject: below --
2002-07-10  5:36 BStrohhaecker
2002-07-10  5:49 ` Pavel Tsekov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).