1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
|
[[!meta copyright="Copyright © 2012, 2013, 2014 Free Software Foundation,
Inc."]]
[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
[[!tag open_issue_documentation]]
[[!toc]]
# IRC, OFTC, #debian-hurd, 2012-09-24
<allesa> hello, I'm trying to get familiar with the Hurd and would like to
change the keyboard layout in use. It seems all the information I can
find (relating to console-driver-xkb) is out of date, with the latest
info relating to it being that this package should not be used anymore…
<allesa> does anyone know how changing keyboard layouts currently works?
<allesa> ah, never mind. I assume it doesn't currently work:
http://www.gnu.org/software/hurd/hurd/console.htmlq
<allesa> *http://www.gnu.org/software/hurd/hurd/console.html
<youpi> it does actually work
<youpi> simply dpkg-reconfigure keyboard-configuration
<youpi> and reboot
<youpi> (see http://www.debian.org/ports/hurd/hurd-install
<youpi> )
<allesa> mhm, I got that far — but selecting my layout gave me no joy, even
after restart. Seem to be stuck with the layout chosen during
installation (d-i). Just to check I'm using the right version — still on
the installer isos from 15 July?
<allesa> wait… progress is being made — slowly and subtly…
<allesa> Ok, so the XKBLAYOUT is changing as you described, but XKBVARIANT
seems to be ignored. Could this be right?
<youpi> yes, the hurd console only supports keymaps
<youpi> (currently)
<allesa> Ah OK, thanks for your help on this. I imagine this is not
something that just requires simple repetitive work, but some actual
hacking?
<allesa> to fix that is…
<youpi> some hacking yes
# IRC, freenode, #hurd, 2013-07-10
<pinotree> http://xkbcommon.org/ ¡û sounds interesting for our console
translator
# IRC, freenode, #hurd, 2013-10-01
[[!tag open_issue_hurd]]
<pinotree> teythoon_: df: `/dev/cons': Operation not supported
<pinotree> missing/stub implementation in the console translator?
## IRC, freenode, #hurd, 2013-10-02
<teythoon_> pinotree: yes, df does file_statfs which fails
# IRC, freenode, #hurd, 2013-10-22
<C-Keen> hello hurders! I happened to watch samuel's gnu hackers talk and
wanted to start to use the hurd more regularily. However I noticed that
when I use the preinstalled image, there seems to be some issue with the
console driver
<C-Keen> when I start emacs the mode line is drawn 3 times above the bottom
of the screen
<C-Keen> is this know or did I miss a step in setting it up? Or should I
use the debian installer and start from scratch again?
<youpi> C-Keen: it's probably unknown, and not an issue on your side. Did
you try to upgrade to the latest packages?
<C-Keen> youpi: doing that now
<C-Keen> my base image is debian-hurd-20130504.img
<youpi> still an issue with the latest packages indeed
<youpi> it seems emacs and the hurd console don't agree on the number of
lines...
<youpi> C-Keen: you can set TERM=vt100 to work around the issue
<C-Keen> ah alright.
<youpi> or TERM=linux
<C-Keen> youpi: can you start the emacs in X? I get an empty window here
<youpi> I never tried
<youpi> I never use emacs :)
<C-Keen> I see ;)
<youpi> it seems there's a bug in cud1 indeed
<C-Keen> what's cud1?
<youpi> see man 5 terminfo
<braunr> yes it's a terminfo problem
<braunr> the hurd console isn't well defined there
<youpi> braunr: actually it seems like a bug in emacs
<youpi> cud may or may not scroll the screen, depending on the
implementation
# IRC, freenode, #hurd, 2013-12-28
<braunr> ahem, looks like the last xkb-data package dropped
/usr/share/X11/xkb/compat/default :/
<ivanshmakov> braunr: Looks more like an upstream issue; check, e. g.,
http://cgit.freedesktop.org/xkeyboard-config/commit/?id=882f5470713d.
<ivanshmakov> braunr: Slightly more surprising is that xkb-data 2.8 was
packaged for Debian last Sunday. While the upstream has released 2.10.1
back in October, as per
http://www.x.org/releases/individual/data/xkeyboard-config/.
<gg0> ivanshmakov:
http://packages.qa.debian.org/x/xkeyboard-config/news/20131222T160519Z.html
<ivanshmakov> gg0: ACK, thanks. (No idea how did I read 2.10.1 as 2.8, as I
was looking on essentially the same information.)
## IRC, freenode, #hurd, 2013-12-30
<ZenWalker> on debian/hurd, with startx, show the error "cannot open
keyboard (no such file or directory)"
<braunr> ZenWalker: what version of xkb-data do you have ?
<ZenWalker> braunr: 2.10.1-1
<braunr> ZenWalker: there is a bug in that package
<braunr> you can confirm it by spotting an error during system startup that
mentions a missing "compat/default" file
<braunr> this prevents the hurd console from starting
<braunr> and without the hurd console, xorg can't find the input device
<braunr> hopefully it will be fixed soon
<ZenWalker> braunr: yes, "couldn't open include file "compat/default""
<ZenWalker> thanks
## IRC, freenode, #hurd, 2013-12-31
<braunr> youpi1: fyi, xkb-data doesn't provide compat/default, which
prevents the hurd console from starting
<ZenWalker> braunr: X works with xkb-data 2.5.1-3 :)
<braunr> maybe xkb-data isn't the problem
<braunr> maybe we need to fix the hurd-console
<braunr> youpi: we should probably fix the hurd with regard to xkb-data
before releasing the next packages
<braunr> it's very unlikely that xkb-data will be fixed
<braunr> they say compat/default is unused since march 2012
## IRC, freenode, #hurd, 2014-01-01
<DusXMT> Is anyone else having problems with the console?
<gg0> downgrade xkb-data to
http://snapshot.debian.org/package/xkeyboard-config/2.5.1-3/#xkb-data_2.5.1-3
<DusXMT> ty
## IRC, freenode, #hurd, 2014-01-04
<mihi> does anybody know if the fact that aptitude looks shitty on the hurd
console is a bug in the console implementation or some broken
term{cap,info} config?
<youpi> ncurses is pending a terminfo fix, possibly related
<youpi> you can try to recompile your hurd terminfo entry, adding xenl to
it, and see whether it fixes it
<mihi> hmm, just did an aptitude upgrade, and now after a restart the Hurd
console does not even start any more (did not mess with my terminfo yet)
<mihi> Couldn't open include file "compat/default"
<youpi> yes, xkb-data broke, downgrade it
<mihi> youpi, to which version?
<youpi> well, the previous one :)
<mihi> (or can aptitude or another tool show me what version I had
previously?)
<youpi> you can simply take the but-last on snapshot.debian.org
<mihi> youpi, thanks, that helped. And adding xenl to hurd.ti and
recompiling helped, too :)
## IRC, freenode, #hurd, 2014-01-13
<gnu_srs> Couldn't open include file "compat/default" from the console
<teythoon> that has been reported on the ml and as debian bug
<teythoon> a workaround is both in the upcoming hurd package as well as in
the ones i provide in hurd-ci
<gnu_srs> Any workaround for the hang in the console for now?
<teythoon> there is no hang
<teythoon> there is simply no getty
<gnu_srs> how come?
<gnu_srs> and the xkb-data problems I thought was causing problems with the
hurd console to start, not the mach console.
<teythoon> gnu_srs: exactly, the missing xkb data prevents your
hurd-console from running
# IRC, freenode, #hurd, 2014-02-05
<bu^> btw, does the console handle other keymaps than the qwerty US one ?
Samuel thibault talked about this during his fosdem conference
<braunr> it does
<braunr> check /etc/default/hurd-console
<bu^> how ? I mean which lib does it use, because I face a similar issue
with my programms and would like a "smart" way to handle this (meaning
not reimplement something doing it worse)
<bu^> thx
<braunr> bu^: xkb
<bu^> I'm not clear with xkb and how much it is related to xorg, I would
like to be xorg independant, but the hurd console also should be and it
seems to work
<youpi> bu^: xkb is just a library
<youpi> xorg uses it
<youpi> but other applications can use it
<youpi> it just happens to be maintained by x.org people
<bu^> oh ok, nice, I'll look at it
<bu^> we are talking about this one ?
http://www.x.org/releases/current/doc/libX11/XKB/xkblib.html
<youpi> yes
<bu^> btw the way special caracters like é or à breaks the backspace
(erase) key as it will not count properly the number of caracters on the
line
<bu^> and I end up with remaining caracters I can't erase
<bu^> I also started to look for this one but didn't find a proper way to
use it as a library http://www.kbd-project.org
<youpi> bu^: probably a bogus locale
<youpi> that just works for me
# IRC, freenode, #hurd, 2014-02-25
[[!tag open_issue_hurd]]
<gg0> to reproduce "task f5ca6e40 deallocating an invalid port 1711, most
probably a bug." just restart hurd-console
|