Re: OpenBSD -current Xterm cyrillic problem

2009-10-17 Thread Christian Weisgerber
Christian Weisgerber na...@mips.inka.de wrote:

  Warning: could not change ownership of tty -- pty is insecure!
 
 Yes, luit(1) needs to be fixed to use openpty(3).

have fixed this during p2k9.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



Re: OpenBSD -current Xterm cyrillic problem

2009-10-05 Thread Christian Weisgerber
niko...@fastmail.net wrote:

 I am running openbsd -current (the new installer is great :) ).
 X11 worked out of the box, i added only Cyrillic fonts and 
 Xkb keyboard layout switching.
 
 Locale is set with LC_CTYPE=ru_RU.KOI8-R in /etc/profile.

Given OpenBSD's close-to-nonexistent locale support, you may be better
off with xterm -en KOI8-R.

 With this setting Xterm starts with:
 Warning: could not change ownership of tty -- pty is insecure!

Yes, luit(1) needs to be fixed to use openpty(3).  I've wanted to
look into this for some time, but haven't gotten around to it.

-- 
Christian naddy Weisgerber  na...@mips.inka.de



OpenBSD -current Xterm cyrillic problem

2009-10-03 Thread nikolay
Hi everyone,
I am running openbsd -current (the new installer is great :) ).
X11 worked out of the box, i added only Cyrillic fonts and 
Xkb keyboard layout switching.

Locale is set with LC_CTYPE=ru_RU.KOI8-R in /etc/profile.

Cyrillic works great in Firefox35.

Xterm however does not show any Cyrillic letters.

With this setting Xterm starts with:
Warning: could not change ownership of tty -- pty is insecure!

Below is the xorg.conf .
I am using the default fvwm.

And the question is how to get Cyrillic displayed in Xterm and X11 in
general.


$ cat /etc/X11/xorg.conf 
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/OTF
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/cyrillic/
EndSection

Section Module
Load  dbe
Load  dri
Load  dri2
Load  extmod
Load  glx
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModelpc105
Option  XkbLayout   us,ru(winkeys)
Option  XkbOptions  grp_led:scroll,grp:ctrl_shift_toggle
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol wsmouse
Option  Device /dev/wsmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
#DisplaySize  520   330 # mm
Identifier   Monitor0
VendorName   ENC
ModelNameCG241W
HorizSync31.0 - 76.0
VertRefresh  59.0 - 61.0
Option  DPMS
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option Dac6Bit   # [bool]
#Option Dac8Bit   # [bool]
#Option BusType   # [str]
#Option CPPIOMode # [bool]
#Option CPusecTimeout # i
#Option AGPMode   # i
#Option AGPFastWrite  # [bool]
#Option AGPSize   # i
#Option GARTSize  # i
#Option RingSize  # i
#Option BufferSize# i
#Option EnableDepthMoves  # [bool]
#Option EnablePageFlip# [bool]
#Option NoBackBuffer  # [bool]
#Option DMAForXv  # [bool]
#Option FBTexPercent  # i
#Option DepthBits # i
#Option PCIAPERSize   # i
#Option AccelDFS  # [bool]
#Option IgnoreEDID# [bool]
#Option DisplayPriority   # [str]
#Option PanelSize # [str]
#Option ForceMinDotClock  # freq
#Option ColorTiling   # [bool]
#Option VideoKey  # i
#Option RageTheatreCrystal# i
#Option RageTheatreTunerPort  # i
#Option RageTheatreCompositePort  # i
#Option RageTheatreSVideoPort # i
#Option TunerType # i
#Option RageTheatreMicrocPath # str
#Option RageTheatreMicrocType # str
#Option ScalerWidth   # i
#Option RenderAccel   # [bool]
#Option SubPixelOrder # [str]
#Option ShowCache # [bool]
#Option DynamicClocks # [bool]
#Option VGAAccess # [bool]
#Option ReverseDDC# [bool]
#Option LVDSProbePLL  # [bool]
#Option AccelMethod   # str
#Option DRI   # [bool]
#Option ConnectorTable# str
#Option DefaultConnectorTable # [bool]
#Option DefaultTMDSPLL# [bool]
#Option TVDACLoadDetect   # [bool]
#Option ForceTVOut# [bool]
#Option TVStandard# str
#Option IgnoreLidStatus   # [bool]
#Option 

Re: OpenBSD -current Xterm cyrillic problem

2009-10-03 Thread Buzzer
pO DANNYM RADIOPEREHWATA OT  3-Oct-2009 05:05, niko...@fastmail.net
BYL ZAME^EN W \FIRE, NA ^ASTOTE misc, S TAKIM SOOB]ENIEM:

 Locale is set with LC_CTYPE=ru_RU.KOI8-R in /etc/profile.
 
 Cyrillic works great in Firefox35.
 
 Xterm however does not show any Cyrillic letters.
 
 With this setting Xterm starts with:
 Warning: could not change ownership of tty -- pty is insecure!

I have no problem with cyrillic, but have the same message on start
xterm.

1) In ~/.Xdefaults try to set
XTerm*locale: true
XTerm*allowC1Printable: true
xterm*faceName: Andale Mono

Hope this help.

2) Read the thread 'Cyrillic fonts in X Window'.

-- 
/Buzzer () KAMPANIQ ascii ribbon - PROTIW PISEM W html FORMATE
/\ www.asciiribbon.org   - PROTIW PROPRIETARNYH WLOVENIJ