Processed: Re: Bug#829591: hurd: pseudoterminal hangs when I press ^O (flush)

2016-07-07 Thread Debian Bug Tracking System
Processing control commands:

> retitle -1 term should clear discard-output flag in more situations
Bug #829591 [hurd] hurd: should clear discard-output flag when pseudoterminal 
is destroyed
Changed Bug title to 'term should clear discard-output flag in more situations' 
from 'hurd: should clear discard-output flag when pseudoterminal is destroyed'.

-- 
829591: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829591
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#829591: hurd: pseudoterminal hangs when I press ^O (flush)

2016-07-07 Thread Kalle Olavi Niemitalo
Control: retitle -1 term should clear discard-output flag in more situations

Although the FreeBSD manual page for termios(4)
https://www.freebsd.org/cgi/man.cgi?query=termios=0=4=FreeBSD+10.3-RELEASE+and+Ports=default=html
documents the DISCARD key, the kernel doesn't appear to implement it:
https://svnweb.freebsd.org/base/stable/10/sys/kern/tty_ttydisc.c?revision=256281=markup#l897
There, the ttydisc_rint function recognizes VLNEXT but not VDISCARD.

In contrast, NetBSD implements DISCARD:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/kern/tty.c?rev=1.271=text/x-cvsweb-markup_with_tag=MAIN
There, the ttyinput_wlock function recognizes VDISCARD and toggles
the FLUSHO flag.  This flag is also cleared in several more places:
* At the end of ttyinput_wlock, except in these cases:
  - a break, parity error, or a framing error was ignored
  - the DISCARD or STOP character was just received
  - output remains suspended with STOP.
* In the ttioctl function, if the TIOCSTART ioctl is used.
* In the ttioctl function, if the TIOCSETA, TIOCSETAW, or
  TIOCSETAF ioctl is used.  It actually copies the flag from
  the FLUSHO bit of termios::c_lflag.
* In the ttyrub function, if the ECHO flag is set and the EXTPROC
  flag is not set.  This function is called when a previously
  typed character needs to be deleted.
* In the ttyecho function, unless it's being called because the
  user pressed the TAB key.

The term translator should thus be changed:
* Clear the discard-output flag when the user types almost any
  other character, like the glibc documentation said.
* Clear the discard-output flag when TIOCSTART is used.
  This is term/users.c (S_tioctl_tiocstart), I believe.
* Copy the discard-output flag from the FLUSHO bit of
  termios::c_lflag, when TIOCSETA, TIOCSETAW, or TIOCSETAF is
  used.  This is term/users.c (set_state), I believe.  The GNU C
  Library already defines FLUSHO in both  and
  .

With those changes, I think my previous open_hook patch would
no longer be necessary because sshd would call tcsetattr without
FLUSHO and thereby clear the flag.



Bug#829591: hurd: pseudoterminal hangs when I press ^O (flush)

2016-07-07 Thread Samuel Thibault
Hello,

Kalle Olavi Niemitalo, on Thu 07 Jul 2016 23:32:19 +0300, wrote:
> I patched term/users.c (open_hook) so it clears the FLUSH_OUTPUT
> flag if the tty was not already open.

There again, such few-lines change is not copyrightable, and thus
doesn't need copyright assignment.

Samuel



Bug#829591: hurd: pseudoterminal hangs when I press ^O (flush)

2016-07-07 Thread Kalle Olavi Niemitalo
I patched term/users.c (open_hook) so it clears the FLUSH_OUTPUT
flag if the tty was not already open.

I built hurd from commit bc170131016969f1d79409337833046ae1f4501b
(2016-06-14 "pfinet: fix memory leak") + the following changes:

* debian/patches/exec_filename_*.patch from the Debian hurd
  1:0.8.git20160522-4 sources, for https://savannah.gnu.org/bugs/?28934
* term/users.c change described above
* trans/streamio.c change for https://savannah.gnu.org/bugs/?48371
* libpipe/pipe.c change for https://savannah.gnu.org/bugs/?48372

I installed /hurd/exec, /hurd/exec.static, /hurd/ext2fs,
/hurd/ext2fs.static, /hurd/fifo, /hurd/new-fifo, /hurd/pflocal,
/hurd/streamio, /hurd/term, /lib/i386-gnu/libpipe.a, and
/lib/i386-gnu/libpipe.so.0.3.  Then rebooted.

To test the change, I connected to the Hurd VM via SSH and got
/dev/ttyp0.  Then ran cat, typed abc, pressed ^O, typed def
(which did not appear), killed the ssh client, and connected
again.  The motd and the shell prompt appeared OK, and the tty
command showed that this was /dev/ttyp0 again.

I also built vim-7.4.1829 and ran its test suite, which passed.



Transporte de Carga - Alquiler de Maquinaria de Construcción y Grúas

2016-07-07 Thread Logisven - Coordinación Logística y Alquiler de Grúas
 

estimados srs. 


 

queremos presentarle nuestra organización y tener la posibilidad de 
convertirnos en proveedores de logística de su empresa.

nuestros principales servicios son:

  coordinación logística a nivel nacional e internacional
  coordinación de carga suelta en gandolas
  contenedores desde los 4 principales puertos.
  alquiler de grúas telescópicas.

el siguiente es un vínculo por el cual puede proceder a descargar la 
presentación de nuestra empresa
  [1] logisven-presentacion-comercial.pdf
esperando su pronta respuesta y así crear un vínculo comercial de largo plazo 
entre nuestras organizaciones.

un cordial saludo,

luis gonzalez
presidente

  [2] merca...@logisven.com
  [3] www.logisven.com 

logisven - coordinación logística y gruas
caracas, maracaibo, barquisimeto, san cristóbal, pto. cabello, 
valencia, maracay, valles del tuy, la guaira, pto. la cruz,
guanta, pto. ordaz , san antonio, paraguachón

nuestros servicios
 

 [4]

 

 

 

 
dear  ,

lorem ipsum dolor sit amet consectetuer nulla urna porttitor eget aliquam vel 
placerat feugiat orci. phasellus tellus pede pulvinar et scelerisque a tempor a 
velit. morbi feugiat. etiam ut elit ac metus facilisis fermentum.

¿ quienes somos?

somos una empresa con gran experiencia y trayectoria en logística en venezuela

contáctenos
www.logisven.com
     merca...@logisven.com

vinculos
 [5] misión y visión

  [6] nuestro modelo de negocio

  [7] cobertura geográfica

 

  [8] solicitud


 References:

1. u=64c2f76
2. mailto:merca...@logisven.com
3. u=64c2f77
4. u=64c2f78
5. u=64c2f79
6. u=64c2f7a
7. u=64c2f7b
8. u=64c2f7c


Still Failing: g-i-installation_debian_sid_daily_hurd_lxde/189

2016-07-07 Thread jenkins
See 
https://jenkins.debian.net/job/g-i-installation_debian_sid_daily_hurd_lxde/189/ 
and 
https://jenkins.debian.net/job/g-i-installation_debian_sid_daily_hurd_lxde/189//console
 and 
https://jenkins.debian.net/job/g-i-installation_debian_sid_daily_hurd_lxde/189//artifact/results/
 if there are any.