search for: tiocgwinsz

Displaying 20 results from an estimated 32 matches for "tiocgwinsz".

2009 May 15
3
[LLVMdev] [Cygwin] bug on SVN
.../workbench/lib/System/Unix/Process.inc: In function 'unsigned int g etColumns(int)': /home/ang/git/workbench/lib/System/Unix/Process.inc:209: error: aggregate 'winsi ze ws' has incomplete type and cannot be defined /home/ang/git/workbench/lib/System/Unix/Process.inc:210: error: 'TIOCGWINSZ' was not declared in this scope make[1]: *** [/home/ang/build/workbench/lib/System/Debug/Process.o] Error 1 make[1]: Leaving directory `/home/ang/build/workbench/lib/System' make: *** [all] Error 1 Having IOCTL.H does not seem to be a strict enough test for struct winsize'es presence....
2009 May 15
0
[LLVMdev] [Cygwin] bug on SVN
...n function > 'unsigned int g > etColumns(int)': > /home/ang/git/workbench/lib/System/Unix/Process.inc:209: error: > aggregate 'winsi > ze ws' has incomplete type and cannot be defined > /home/ang/git/workbench/lib/System/Unix/Process.inc:210: error: > 'TIOCGWINSZ' was > not declared in this scope > make[1]: *** [/home/ang/build/workbench/lib/System/Debug/Process.o] > Error 1 > make[1]: Leaving directory `/home/ang/build/workbench/lib/System' > make: *** [all] Error 1 > > Having IOCTL.H does not seem to be a strict enough test...
2009 May 15
5
[LLVMdev] [Cygwin] bug on SVN
...ystem/Unix/Process.inc: In function 'unsigned int g etColumns(int)': /home/ang/git/workbench/lib/System/Unix/Process.inc:209: error: aggregate 'winsi ze ws' has incomplete type and cannot be defined /home/ang/git/workbench/lib/System/Unix/Process.inc:210: error: 'TIOCGWINSZ' was not declared in this scope make[1]: *** [/home/ang/build/workbench/lib/System/Debug/Process.o] Error 1 make[1]: Leaving directory `/home/ang/build/workbench/lib/System' make: *** [all] Error 1 Having IOCTL.H does not seem to be a strict enough test for struct wins...
2002 Mar 08
0
[Bug 152] New: Build failure on Sparc/Solaris 2.8 with Sun cc or gcc
...f function `snprintf' ssh.c: In function `x11_get_proto': ssh.c:835: warning: implicit declaration of function `strlcpy' ssh.c: In function `ssh_session': ssh.c:898: storage size of `ws' isn't known ssh.c:936: warning: implicit declaration of function `ioctl' ssh.c:936: `TIOCGWINSZ' undeclared (first use in this function) ssh.c:936: (Each undeclared identifier is reported only once ssh.c:936: for each function it appears in.) ssh.c:898: warning: unused variable `ws' ssh.c: In function `ssh_session2_setup': ssh.c:1055: storage size of `ws' isn't known ssh.c...
2009 May 18
0
[LLVMdev] [Cygwin] bug on SVN
...nsigned int g >> etColumns(int)': >> /home/ang/git/workbench/lib/System/Unix/Process.inc:209: error: >> aggregate 'winsi >> ze ws' has incomplete type and cannot be defined >> /home/ang/git/workbench/lib/System/Unix/Process.inc:210: error: >> 'TIOCGWINSZ' was >> not declared in this scope >> make[1]: *** [/home/ang/build/workbench/lib/System/Debug/Process.o] >> Error 1 >> make[1]: Leaving directory `/home/ang/build/workbench/lib/System' >> make: *** [all] Error 1 >> >> Having IOCTL.H does not see...
2015 Aug 31
3
COLUMNS and LINES environment variables
Hello openssh developers, Instead of just playing nethack, I've been building a client that would log in to nethack at alt.org and using a pipe to get the login data from pwsafe directly onto the server. All of this works brilliantly after playing with some stty magic (full script in [0]), however, this way the terminal size is burned into 80x24, which is way smaller than my graphical
2013 May 15
2
FLAC currently won't compile for Android [bisected]
Felix Homann wrote: > Here are the warnings I get with 03a9e6064d406e3656afacdbe50e8e47ebfa0de3: It seems Android sys/param.h doesn't define MIN/MAX. Could you try to revert this commit on current master (or simply change line 35 of src/libFLAC/include/private/macros.h back to #if defined(__GNUC__) ) and recompile? Or possibly bisect 03a9e60..master to find out when the
2013 May 26
0
flac 1.3.0pre3 pre-release
...can-not-include-static-function-from-exte.patch Type: application/octet-stream Size: 847 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20130526/d6cc9a45/attachment.obj -------------- next part -------------- I found one more issue on Solaris 10 Sparc, where TIOCGWINSZ is defined in termios.h. Fortunately there is an autoconf-idiom for that as documented in http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fHEADER_005fTIOCGWINSZ-661 The following patch adds the functionality: -------------- next part -------------- A non-text attachment wa...
2002 May 01
3
scp 3.1p1 problem on Solaris
...tage: ... Received signal #14, SIGALRM, in write() [caught] write(7, " AF8 d >FF z y 9FF02 z x".., 8192) = 5120 ioctl(1, TIOCGSID, 0xFFBEDE34) = 0 getsid(0) = 508 ioctl(1, TIOCGPGRP, 0xFFBEDE9C) = 0 ioctl(1, TIOCGWINSZ, 0xFFBEDEF8) = 0 write(1, "\r p h p - 4 . 2 . 0 . t".., 80) = 80 sigaction(SIGALRM, 0xFFBEDFF8, 0xFFBEE078) = 0 alarm(1) = 0 setcontext(0xFFBEE1E8) ... Has anyone seens this before? Is openssh at fault here, or is it openss...
2013 Apr 07
2
flac 1.3.0pre3 pre-release
Dagobert Michelsen wrote: > Yes, C99 is on and according to B.2.18 from > http://docs.oracle.com/cd/E19205-01/819-5265/bjapp/index.html > also casual use. What does not work is the inclusion of a static function > from extern inline. It also does work if I declare bitwriter_grow_ also > as "inline". I actually think SUN/Oracle Studio is doing the wrong thing here as
2004 May 21
12
Hacked or not ?
...I'm not in that case. So I'm a little bit afraid and as a newbie I don't really know what to do.... I tried "truss ls" to find something strange and here are the outputs with something... suspicious for me: ioctl(1,TIOCGETA,0xbfbff534) = 0 (0x0) ioctl(1,TIOCGWINSZ,0xbfbff5a8) = 0 (0x0) getuid() = 0 (0x0) readlink("etc/malloc.conf",0xbfbff490,63) ERR#2 'No such file or directory' #SUSPICIOUS mmap(0x0,4096,0x3,0x1002,-1,0x0) = 671666176 (0x28...
2003 Oct 13
1
Problem in sftp 'ls' command output
...he culprit. We have first : -------- if (!(lflag & SHORT_VIEW)) { int m = 0, width = 80; struct winsize ws; /* Count entries for sort and find longest filename */ for (n = 0; d[n] != NULL; n++) m = MAX(m, strlen(d[n]->filename)); if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1) width = ws.ws_col; columns = width / (m + 2); columns = MAX(columns, 1); colspace = width / columns; } -------- which aims to compute the column width and column spacing. But when printing, a few lines below, we perform : -------- tmp = path_append(path,...
2006 Jun 06
1
Asterisk 1.2.7.1 bad file descriptor
...= 0 Asterisk Ready.[1;37;40mAsterisk Ready.\n", 27 ) = 27 write(1, "\33[0;37;40m", 10) = 10 rt_sigprocmask(SIG_UNBLOCK, [HUP INT PIPE TERM WINCH], NULL, 8) = 0 time([1149625396]) = 1149625396 rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0 ioctl(0, TIOCGWINSZ, {ws_row=37, ws_col=111, ws_xpixel=0, ws_ypixel=0}) = 0 ioctl(0, TIOCSWINSZ, {ws_row=37, ws_col=111, ws_xpixel=0, ws_ypixel=0}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioc...
2000 Jul 18
5
scp not shutting down in 2.1.1p4
Hi! as I just noted, after scp the connection does not shut down properly. When I do a "scp file targethost:path", on targethost a "sshd" process is left running. I do use --with-default-path="/usr/local/openssh/bin:/usr/bin:/usr/local/bin" to assure, that the corrensponding openssh-scp is used. It also seems, that normal sessions are not always closed properly.
2013 Apr 28
7
Pre-release 1.3.0pre4 (hopefully the last)
Hi all, I have tagged 1.3.0pre4 in git and provided a tarball here: http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre4.tar.xz I have built and tested the git tree on: linux-x86_64 openbsd5-i386 freebsd5-i386 as well as successfully cross compiling from Linux to 32 and 64 bit MinGW. As far as I am concerned, the only thing left to do for this release is to update the
2002 Feb 06
2
SFTP Status Bar..
...+foregroundproc(void) +{ + static pid_t pgrp = -1; + int ctty_pgrp; + + if (pgrp == -1) + pgrp = getpgrp(); + + return ((ioctl(STDOUT_FILENO, TIOCGPGRP, &ctty_pgrp) != -1 && + ctty_pgrp == pgrp)); +} + +int +getttywidth(void) +{ + struct winsize winsize; + + if (ioctl(fileno(stdout), TIOCGWINSZ, &winsize) != -1) + return (winsize.ws_col ? winsize.ws_col : 80); + else + return (80); +} + +void +progressmeter(off_t statbytes, off_t totalbytes, char *filename) +{ +#define STALLTIME 5 /* number of seconds before xfer assumed "stalled" */ + static const char prefixes[] =...
2020 Nov 20
0
[ANNOUNCE] xprop 1.2.5
...Nader (1): Add missing `-help` function Keith Packard (5): Make output with unknown width terminal the same as old code Free string list returned from XmbTextPropertyToTextList Correct icon buffer width computation for truecolor terminals Check return value from ioctl(TIOCGWINSZ) xprop 1.2.5 Pierre-Loup A. Griffais (5): Don't display icons if they would line-wrap. Break down memory allocation logic and fix overallocating for UTF8. Fix aspect ratio for icon display by using two characters per icon pixel. Support true color output for icons...
2013 Apr 29
0
Pre-release 1.3.0pre4 (hopefully the last)
...figure.ac. I don't have new enough autotools to test properly but applying this directly to configure fixes it. The build also dies here, CC utils.o utils.c: In function 'get_console_width': utils.c:177: error: storage size of 'w' isn't known utils.c:178: error: 'TIOCGWINSZ' undeclared (first use in this function) utils.c:178: error: (Each undeclared identifier is reported only once utils.c:178: error: for each function it appears in.) utils.c:177: warning: unused variable 'w' possible solution that returns a VIO consoles width attached. Dave ------------...
2013 May 23
2
FLAC currently won't compile for Android [bisected]
...int width = 80; -#ifdef _WIN32 +#if defined _WIN32 width = win_get_console_width(); #elif defined __EMX__ - int s[2]; - _scrsize (s); - width = s[0]; -#else + int s[2]; + _scrsize (s); + width = s[0]; +#elif !defined __ANDROID__ struct winsize w; if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) != -1) width = w.ws_col; #endif
2001 Apr 10
0
open ssl
...igcontext' declared inside parameter list /usr/include/signal.h:303: warning: its scope is only this definition or declaration, /usr/include/signal.h:303: warning: which is probably not what you want. ssh.c: In function `main': ssh.c:418: storage size of `ws' isn't known ssh.c:903: `TIOCGWINSZ' undeclared (first use in this function) ssh.c:903: (Each undeclared identifier is reported only once ssh.c:903: for each function it appears in.) make: *** [ssh.o] Error 1