site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Best of Luck.... On Jul 20, 2005, at 5:12 AM, Peter Seebach wrote: I did not think that your request was for anything as simple as a screenshot of the desktop. It is always the simplest things that befuddle us, or at least me. Er, not the desktop. The *text console*. Darwin (bravo.example.com) (console) login: zach Password: Last login: Mon Jul 18 16:59:14 from bravo.example.co Welcome to Darwin! You are using bash. bravo:~ zach$ _ This email sent to aguilarojo@verizon.net _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Hi Pete: Sometimes it's by meandering around and around that whatever one is looking for gets "zeroed in" on. You mention a few things in passing which could be, useful paths to a solution, I could be wrong as I was before also. First, (I like your comment on Unix being selective regarding who it's friends are), bash has the easy facility called "set" which when invoked from $ spills out all the variable environment settings it is using for the terminal, or console you are working from. It may not be the answer, but merely a step to it. Second, you might want to reconsider running x11. Because in it there exists a file called Xresources which itself can be opened with vim, vi or emacs. I'll assume you know how to use them as you are using Darwin to get this far in the first place. If you scroll down you'll find a list of X resource entries which control how xdm appears. The one useful to you could be Chooser*Command.font. It will spell out, in a near English as a Unix based computer can get, what exactly the font is which builds that client window. AgentM's suggestion would work but I would cat the output to a file as Terminal.app I believe is an Aqua based app. IF you output script into either the default file it creates or another or you use some of the ideas expressed in work Linux Programming Bible between pages 381-487 or other reference consider working entirely in emacs. You probably could use vi/vim, but just from what you described it sounds you'll need abilities to read hex tables and the like without hassles drawing you away from your task. You could cat what the terminal (in use by a user) or create one via something called screen then collect it's streamin to a file which you then open within emacs. Any one of these ways would work, what will matter will be the goal to which you are aiming. I'm not sure that the designers of Unix developed these character based apps with pixel collection, analysis or review in mind, what nearly 40-50 years ago? You may have to relegate yourself to hex, and really like it. In message <b09e7322321341f73c733c25bba5d815@verizon.net>, Derick Centeno write s: In short, I'm running neither X nor Aqua. I just have a prompt that says But it doesn't say it in the font my mail client uses; it uses it in a font compiled into the kernel somewhere. And I want a picture of that. I'm getting here by entering ">console" as a username to loginwindow.app. It then reactivates the pseudo-text-mode console driver (I assume it's really a framebuffer with a lot of text-scribbling code) and runs getty. -s _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/ aguilarojo%40verizon.net This email sent to site_archiver@lists.apple.com
participants (1)
-
Derick Centeno