Differences From Artifact [a4f47e0136]:
- File unix/pty.c — part of check-in [889a957cfd] at 2002-10-15 08:07:18 on branch trunk — Introduce the ability to control whether the shell run in pterm is a login shell or not. Also moved these new pieces of configuration into the Config structure, though they won't stay there forever since they will need to be moved out into platform-dependent config. (user: simon size: 9644)
To Artifact [6f26c1a3c8]:
- File unix/pty.c — part of check-in [f47218505b] at 2002-10-15 10:16:21 on branch trunk — Don't forget to initialise the pixel size parameters of the window as passed to the pty... (user: simon size: 9772)
| ︙ | |||
398 399 400 401 402 403 404 405 406 407 408 409 410 411 | 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 | + + |
*/
static void pty_size(void)
{
struct winsize size;
size.ws_row = (unsigned short)rows;
size.ws_col = (unsigned short)cols;
size.ws_xpixel = (unsigned short) cols * font_dimension(0);
size.ws_ypixel = (unsigned short) rows * font_dimension(1);
ioctl(pty_master_fd, TIOCSWINSZ, (void *)&size);
return;
}
/*
* Send special codes.
*/
|
| ︙ |