From owner-freebsd-questions@FreeBSD.ORG Sun Nov 24 09:40:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 51722448 for ; Sun, 24 Nov 2013 09:40:55 +0000 (UTC) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D772D2903 for ; Sun, 24 Nov 2013 09:40:54 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id n7so2168732lam.30 for ; Sun, 24 Nov 2013 01:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lXkzn2aQeOI79TKIusqQRpP4m13UXEQzj5HYGisrbZI=; b=vnpdpHaOQNMpgC5gRk5Drcr8EQzhooIolSAofnwNWfL7oO0X2nGD9/3DJ502ks5tt8 GIfXnUjkoV1IUYp6D2HZi9vhr3xkNSdDaaf/A/JW1aqmhcbJgocIMcBg7PbBG3Su4eeD iermYkY9Y1n7+yU35ls3qpR7I6T/1qJEn3d1g8Ov9XTwaSKjJhL5ywenbaQDea09G3cq EKruU+fa8mzfMLrh64UqnMpELFjlvDgkH44RKmkfRSxvuaIth8KpBBYmSCq7axSpyi9V Ct4k8mim+jbCJopZiu6oa7kGY62RE44qVnkmo5rWw0BET7s0TO4KyTzckuc5AMAAxQG3 27tQ== MIME-Version: 1.0 X-Received: by 10.152.20.227 with SMTP id q3mr78500lae.53.1385286052858; Sun, 24 Nov 2013 01:40:52 -0800 (PST) Received: by 10.112.75.227 with HTTP; Sun, 24 Nov 2013 01:40:52 -0800 (PST) Date: Sun, 24 Nov 2013 13:10:52 +0330 Message-ID: Subject: how "more" and "less" work together? From: s m To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.16 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Nov 2013 09:40:55 -0000 hello all i have freebsd9.2 and want to customize "more" functionality but i can not find any code for it; therefore i change the "less" code. now my question is how more and less work together?? i compiled my code and if i run less (which i change it) manually, it works fine, but more command doesn't use it. i put my less daemon is /usr/bin. any body knows how can i apply my changes to more command? how can i update more daemon (which is located in /usr/bin) in order to use the new less daemon? thanks in advance, SAM