comparison src/console-stream.c @ 4959:bd169a24a554

merge
author Ben Wing <ben@xemacs.org>
date Thu, 28 Jan 2010 04:27:30 -0600
parents 19a72041c5ed
children 16112448d484
comparison
equal deleted inserted replaced
4893:99f2102552d7 4959:bd169a24a554
192 struct device *d = XDEVICE (FRAME_DEVICE (f)); 192 struct device *d = XDEVICE (FRAME_DEVICE (f));
193 if (!NILP (DEVICE_FRAME_LIST (d))) 193 if (!NILP (DEVICE_FRAME_LIST (d)))
194 invalid_operation ("Only one frame allowed on stream devices", Qunbound); 194 invalid_operation ("Only one frame allowed on stream devices", Qunbound);
195 #endif 195 #endif
196 if (frame_name_is_defaulted) 196 if (frame_name_is_defaulted)
197 f->name = build_string ("stream"); 197 f->name = build_ascstring ("stream");
198 f->height = 80; 198 f->height = 80;
199 f->width = 24; 199 f->width = 24;
200 f->visible = 0; /* so redisplay doesn't try to do anything */ 200 f->visible = 0; /* so redisplay doesn't try to do anything */
201 } 201 }
202 202
203 203
204 static int 204 static int
205 stream_text_width (struct frame *UNUSED (f), 205 stream_text_width (struct window *UNUSED (w),
206 struct face_cachel *UNUSED (cachel), 206 struct face_cachel *UNUSED (cachel),
207 const Ichar *UNUSED (str), Charcount len) 207 const Ichar *UNUSED (str), Charcount len)
208 { 208 {
209 return len; 209 return len;
210 } 210 }
372 The initial frame object, which represents XEmacs' stdout. 372 The initial frame object, which represents XEmacs' stdout.
373 */ ); 373 */ );
374 Vterminal_frame = Qnil; 374 Vterminal_frame = Qnil;
375 375
376 /* Moved from console-tty.c */ 376 /* Moved from console-tty.c */
377 Vstdio_str = build_string ("stdio"); 377 Vstdio_str = build_ascstring ("stdio");
378 staticpro (&Vstdio_str); 378 staticpro (&Vstdio_str);
379 } 379 }
380 380
381 #ifndef PDUMP 381 #ifndef PDUMP
382 void 382 void