Home
last modified time | relevance | path

Searched refs:jwin (Results 1 – 3 of 3) sorted by relevance

/titanic_50/usr/src/cmd/vi/port/
H A Dex_v.c133 struct winsize jwin; local
136 if(ioctl(0, TIOCGWINSZ, &jwin) != -1) {
138 oldlines = jwin.ws_row;
139 oldcolumns = jwin.ws_col;
142 if (columns != jwin.ws_col || lines != jwin.ws_row)
154 struct winsize jwin; in setsize() local
157 if(ioctl(0, TIOCGWINSZ, &jwin) != -1) { in setsize()
158 if (jwin.ws_col > 0) in setsize()
159 columns = jwin.ws_col; in setsize()
160 if (jwin.ws_row > 0) in setsize()
[all …]
H A Dex_temp.c122 struct winsize jwin; in cleanup() local
123 jwin.ws_row = oldlines; in cleanup()
124 jwin.ws_col = oldcolumns; in cleanup()
125 ioctl(0, TIOCSWINSZ, &jwin); in cleanup()
134 struct winsize jwin; in cleanup() local
135 jwin.ws_row = oldlines; in cleanup()
136 jwin.ws_col = oldcolumns; in cleanup()
137 ioctl(0, TIOCSWINSZ, &jwin); in cleanup()
H A Dex.c202 struct winsize jwin; in main() local
208 if (ioctl(0, TIOCGWINSZ, &jwin) != -1) { in main()
209 oldlines = jwin.ws_row; in main()
210 oldcolumns = jwin.ws_col; in main()