similar to: Output to "raw console" rather than stdout/stderr?

Displaying 20 results from an estimated 9000 matches similar to: "Output to "raw console" rather than stdout/stderr?"

2015 Feb 01
0
Output to "raw console" rather than stdout/stderr?
Why do you need this? The sink system is often specifically needed to capture such messages and display them to the user, for example in an embedded environment. Many applications would not work when you bypass the stdout/stderr set by the system. For example tools like knitr or rapache need to capture stdout to get the output and insert it in a report or webpage. If you really want to, perhaps
2001 Jul 17
1
How to write the bytes 00 01 00 to a file/connection?
Is there any way to write (8-bit) bytes to a file which works on all [R] platforms? I have been looking at 1) writeBin 2) writeChar 3) cat and neither of them manage to write arbitrary sequences of bytes (0-255). For instance, I would like to create a binary file of length three containing the bytes 0, 1 and 0. I [R] I have the following vector of bytes: bfr <- c(0,1,0) 1) For
2007 Nov 19
2
pine 4.64 with CentOS with LDAP
Hello pine 4.64 on CentOS 5 I have successfully compiled 4.64 with SSL and it works fine. However, I like to add LDAP feature. I am having trouble with compiling it with LDAP. I built the latest stable openldap-2.3.38 I did include this when I built openldap: ./configure --with-cyrus-sasl Compile process gives me these errors below. Any clue as what I may be doing wrong? Thanks, Farid
2004 Nov 16
2
win32-file: nread and nwrite
Hi all, I''ve got alpha versions of nread and nwrite now added to the win32-file class in CVS. They seem to work fine, although I''ve noticed one bug in the File#read method. Let''s say we have a text file with "hello world" in it. If I call nread with no arguments, it works fine: fh = File.nopen("C:\\test.txt") p fh.nread -> "hello
2006 May 25
1
save() saves extra stuff if object is not evaluated
Hi, it looks like save() is saving all contents of the calling environments if the object to be saved is *not* evaluated, although it is not that simple either. After many hours of troubleshooting, I'm still confused. Here is a reproducible example (also attached) with output. I let the code and the output talk for itself: peek <- function(file, from=1, to=500) {
2005 Jan 27
1
question about filter priorities and "tc -d filter show" output
The interface is setup like this: # tc qdisc del dev eth0 root # tc qdisc add dev eth0 root handle 1: htb default 2 # tc class add dev eth0 parent 1: classid 1:2 htb rate 20mbit ceil 20mbit If I add a second class and a filter to send traffic to it like this: # tc class add dev eth0 parent 1: classid 1:130 htb rate 1Mbit ceil 1Mbit # tc filter add dev eth0 protocol ip parent 1:0 prio 130 u32
2007 Oct 28
3
tc filter question
Dear all, I have big question in my mind about "tc filter" sintax. If I give "tc -s -d filter sh dev eth0" command, then the output is like below : filter parent 1: protocol ip pref 1 u32 filter parent 1: protocol ip pref 1 u32 fh 800: ht divisor 1 filter parent 1: protocol ip pref 1 u32 fh 800::800 order 2048 key ht 800 bkt 0 flowid 1:2 (rule hit 21553629 success 37907)
2007 Nov 20
3
Problem deleting tc rules
Hi all! :) I see that this is partially covered in the mailing list archive but at the moment I can''t find a straight & working answer. I have an imq device with dynamically attacched classes/qdiscs/filters. There is a hashing filter that maps the last octet of an user''s IP address to a class (and associated qdisc). The "empty" filter looks like this: filter
2014 Dec 19
2
[PATCH RFC 2/5] s390: add pci_iomap_range
On Mon, 15 Dec 2014, Michael S. Tsirkin wrote: > From: Michael S Tsirkin <mst at redhat.com> > > Virtio drivers should map the part of the range they need, not > necessarily all of it. > To this end, support mapping ranges within BAR on s390. > Since multiple ranges can now be mapped within a BAR, we keep track of > the number of mappings created, and only clear out the
2014 Dec 19
2
[PATCH RFC 2/5] s390: add pci_iomap_range
On Mon, 15 Dec 2014, Michael S. Tsirkin wrote: > From: Michael S Tsirkin <mst at redhat.com> > > Virtio drivers should map the part of the range they need, not > necessarily all of it. > To this end, support mapping ranges within BAR on s390. > Since multiple ranges can now be mapped within a BAR, we keep track of > the number of mappings created, and only clear out the
2008 May 06
4
DeviceIoControl + IOCTL_DISK_GET_DRIVE_GEOMETRY problem
Hi all, Ok, what am I doing wrong here? require ''windows/device_io'' require ''windows/handle'' require ''windows/error'' include Windows::DeviceIO include Windows::Handle include Windows::Error fh = File.open(''test.txt'') # Assume you have this handle = get_osfhandle(fh.fileno) if handle == INVALID_HANDLE_VALUE puts
2014 Sep 26
4
Patch to add buffering to decoding too
Removed buffer size increase. Only tells the filesize to Windows now. On 26.9.2014 14:08, Erik de Castro Lopo wrote: > Martijn van Beurden wrote: > >> Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently >> memory usage of FLAC decoding is about 1MB, so this patch is >> increasing memory usage tenfold, also for platforms that do not >> need this. It is a
2007 Jan 07
1
deliver rewrites envelop-sender
Hello, we are currently using sendmail, procmail, uwimap and qpopper. We are planing to replace uwimap and qpopper with dovecot. Which seems to be a very good idea :-) But: Sendmail and Procmail will not be replaced. Now I've realized that deliver rewrites existing "From <....> ..." header lines to ">From <...> ..." and adds it's own "From
2004 Nov 11
3
File.nopen alpha
Hi all, I''ve committed an alpha version of File.nopen (native open) to win32-file. This is a wrapper for CreateFile(). A quick synopsis: * File.nopen(file,access_mode,share_mode,creation_mode,flags) * * A ''native'' open method. This uses CreateFile() behind the scenes instead of * the _open() function. This allows much greater flexibility when it comes * to
2002 Jul 27
1
Patch to OpenSSH-3.4p1/monitor_mm.c for Linux 2.0
I had to modify the file monitor_mm.c to get the privledge separation to work for Linux 2.0.36 (and above) and am passing on the patch to you; if there is a better place to send this, please let me know. I've included a new #define (USE_MMAP_DEV_ZERO) to select this patch, but am not including the patch to config.h---if there's a better name for it, please, by all means, change it.
2005 Oct 17
5
TC show filter command shows all u32 filters defined with different priority iin all priority.
Hi, I am currently working on the TC. I have seen some behaviour which seems to be odd. I know someone in the mailing list would have seen this problem or may have some fix for this problem. When I try to include u32 filters with different priority or pref, I could see the filters being set on all the priority''s irrespective of the priority number. See my sample script below and the
2008 Apr 30
8
Playing with NtQueryInformationFile
Hi all, I''m trying to get the allocation size of a file via a file handle (rather than its name). The example below works for FileNameInformation but I can''t get it to work as expected for FileStandardInformation. Here''s some sample code: # query_test.rb require ''windows/handle'' require ''windows/error'' include Windows::Handle
2003 Oct 02
1
another Dovecot problem
Hi All-- First, thanks to Timo for solving my last issue. I got dovecot up and running on one of my machines, and it does exactly what I want. Now I'm trying to install dovecot on an older box (glibc 2.0.7 Linux kernel 2.0.36), and encountering some problems: -- firstly autoconf/automake does not seem to correctly deal with the madvise function on this system. It detects that we don't
2018 Oct 31
1
PATCH: Asserting that 'connection' used has not changed + R_GetConnection2()
SUMMARY: I'm proposing that R assert that 'connection' options have not changed since first created such that R will produce the following error: > fh <- file("a.txt", open = "w+") > cat("hello\n", file = fh) > close(fh) > fh2 <- file("b.txt", open = "w+") > cat("world\n", file = fh2) >
2003 Oct 31
2
tc filter oddities
I shape my upstream cable link with HTB from a script. My voip traffic (from the 192.168.0.14 host) gets priority over everything else to the near-starvation of other classes; the rest of the traffic is split up based on some priority rules (qos, empty ack packets, etc). eth1 is the uplink I''ve been using HTB and fw marking for the job until recently, when I changed the queue structure